[R-SIG-Mac] Questions regarding R.app built-in-editor

johannes rara johannesraja at gmail.com
Sun Jan 17 12:13:44 CET 2010


Hello,

1. When sending function code from built-in-editor to R console (using
cmd-enter), I get this kind of results:

> exfun <- function(n) {
+   function(df)  {
Error: syntax error
>     if (nrow(df) > n) {
Error: syntax error
>       df
Error: syntax error
>     }
Error: syntax error
>   }
Error: syntax error
> }
Error: syntax error
>

How to avoid that?

2. Is there a way pre-set the size of the built-in-editor? I mean that
when starting R.app and pressing cmd-o to open editor, I want it have
a certain size in my screen.
3. When I copy-paste R code from web to built-in-editor, it preserves
the formatting of the original code. That's annoying, is there a way
to change this behaviour?

Many thanks,
-J



More information about the R-SIG-Mac mailing list