Every time i insert : A<-lm(GandW ~ Authocracy;Data) i get this Error. Iam using Mac. And i have checked that "Data" has been read correctly. The same command with the same Data has been used by a friend who is using Linux. Thanks for help! Stockholm university Faradj -- View this message in context: http://r.789695.n4.nabble.com/Why-do-i-get-Error-unexpected-input-in-A-lm-GandW-Authocracy-Data-tp4650559.html Sent from the R help mailing list archive at Nabble.com.
Why do i get "Error: unexpected input in "A<-lm(GandW ~ Authocracy, Data)"
4 messages · brunosm, Faradj Koliev, William Dunlap
Use "," instead of ";" It should work now... Regards, Bruno -- View this message in context: http://r.789695.n4.nabble.com/Why-do-i-get-Error-unexpected-input-in-A-lm-GandW-Authocracy-Data-tp4650559p4650566.html Sent from the R help mailing list archive at Nabble.com.
1 day later
Dear Bruno, I sitll get this message, even when iam using "," Error: unexpected input in "A<-lm(GandW ~ Authocracy,Data)" -- View this message in context: http://r.789695.n4.nabble.com/Why-do-i-get-Error-unexpected-input-in-A-lm-GandW-Authocracy-Data-tp4650559p4650720.html Sent from the R help mailing list archive at Nabble.com.
I see the character (octal) 021 at the end of that error message (when I save it as *.txt file from wordpad). Error: unexpected input in "A<-lm(GandW ~ Authocracy,Data) " Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of F86 Sent: Sunday, November 25, 2012 4:16 AM To: r-help at r-project.org Subject: Re: [R] Why do i get "Error: unexpected input in "A<-lm(GandW ~ Authocracy, Data)" Dear Bruno, I sitll get this message, even when iam using "," Error: unexpected input in "A<-lm(GandW ~ Authocracy,Data)" -- View this message in context: http://r.789695.n4.nabble.com/Why-do-i-get-Error- unexpected-input-in-A-lm-GandW-Authocracy-Data-tp4650559p4650720.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.