RStudio blows up

I am able to reliably blow-up RStudio with just a few lines. I am running RStudio 2023.06.1+524 "Mountain Hydrangea" and R version 4.3.1 (2023-06-16 ucrt) on a Windows 10 machine.

First I created the following script.

# badSource.R
"3" + "4"

Then in the consol I wrote

q <- function(){source("badSource.R")}
q()

I get a message

Save workspace image to C:/Users/Dick/Desktop/catchSourceError/.RData? [y/n]: 

I enter n and RStudio dies. Done it four times now.

q() is the command to exit R.

Use a different name for your function.

2 Likes

Oh gawd. How can I have done that? :crazy_face:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.