[rkward-users] [rkward - Help] RE: how to exit kde without terminating rkward?

SourceForge.net noreply at sourceforge.net
Wed May 16 11:56:39 UTC 2007


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4315456
By: tfry

Hi Martin,

I'm afraid, there is no good solution to this. The key problem is that the R
engine is running in the same process as the rest of RKWard, so you can not
just "detach" the GUI from the engine. In the future, perhaps there will be
this option, but it's not going to help you much, right now.

Also, there are not too many options for optimizing the calculation after it
has been started. Apart from reniceing, you could kill some unneeded other processes,
but chances are this will not have a noticeably impact. You should be able to
kill most of the KDE-session manually, such as kdesktop, kicker, and even kwin
(don't trust me on this, though, I have not done any testing!), but I don't
think it's worth risking, since the savings should be minimal, and there is
the risk of killing something essential, after all. Switching to a console
(Ctrl+Alt+F1) may save at least some graphics operations (though I suspect,
the 4.3% CPU you get for X is mostly caused by running top).

If starting over with the calculation is an option, you should note that *some*
types of calculations may run considerably faster, if you run in a plain R,
compiled without the --enable-shlib option. Also, of course, if it's possible
to break up the calculation into chunks, that would generally be advisable.
If you could post the R code in question, we may (or may not) have some further
suggestions, on how the calculation itself could be made more efficient.

Regards
Thomas

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=165574




More information about the Rkward-users mailing list