On 23/12/2015 1:29 PM, Witold E Wolski wrote:
Dear List,


What I am seeking advice for is how to best package an R installation
with all the packages required?

Scenario:
I need to deliver an R script which will have quite a bit of package
dependencies, to packages which are not necessarily stable, are not on
cran and might dissapear in the near future. It should be possible to
execute the R-script without any changes during the next 3 years.


What I did look into is packrat. But if I am correct it pulls the
r-packages from cran so if a package was from somewhere else or isn't
available anymore it will fail.

what I have also found is R on an USB stick:
http://personal.bgsu.edu/~mrizzo/Rmisc/usbR.htm

Would this work?

Or is there anything on the lines of pyinstaller
(http://www.pyinstaller.org/) for R?

What OS are you targetting? If it's for Windows, there are instructions in the R Installation and Administration manual for building a custom installer.

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to