mauede at alice.it
2009-Jul-31 15:15 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
When I need to stop a running R script on Windows or Mac I just use the <esc> key which kills the current script and returns the control to R interpreter. But when I run R from JGR the <esc> is useless as well as the other available keyboard keys. Just recently not even clicking on the STOP-symbol (a big red X) placed on JGR top menu bar could terminate a process that had entered a long loop. Eventually I could kill the process from bash comman line using # kill -KILL <process-id> I wonder whether there is a more gentle way to stop an R script running on top of JGR aother than ... unplugging the power cord. Thank you so much, Maura .html?pmk=footer> [[alternative HTML version deleted]]
Bernd
2009-Jul-31 21:50 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
> I wonder whether there is a more gentle way to stop an R script running on top of JGR aother than ... unplugging the power cord. >there must be a bug in JGR on Lunux. Clicking the stop button should stop the script, clicking it here on my linux machine will immediately crash R together with JGR altogether. Unfortunately JGR still seems to be the best (and only) available shell/editor combination available. When running R in an ordinary terminal window execution can be terminated with <CTRL>-C I hope they will soon fix this (and a small handfull of other bugs/flaws, mostly missing/wrong keyboard shortcuts) and JGR would make a huge step from "very good" to "excellent" Bernd
Bernd Kreuss
2009-Aug-01 10:40 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
mauede at alice.it wrote:> I wonder whether there is a more gentle way to stop an R script running on top of JGR aother than ... unplugging the power cord.there must be a bug in JGR on Lunux. Clicking the stop button should stop the script, clicking it here on my linux machine will immediately crash R together with JGR altogether. Unfortunately JGR still seems to be the best (and only) available shell/editor combination available. When running R in an ordinary terminal window execution can be terminated with <CTRL>-C I hope they will soon fix this (and a small handfull of other bugs/flaws, mostly missing/wrong keyboard shortcuts) and JGR would make a huge step from "very good" to "excellent" Bernd
Bernd Kreuss
2009-Aug-01 11:00 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
sorry for the eventual double posting, but i got a strange error from a versatel(???) server about not enough quota when replying to the message
Liviu Andronic
2009-Aug-01 20:13 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
Hello, On 7/31/09, mauede at alice.it <mauede at alice.it> wrote:> When I need to stop a running R script on Windows or Mac I just use the <esc> key which kills the current script and returns the control to R interpreter. > But when I run R from JGR the <esc> is useless as well as the other available keyboard keys. >This issue was addressed in a recent discussion [1]. Liviu [1] http://mailman.rz.uni-augsburg.de/pipermail/stats-rosuda-devel/2009q2/001106.html
Bernd Kreuss
2009-Aug-02 13:57 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
> This issue was addressed in a recent discussion [1]. > Liviu > > [1] http://mailman.rz.uni-augsburg.de/pipermail/stats-rosuda-devel/2009q2/001106.htmlI would like to add a few points to this list, some of them I personally find even more annoying then some of them mentioned there: - add the keyboard shortcuts <shift>-<del> and <shift>-<ins> for the actions "cut" and "paste" as an alternative to <ctrl>-x and <ctrl>-c to make it compliant with CUA and behave like virtually every other editor in existance. (this is my most important concern, i use it all the time when moving rearranging lines, being used to eclipse, SciTE, Kate, even MS-Word, OpenOffice or notepad on windows, everytime i try to cut/paste I already have a finger of the left hand on the shift-key (from selecting the text) and it takes one or two seconds to realize that the intended shortcut is missing and then move both hands to find the other two keys on the keyboard) - change the keyboard shortcuts for block-indent and block-dedent to the more commonly used <tab> and <shift>-<tab> - remove the restriction of a minimal window size for the console window, allow the user to resize it as small as he wants. - add a shortcut for "run all", this is the only menu item without shortcut. <F5> would be a good choice as some other widely used editor/shell combinations for other languages have similar functionality on that key too (SciTE, IDLE, etc.), it seems to be some kind of standard too. Bernd
Bernd Kreuss
2009-Aug-02 14:24 UTC
[R] How to stop an R script when running JGR on a Linux/SuSE system
Bernd Kreuss wrote:> I would like to add a few points to this list [...]I would even make the changes on my own (i probably would already have done it) and supply patches if i only could find any hint on how to build JGR from sources. (where to place the source files, what command to start the build process and where to copy which files after successful built to test them) So this is another point on my list: write a small howto on how to participate in development. Bernd
>>>>> "BK" == Bernd Kreuss <prof7bit at googlemail.com> >>>>> on Sat, 01 Aug 2009 12:40:45 +0200 writes:BK> mauede at alice.it wrote: >> I wonder whether there is a more gentle way to stop an R >> script running on top of JGR aother than ... unplugging >> the power cord. BK> there must be a bug in JGR on Lunux. Clicking the stop BK> button should stop the script, clicking it here on my BK> linux machine will immediately crash R together with JGR BK> altogether. Unfortunately JGR still seems to be the best BK> (and only) available shell/editor combination available. not at all! How much is available depends on the platform, but the first one that has been available for all platforms, even before R existed, is ESS ( http://ess.r-project.org/ ), an acronym for "Emacs Speaks Statistics". But there are quite a few others (I do not really know from personal experience), see, e.g., all the projects (listed on the left hand side) of http://www.r-project.org/GUI [...........] BK> Bernd Martin Maechler, ETH Zurich
Martin Maechler wrote:> But there are quite a few others (I do not really know from > personal experience), see, e.g., > all the projects (listed on the left hand side) of > http://www.r-project.org/GUI > >I personally can recommend rkward which is now available on many platforms and which is probably a little easier to use than the mighty emacs+ESS. rkward: http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Main_Page Regards Stefan