Bug 16684 - Unexpected Input error
Summary: Unexpected Input error
Alias: None
Product: R
Classification: Unclassified
Component: Mac GUI / Mac specific (show other bugs)
Version: R 3.2.3
Hardware: Other Other
: P5 enhancement
Assignee: Simon Urbanek
Depends on:
Reported: 2016-01-27 01:35 UTC by bseco08
Modified: 2016-02-14 09:10 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description bseco08 2016-01-27 01:35:09 UTC
I am running some simple textbooks commands which work perfectly well on windows R but are given this error when run on Mac R: rror: unexpected input in "ddd<-fuel[,"Carbon"]

I have OS X Yosemite Version10.10.5 and R 3.2.3
Comment 1 Duncan Murdoch 2016-02-14 09:10:00 UTC
This often means something has corrupted input.  For example, on a Mac the textedit application changes " to ”, which R doesn't recognize as a double quote.  The solution is to use the editor in the R GUI (or another programming editor) rather than something intended for word processing.

If that's not it, please give a reproducible example, and the output from sessionInfo() so we know which R version you're using.