April 23, 2013
Update Feb 17, 2014: WRS moved to Github – This installation procedure has been updated and still is valid
Some users had trouble installing the WRS package from R-Forge. Here’s a method that should work automatically and fail-safe:
# 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 an additional package which provides some C functions
install.packages("devtools")
library("devtools")
install_github
("mrxiaohe/WRScpp")
# fourth: install WRS
install_github
("nicebread/WRS", subdir
="pkg")
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.
Tags: WRS