Take a look at:
R CMD INSTALL --help
and you will realize that you need to specify the library path, e.g. R
CMD INSTALL anRpackage --library=/usr/local/...
or take a look at ?install.packages and use the second argument, e.g.
install.packages('anRpackage', lib = '/usr/local/...')
Regards,
Yihu
I installed some downloaded packages in R. I always do
$sudo R CMD INSTALL
By default it is storing these packages into my directory
/home/mary/R/x86_64-pc-linux-gnu-library/2.13/.
However I want them to be systemwide into /usr/local/lib/R/site-library/
folder.
I tried
$sudo R
R> install.packa
2 matches
Mail list logo