Skip to content
Back to formatted view

Raw Message

Message-ID: <1D1B2ABB-407F-47DC-9154-31598729C701@dcn.davis.ca.us>
Date: 2017-06-24T13:27:50Z
From: Jeff Newmiller
Subject: Execute R codes without installing R environment
In-Reply-To: <DM5PR12MB1402AA306C5E5CDA7B6BDF50D9D80@DM5PR12MB1402.namprd12.prod.outlook.com>

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.