Search code examples
rruntime-error

RStudio Error: STRING_ELT() can only be applied to a 'character vector', not a 'builtin'


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.


Solution

  • 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.