Hello. I must have done something wrong at some point but now, everytime I start RStudio, I get this message:
Restarting R session...
Warning message:
package ‘ggplot2’ was built under R version 4.2.3
Error in subset(muscle_liver, tissue == "liver") :
object 'muscle_liver' not found
if I try exists(), it doesn't find it. I restarted Rstudio, uninstalled and reinstalled ggplot2, but the error is still there and it apparently keeps me from installing other ggplot2 extensions.
Can someone please help me figure out what to do? The only thing I haven't tried yet, is uninstalling and reinstalling R and Rstudio.
Please advise and thank you in advance.
At a first guess, R & Rstudio is trying to load an existing workspace that it saved earlier. Have alook in your working directory and see if something vith a .Rdata extension shows up. If so kill it. Then set up Rstudio so that it does not automatically save your previous working space. This may help.