[R] Running R in Server

Loris Bennett loris.bennett at fu-berlin.de
Thu Aug 20 08:50:27 CEST 2015


Swagato Chatterjee <swagato1987 at gmail.com> writes:

> *@Loris: However, you'll probably have to make sure that all the packages
> you*
> *need are installed on the server.*
>
> This is where I need a help.​

Presumably the program 'cron' will be used to run your script.  If the
program is run as root, you will have to ask the admin of the server to
install the packages you need.  If you have a cron entry for your user
on the server, you can simply start R and install the packages in your
home directory with

install.packages(c("pkg1", "pkg2"))

Note that this could fail if your server is behind a firewall and unable
to access a CRAN mirror.

HTH

Loris
-- 
This signature is currently under construction.



More information about the R-help mailing list