[R] Submit a R job to a server

Mario Valle mvalle at cscs.ch
Thu Aug 27 12:05:52 CEST 2009



Bernd Bischl wrote:
> Noah Silverman wrote:
>> Deb,
>>
>> I generally run my larger R tasks on a server.
>>
>> Here is my workflow.
>>
>> 1) Write an R script using a text editor. (There are many popular ones.)
>> 2) FTP the R script to your server.
>> 3) SSH into the server
>> 4) Run R
>> 5) Run the script that you uploaded from the R process you just started.
>>
>>   
> Dear Debrata,
> 
> if this is what you mean by "submitting a job", so just login in
> remotely and starting the job manually,
> you can do what Noah suggested in a more convenient way:
> 
> - many Scp / Ftp applications allow "editing on the server", meaning you
> don't have to transfer the file after every change manually. I use a
> combination of winscp and Notepad++ normally for this.
> 
Notepad++ has an integrated ftp client very useful for this kind of things (and for
editing a web site too).

Ciao!
		mario

> - read the man pages of the unix command screen (by typing "man screen"
> on the server) to see how to get a permanent session that stays there
> for you, after you detach from it.
> 
> Be sure to test your scripts on your local system before with easy (and
> faster examples). For packages: The same requirements apply to the R on
> server as for your local system, you simply need the same packages there.
> 
> Bernd
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
> 

-- 
Ing. Mario Valle
Data Analysis and Visualization Group            | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82




More information about the R-help mailing list