[R] Making R script to run in a console

2006-08-14 Thread Ronaldo Reis-Jr.
Hi, is possible to make a R script to run under a console without open the R environment? Something like this example.R #!/usr/bin/R function(name=Put here your name) { print(name) } In a console I make ./example.R name=Ronaldo Reis Júnior then program print my name. It is possible? Thanks

Re: [R] Making R script to run in a console

2006-08-14 Thread Marc Schwartz (via MN)
On Mon, 2006-08-14 at 14:12 -0300, Ronaldo Reis-Jr. wrote: Hi, is possible to make a R script to run under a console without open the R environment? Something like this example.R #!/usr/bin/R function(name=Put here your name) { print(name) } In a console I make ./example.R

Re: [R] Making R script to run in a console

2006-08-14 Thread Romain Francois
Le 14.08.2006 19:12, Ronaldo Reis-Jr. a écrit : Hi, is possible to make a R script to run under a console without open the R environment? Something like this example.R #!/usr/bin/R function(name=Put here your name) { print(name) } In a console I make ./example.R name=Ronaldo Reis

Re: [R] Making R script to run in a console

2006-08-14 Thread Alexandre Aguiar
Em Seg 14 Ago 2006 17:58, Marc Schwartz (via MN) escreveu: http://kavaro.fi/mediawiki/index.php/Using_R_from_the_shell I made a small change to the wrapper example by implementing dynamic allocation of memory and sizing the command line buffer to 32768 that is the real maximum size (at least