Page History
It works very well to move the R runtime in either Windows or Linux with the job. Then one actually runs a wrapper script to set up the runtime and place things as needed. The only moderately tricky part is handling non-included R Packages.
Though the commands are the same in both a Wiindows R developement location(One where a matching RTools is installed and R was built using those tools) the environment settings to have a local Package store found is a bit different.
I make sure that the directory RR/library exists and then I run this command and tar up the RR directory afRLIBSter:
R CMD INSTALL --preclean -l ./RR/library package.tar.gx tar -zcvf RLIBS.tar.gz RR
With windows I ship cygwin tools for tar and gzip and associated DLLs so there is some similarity between extractions by the wrapper scripts.