On 20.12.2007, at 20:39, Charilaos Skiadas wrote:
Yes of course, if my computer is on, then R.app is running ;) Ok, I just figured out what I was doing wrong, stupid of me. An R Console command was used instead because I was just pressing return. I was thinking this would be the trigger for the Rdaemon command. So it wasn't your code that was running at all, it was my old crappy code from the RConsole/Applescript days. Using enter instead of return, i.e. your code, things work just fine. Graphs open in x11 windows. Help is still a problem though, TM just stalls.
killing is also still a problem.
This is already fixed. If one installed CarbonEL one can use quartz().
Why not set return to be the trigger for the execute command, instead of enter?
Good question. For me, it's quite handy because I use the R console as text document AND R console, but I guess everyone can change this easliy.
Btw, a thing to consider adding is to make it so that, when on the last line, using up/down arrows moves you among the history items, like the R.app GUI does. This action has been built too much into my muscle memory by now.
Hmm... I will sleep about it whether there is an easy to implement this.
The last line is the only one not ending with a newline character, so it should be doable to detect that.
I guess this I only can do with TMTOOLS. I bind the key ARROW-UP/DOWN to tmcommand; it will detect whether there's a \n or not; if not then invoke the history stuff; BUT now it comes the big question how to send the key event MoveUp/Down to TM if there's a \n ?? Any ideas?
--HANS