Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy R script in a portable usb form

I have an R script which I want to deploy so that it's idiot-proof, one click runs it etc. Unfortunately I don't have the means to pay for a server, and the environment in which it needs to run does not allow the installation of new software, only portable style apps can be run. (School computers) My script also relies on several non-base packages.

Is there any way to deploy R and my script in an easy to run way so it can be used off a usb stick?

like image 838
N. McA. Avatar asked Oct 31 '12 23:10

N. McA.


2 Answers

You can install R on a USB drive and use it on any computer running the same OS. If you're using Windows, see question 2.6 of the R for Windows FAQ.

like image 84
Joshua Ulrich Avatar answered Oct 12 '22 02:10

Joshua Ulrich


If you made the USB stick a bootable disk environment (say linux) with R installed on it, you could boot off it and do it that way.

like image 25
Ray Avatar answered Oct 12 '22 02:10

Ray