Closed venpopov closed 6 months ago
How do you get out of a console from a session you attached (in general)?
Press CTRL+C, or the stop button in RStudio.
In this case, after having typed q() and my console is unresponsive, what can I do to get back to my original session and console? I am currently running a few background jobs in this Rstudio session, so if I restart the session I will loose the jobs (they've been running for 40ish hours...)
Press CTRL+C, or the stop button in RStudio.
Neither of these work. There is no red button like usual and ctrl+c has no effect unfortunately
On Mon, Apr 15, 2024, 4:54 PM Gábor Csárdi @.***> wrote:
How do you get out of a console from a session you attached (in general)?
Press CTRL+C, or the stop button in RStudio.
In this case, after having typed q() and my console is unresponsive, what can I do to get back to my original session and console? I am currently running a few background jobs in this Rstudio session, so if I restart the session I will loose the jobs (they've been running for 40ish hours...)
Press CTRL+C, or the stop button in RStudio.
— Reply to this email directly, view it on GitHub https://github.com/r-lib/callr/issues/281#issuecomment-2057057675, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBRCCWSGABY2752BB7NBALY5PS2BAVCNFSM6AAAAABGHP5OQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGA2TONRXGU . You are receiving this because you authored the thread.Message ID: @.***>
If it's relevant, this is in rstudioserver via a browser
Try pressing ESC
while the console is active. How do you usually interrupt a command?
ESC
worked, thank you! I usually interrupt with ctrl+c, and didn't occur to me to try esc when that failed.
I ran this code:
which opened an interactive console within the external session. I tested a bit, and typed q() to exist it, which I guess was a mistake, as now my console is completely non-responsive:
Two questions: