[R] Why do i get "Error: unexpected input in "A<-lm(GandW ~ Authocracy, Data)"

Rui Barradas ruipbarradas at sapo.pt
Sun Nov 25 15:01:45 CET 2012


Hello,

Another possibility is to use argument 'data' explicitly:

A<-lm(GandW ~ Authocracy, data = Data)


Hope this helps,

Rui Barradas
Em 25-11-2012 13:39, Barry Rowlingson escreveu:
> On Sun, Nov 25, 2012 at 12:15 PM, F86 <faradj.g at gmail.com> wrote:
>> Dear Bruno,
>>
>> I sitll get this message, even when iam using ","   Error: unexpected input
>> in "A<-lm(GandW ~ Authocracy,Data) "
>>
> You're on a Mac, you say? Try googling for "R unexpected error" - Macs
> do some crazy things:
>
> http://www.manning-sandbox.com/thread.jspa?threadID=46089
>
> try it with = instead of <-
>
>
>
>> --
>> 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.
> ______________________________________________
> 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.




More information about the R-help mailing list