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

Federico Calboli f.calboli at imperial.ac.uk
Thu Dec 6 15:06:09 CET 2012


On 25 Nov 2012, at 20:01, Faradj Koliev <faradj.g at gmail.com> wrote:

> Every time i insert : A<-lm(GandW ~ Authocracy;Data) i get this error: Error: unexpected input in "A<-lm(GandW ~ Authocracy,Data)" 

A<-lm(GandW ~ Authocracy;Data) is wrong, you are using ;

You should be writing A<-lm(GandW ~ Authocracy,Data), i.e. with a comma.

BW

F



> 
> 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, and its works for him. 
> I have now tried many things but without any results. 
> 
> 
> Thanks for help! 
> 
> Stockholm university 
> 
> Faradj
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac


--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com



More information about the R-SIG-Mac mailing list