[R] Pausing R

2009-10-19 Thread Anders Carlsson
Hello, I’m currently running a script that takes several days to complete, and have therefore chosen to start two instances of R, each doing half the work (since I have a two-processor machine). The problem is that this renders my computer worthless to do other work on. So - is it possible to

Re: [R] Pausing R

2009-10-19 Thread Duncan Murdoch
On 10/19/2009 7:45 AM, Anders Carlsson wrote: Hello, I’m currently running a script that takes several days to complete, and have therefore chosen to start two instances of R, each doing half the work (since I have a two-processor machine). The problem is that this renders my computer

Re: [R] Pausing R

2009-10-19 Thread Peter Dalgaard
Anders Carlsson wrote: Hello, I’m currently running a script that takes several days to complete, and have therefore chosen to start two instances of R, each doing half the work (since I have a two-processor machine). The problem is that this renders my computer worthless to do other work on.

Re: [R] Pausing R

2009-10-19 Thread Anders Carlsson
Peter Dalgaard wrote: Anders Carlsson wrote: Hello, I’m currently running a script that takes several days to complete, and have therefore chosen to start two instances of R, each doing half the work (since I have a two-processor machine). The problem is that this renders my computer

Re: [R] Pausing R

2009-10-19 Thread Rainer M Krug
On Mon, Oct 19, 2009 at 2:40 PM, Anders Carlsson anders.carls...@immun.lth.se wrote: Peter Dalgaard wrote: Anders Carlsson wrote: Hello, I’m currently running a script that takes several days to complete, and have therefore chosen to start two instances of R, each doing half the work

Re: [R] Pausing R

2009-10-19 Thread Karl Ove Hufthammer
In article fb7c7e870910190551i5fb96074t76f2c800e3e5cf33 @mail.gmail.com, r.m.k...@gmail.com says... I am not - I am using Linux. Just for interests sake: how can I pause a task in Linux? If you start the application using the command line, just press 'Ctrl + Z' to pause/suspend it. Then type

Re: [R] Pausing R

2009-10-19 Thread Rainer M Krug
On Mon, Oct 19, 2009 at 3:01 PM, Karl Ove Hufthammer k...@huftis.org wrote: In article fb7c7e870910190551i5fb96074t76f2c800e3e5cf33 @mail.gmail.com, r.m.k...@gmail.com says... I am not - I am using Linux. Just for interests sake: how can I pause a task in Linux? If you start the application

Re: [R] Pausing R

2009-10-19 Thread Barry Rowlingson
On Mon, Oct 19, 2009 at 2:01 PM, Karl Ove Hufthammer k...@huftis.org wrote: If you start the application using the command line, just press 'Ctrl + Z' to pause/suspend it. Then type 'fg' when you want to resume it. If you can't get to the command line where you started R, then you can send

Re: [R] Pausing R

2009-10-19 Thread Rainer M Krug
On Mon, Oct 19, 2009 at 3:21 PM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: On Mon, Oct 19, 2009 at 2:01 PM, Karl Ove Hufthammer k...@huftis.org wrote: If you start the application using the command line, just press 'Ctrl + Z' to pause/suspend it. Then type 'fg' when you want to

Re: [R] Pausing R

2009-10-19 Thread Karl Ove Hufthammer
In article d8ad40b50910190621t6389411bq9953a271f3ec8...@mail.gmail.com, b.rowling...@lancaster.ac.uk says... If you can't get to the command line where you started R, then you can send the process the 'STOP' and 'CONT' signals using the 'kill' command. You need to get the process ID (see man