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

David Nelson davidonelson at mac.com
Sun Mar 11 00:46:42 CET 2012


Simon,

Well, it looks like the R.app editor has made tremendous strides since I last looked at it (e.g., nice indenting that conforms to the ESS C++ style, etc.).
Can I infer from  your email that there is some .Rnw support as well?

If so, aside from platform independence, it looks like there's less and less of a reason to stick to emacs-ess.

Can you point us to the Sweave/Tangle documentation for the R.app editor?

Thanks,

dave

On Mar 10, 2012, at 11:35 AM, Simon Urbanek wrote:

> 
> On Mar 10, 2012, at 12:41 PM, Kent Manley wrote:
> 
>> Mamush,
>> 
>> I might also suggest that you might like to try RStudio, which is an integrated development environment. Furthermore, you might want to look around at TexShop, which can be easily integrated with Sweave/Tangle facilities. And also TextWrangler, which is free text editor (for working on your .r files) also has script integration which allows you to cntl+enter to send text to the R cmd interpreter and display the results.
>> 
> 
> Well, the integrated editor in the R.app allows exactly that (the others are usually trying to copy it) and supports R code, Rd files etc. It is the canonical way to work with R,  so it is beyond me why people would suggest millions of different external apps while R has all you need. I can understand if people used to those apps prefer them to R (e.g I sometimes use emacs instead because I'm used to it), but for a new user I would not require them to learn so many new tools.
> 
> Cheers,
> Simon
> 
> 
>> There are a couple of papers you should look for using Google (it took a while, but I located it on my Mac, too): Learning to Sweave in APA style was very helpful, as was Choosing Your Workflow Applications by Keiran Healey.
>> 
>> Kent
>> 
>> On Mar 10, 2012, at 7:02 AM, 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?
>>> 
>>> 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
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
>> 
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list