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@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.

Reply via email to