Reputation: 530
Upon startup in RStudio. Before doing anything I get the following error display on the console window:
Error: STRING_ELT() can only be applied to a 'character vector', not a 'raw'
I'm working on a Windows 10 OS R version 3.2.2
How can I get rid of the message? How can I identify where the source of where this error is coming from? I'm thinking it may have something to do with a previous session but I'm having trouble identifying the pattern for why this error occurs.
Upvotes: 8
Views: 16243
Reputation: 21
I had a similar error. In my case, the default Computer\HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R64\Current Version regkey was pointing to some ancient 2015 version of a Microsoft Revolution Analytics version of R. Not sure how that happened, but I updated it to point to the latest version of R in C:\Program Files\R\R-4.1.2 and all was well.
YMMV
Upvotes: 1
Reputation: 530
In RStudio I went to Session - Clear Workspace Then I went to Session - Terminate R Then I went to Session - Restart R
Then I closed the program and restarted it. Some how that fixed the issue.
Upvotes: 6