[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-mac
Subject:    [R-SIG-Mac] Questions regarding R.app built-in-editor
From:       johannes rara <johannesraja () gmail ! com>
Date:       2010-01-17 11:13:44
Message-ID: f49fcd831001170313i39c87c06gdb649873bdcdb4af () mail ! gmail ! com
[Download RAW message or body]

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

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic