Justin Klevs
Justin Klevs

Reputation: 651

R starts up with error message

I am asking this question out of curiosity. I have noticed that whenever I boot R, the instance starts up with this error message enter image description here

As you can see, R boots with the error message "object 'a' not found" Is there any reason for this?

Upvotes: 0

Views: 80

Answers (1)

Konrad Rudolph
Konrad Rudolph

Reputation: 545628

R reads and executes several files at startup, most prominently the ~/.Rprofile file (That is, the file .Rprofile in your home directory). Check these files to see if they contain anything weird.

You can quickly check whether .Rprofile is the culprit by running R with the --vanilla command line argument: this argument prevents the user profile to be read, thus the error should vanish.

Upvotes: 2

Related Questions