Re: [R] Script to start Rcmdr

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Mon, 03 Mar 2008 08:55:52 -0600

On Mon, Mar 03, 2008 at 10:13:53AM -0300, Ronaldo Reis Junior wrote:
> Hi,
>
> anybody know any way to make a bash script to start Rcmdr directly widthout
> need to open R and execute library(Rcmdr)?
>
> I try to make this using R CMD BATCH somethink, but dont find the way.

$ r -lRcmdr -e'while(TRUE) Sys.sleep(1)'

where r is the binary from our littler tool. This loads the Rmcdr package with the -l | --library switch abnd then evals a simple loop to keep running. You need to kill that loop with Crtrl-c at the end.

Dirk

-- 
Three out of two people have difficulties with fractions.

______________________________________________
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.
Received on Mon 03 Mar 2008 - 14:58:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 03 Mar 2008 - 15:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive