问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/34184851/rstudio-error-string-elt-can-only-be-applied-to-a-character-vector-not-a