Re: [R] Script to start Rcmdr

From: Dirk Eddelbuettel <>
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.


Three out of two people have difficulties with fractions.

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.

list of date sections of archive