Paul,

Thanks, that would all seems to make sense. And yes it does seem a nice environment, which played a small part in my decision to buy a Mac.

Graham

On 20/02/2008, Paul McCann <paul.mccann@adelaide.edu.au> wrote:
Hi Graham,
 
However, I am not at all sure what to do with the other two files (Rdaemon and R,app) as these don't unzip to bundle files.

Fair enough! Looks like those other files *are* zip files but lacked the extension. To get the Rdaemon version running rename "R" to "R.zip" and then double click it. You should see

R Console (Rdaemon).tmbundle

which can then be double clicked to add it to TextMate.

Now open a new file, change the language to "R Console (Rdaemon)" from the selector at the bottom of the window. Type

start[tab]

and the daemon should start. There might be a small bug here in that you'll see two ">" signs. Just delete one of them and begin to enter R commands as you would in the console.
 
If I type "test<-c(3,4, 6, 7, 8, 9, 10)" in TextMate and hit command R, An R runtime opens and the command is executed and this line appears in the runtime.

I would now expect to type "test" in Textmate, hit command R again and get something like:

> test
[1]  3  4  6  7  8  9 10

This should now work as you expect. It's a really nice environment!

Good luck,
Paul



______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate