[R-SIG-Mac] how to open R commands from a separate file and execute them

Federico Calboli f.calboli at imperial.ac.uk
Sat Mar 10 14:58:55 CET 2012


On 10 Mar 2012, at 12:02, mamush bukana wrote:

> Dear list,
> I am new for mac. I used to write R commands, save them as a separate file
> form "file.R ", execute the commands from the file just pressing Ctrl+R,
> save plots in "file.eps" format...... But I can't enjoy all this simple
> tasks in my new macbook pro. Is mac the worst system for R users?

Inquiring minds would like to ask, why did you change computer then?

R.app has a command editor, and the function source() sources R scripts (i.e. stuff like your file.R).

A good dose of RTFM will help, too.

BW

F


> 
> Any help will be very appreciated.
> 
> Mamush
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com



More information about the R-SIG-Mac mailing list