# package R.basic

I would like to use the fuction weighted.median() in package R.basic (and some other ones too, although this one is most important).

install.packages("R.basic")


gives me:

package ‘R.basic’ is not available


and

library(R.basic)


says

Error in library("R.basic") : there is no package called 'R.basic'


install.packages("~/Documents/R.classes_0.62.tar.gz", CRAN=NULL)


Gives

Error in do_install(pkg) :
this seems to be a bundle -- and they are defunct
Warning message:
In install.packages("~/Documents/R.classes_0.62.tar.gz",  :
installation of package '~/Documents/R.classes_0.62.tar.gz' had non-zero exit status


How to get thru ?

-

That's because the package doesn't exist on CRAN (see the package list). It may have failed a build in a recent version of R.

You can install it directly from the author's site like so:

install.packages(c("R.basic"), contriburl="http://www.braju.com/R/repos/")