# Installation of WRS package (Wilcox’ Robust Statistics)

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

**Nicebread » R**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Some users had trouble installing the WRS package from R-Forge. Here’s a method that should work automatically and fail-safe:

^{?}View Code RSPLUS

# first: install dependent packages install.packages(c("MASS", "akima", "robustbase")) # second: install suggested packages install.packages(c("cobs", "robust", "mgcv", "scatterplot3d", "quantreg", "rrcov", "lars", "pwr", "trimcluster", "parallel", "mc2d", "psych", "Rfit")) # third: install WRS install.packages("WRS", repos="http://R-Forge.R-project.org", type="source") |

WRS cannot be hosted on CRAN, as CRAN demands help files for every user-visible function. This has not been done for WRS (yet). For the time being, this somewhat more complicated installation routine has to be used.

To

**leave a comment**for the author, please follow the link and comment on their blog:**Nicebread » R**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.