[TxMt] problem with R interaction [was math bundle feature request]
Hans-Joerg Bibiko
bibiko at eva.mpg.de
Fri Dec 8 22:05:58 UTC 2006
>
> But I looked at the R-Bundle and I wrote a command (in bash) which
> executes R directly in script mode à la
>
> R --no-save --silent <<< "$TASK" 2>/dev/null
> [...]
Here is an improved version.
Changes:
- do not insert a NEWLINE after the selection
- if the result is complex meaning two or more lines the output is the
same like in R; now you can insert e.g. this 'matrix(c(1:20),nrow=4)'
correctly or if you want '?print'
-Hans
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Calculate in R.tmCommand.zip
Type: application/zip
Size: 879 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061208/bb486243/attachment.zip>
More information about the textmate
mailing list