[R] question about using a remote system

Greg Snow Greg.Snow at imail.org
Thu May 28 17:07:35 CEST 2009


Will R be able to send one batch of commands to the remote machine, then wait for the output?  Or will there be back and forth with new commands based on the output from the first commands?

You may want to look at the nws package for one way to have jobs run on a remote machine.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Erin Hodgess
> Sent: Thursday, May 28, 2009 6:56 AM
> To: Mark Wardle
> Cc: R help
> Subject: Re: [R] question about using a remote system
> 
> My goal is for a user to sit down at a Linux laptop, get to an Rcmdr
> type screen, submit jobs on a remote system and then get the results
> back in R.
> 
> We will assume that the user is naive, and the only thing he/she can
> do is get to the Rcmdr screen.
> 
> The Rcmdr plugin will have a "submit jobs" menu.  The user presses
> that option, and gets results, without having to know the "underside".
> 
> thanks,
> Erin
> 
> On Thu, May 28, 2009 at 1:54 AM, Mark Wardle <mark at wardle.org> wrote:
> > Hi.
> >
> > Do you need an interactive session at the remote machine, or are you
> > simply wanting to run a pre-written script?
> >
> > If the latter, then you can ask ssh to execute a remote command,
> which
> > conceivably could be "R CMD xxxxx"
> >
> > If you explain exactly why and what you are trying to do, then
> perhaps
> > there's a better solution....
> >
> > bw
> >
> > Mark
> >
> > 2009/5/28 Erin Hodgess <erinm.hodgess at gmail.com>:
> >> Dear R People:
> >>
> >> I would like to set up a plug-in for Rcmdr to do the following:
> >>
> >> I would start on a Linux laptop.  Then I would log into another
> >> outside system and run a some commands.
> >>
> >> Now, when I tried to do
> >> system("ssh erin at xxx.edu")
> >> password xxxxxx
> >>
> >> It goes to the remote system.  how do I continue to issue commands
> >> from the Linux laptop please?
> >>
> >> (hope this makes sense)
> >>
> >> thanks,
> >> Erin
> >>
> >>
> >> --
> >> Erin Hodgess
> >> Associate Professor
> >> Department of Computer and Mathematical Sciences
> >> University of Houston - Downtown
> >> mailto: erinm.hodgess at gmail.com
> >>
> >> ______________________________________________
> >> 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.
> >>
> >>
> >
> >
> >
> > --
> > Dr. Mark Wardle
> > Specialist registrar, Neurology
> > Cardiff, UK
> >
> 
> 
> 
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
> 
> ______________________________________________
> 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.




More information about the R-help mailing list