Using quit inside a function in R studio gives a fatal error

Asked By 0 points N/A Posted on -
qa-featured

Hi All,

I came across this peculiar behaviour of R studio when I tried using q or quit inside a function. When R studio has to deal with such a function, it causes a fatal error as shown in the attached screenshot of the error. But the same function in rgui cause R studio to stop as expected. And similarly using just q () in R studio closes R. It beats me how can q in a function alone cause R studio to crash? I am curious to know if anyone can replicate this issue. Please can anyone give me ideas as to what might be the reason for this error? Thanks in advance.

R Session Aborted

R encountered a fatal error.

The session was terminated

SHARE
Answered By 0 points N/A #179761

Using quit inside a function in R studio gives a fatal error

qa-featured

Hello There,

Very annoying problem though, but to start analyzing, we first need to ensure whether this is a regular problem or we do face it because of certain scenarios.

If this happens every time you use R studio, then you can try to reset RStudio's state following directions

Click the following Link

This ideally should resolve the issue (as per official support). But if it still exists, we may need to reach support team with details

Related Questions