Thanks Don Sent from my iPhone
On 2 Dec 2009, at 06:16, "Don MacQueen [via R]" <ml-node+932807-1151149...@n4.nabble.com > wrote: > If myscript.r has as its first line: > > #! /usr/bin/Rscript > > and you make it executable > chmod +x myscript.r > > Then you can run it by giving the command > > ./myscript.r > > > -Don > > At 3:03 PM -0800 11/30/09, chronos.phenomena wrote: > > >Thanks... that worked > > > >is there a way to run r script? > > > >for example open -n /Applications/R.app myscript.r > > > > > >when I use this syntax... I get my script file opened but not > executed :( > > > >Thanks in advance > > > > > > > >Ken Knoblauch wrote: > >> > >> chronos.phenomena <chronos.phenomena <at> gmail.com> writes: > >> > >>> > >>> > >>> This is really annoying me... when I click R application icon > it brings > >>> already opened session in the focus and it DOESN'T open new > session.... > >>> > >>> any ideas? > >> > >> In Leopard from a terminal, you can try > >> > >> open -n /Applications/R.app > >> > >> to open as many copies of the app as you like. Be careful though, > >> because these inherit environment variables from the terminal > >> session, not necessarily the same as those when running the > >> app from the Finder. I was bitten by that the first time I > >> tried this. > >> > >> Ken > >> > >> -- > >> Ken Knoblauch > >> Inserm U846 > >> Stem-cell and Brain Research Institute > >> Department of Integrative Neurosciences > >> 18 avenue du Doyen Lépine > >> 69500 Bron > >> France > >> tel: +33 (0)4 72 91 34 77 > >> fax: +33 (0)4 72 91 34 61 > >> portable: +33 (0)6 84 10 64 10 > >> http://*www.*sbri.fr/members/kenneth-knoblauch.html > >> > >> ______________________________________________ > >> [hidden email] 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. > >> > >> > > > >-- > >View this message in context: > >http://*n4.nabble.com/How-do-I-run-to-or-more-R-consoles-on-Mac-OS-X-tp930979p931723.html > >Sent from the R help mailing list archive at Nabble.com. > > > >______________________________________________ > >[hidden email] 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. > > > -- > --------------------------------- > Don MacQueen > Lawrence Livermore National Laboratory > Livermore, CA, USA > 925-423-1062 > [hidden email] > > ______________________________________________ > [hidden email] 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. > > > View message @ > http://n4.nabble.com/How-do-I-run-to-or-more-R-consoles-on-Mac-OS-X-tp930979p932807.html > To unsubscribe from Re: How do I run to or more R consoles on Mac OS > X?, click here. > -- View this message in context: http://n4.nabble.com/How-do-I-run-to-or-more-R-consoles-on-Mac-OS-X-tp930979p932846.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ 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.