[R] Execute R codes without installing R environment

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Sat Jun 24 15:27:50 CEST 2017


1) Producing a zip file most likely means you put your code in a package. This can be a useful thing to do,  but it most definitely does not create a standalone executable. 

3) You have not communicated your goal clearly. Many people want to treat R on a server as a remote compute resource... you might want to look at the OpenCPU project if that is your goal. Alternatively,  using ssh to remotely invoke R at the command line using the parallel package is well supported on Unix-ish operating systems, but that can be more tricky on a Windows server and requires that R be installed.  Other people want to log on to their server gui and run code interactively because the server has more RAM/CPU cores/disk space... for that you also need to get R installed first.  These options definitely involve the assistance of your sysadmin. If you are trying to get R running without that assistance there are portable installs of R, but you still need the approval of your sysadmin. 
-- 
Sent from my phone. Please excuse my brevity.

On June 23, 2017 12:26:49 PM PDT, xianda deng <dengxianda2007 at hotmail.com> wrote:
>Hi,
>
>
>I have some issues with running R in our server and hope you would like
>to help me.
>
>
>My Target: Running R codes without installing R environment in our
>server. Server OS: windows
>
>
>my attempts: I tried to build the R codes into a Binary package with R
>studio, but I don't how to execute the binary package(*.zip file).
>
>
>My questions:  1. Is this a correct solution, which builds the R codes
>into a binary file, to run a R codes without installing R environment?
>
>2. If answer for question 1 is yes, how should I execute or call the R
>script?
>
>                            3. Is any another way to achieve my goal?
>
>
>Thanks!
>
>
>Sincerely
>
>
>Daniel
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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.



More information about the R-help mailing list