Re: [R] open script file from command line

2010-02-05 Thread Charlie Sharpsteen
> > >> On Linux and Unix machines, such as OS X, a the following hashbang line > could be added to the top of the script: > > #!/usr/bin/env Rscript > > Then the script can be run from a terminal using: > > cd path/to/script/files > I forgot to mention that in order to use the hashbang method

Re: [R] open script file from command line

2010-02-05 Thread Charlie Sharpsteen
On Thu, Feb 4, 2010 at 4:53 PM, Wade Wall wrote: > Hi all, > > Is there a function to open a script file from the command line? I have > several students who are Mac users and when they open up a script file it > does not send commands to the console, and unfortunately I don't know how > to > so

Re: [R] open script file from command line

2010-02-04 Thread David Winsemius
On Feb 4, 2010, at 7:53 PM, Wade Wall wrote: Hi all, Is there a function to open a script file from the command line? I have several students who are Mac users and when they open up a script file it does not send commands to the console, and unfortunately I don't know how to solve this

Re: [R] open script file from command line

2010-02-04 Thread Wade Wall
Does somebody need a lollipop? By the way, I entered this whole sentence using my mouse without once touching the keyboard. Seriously, I appreciate you taking the time to answer my question. Have a great day, Wade On Thu, Feb 4, 2010 at 8:06 PM, Rolf Turner wrote: > > On 5/02/2010, at 1:53 P

Re: [R] open script file from command line

2010-02-04 Thread Rolf Turner
On 5/02/2010, at 1:53 PM, Wade Wall wrote: > Hi all, > > Is there a function to open a script file from the command line? I have > several students who are Mac users and when they open up a script file it > does not send commands to the console, and unfortunately I don't know how to > solve thi