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

2012-11-25 Thread F86
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

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

2012-11-25 Thread Barry Rowlingson
On Sun, Nov 25, 2012 at 12:15 PM, F86 farad...@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:

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

2012-11-25 Thread Rui Barradas
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 farad...@gmail.com wrote: Dear Bruno, I sitll get this message, even

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

2012-11-25 Thread Barry Rowlingson
On Sun, Nov 25, 2012 at 2:01 PM, Rui Barradas ruipbarra...@sapo.pt wrote: Hello, Another possibility is to use argument 'data' explicitly: A-lm(GandW ~ Authocracy, data = Data) Hope this helps, It's not going to. The line parses very nicely as written, with or without naming the

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

2012-11-25 Thread William Dunlap
[mailto:r-help-boun...@r-project.org] On Behalf Of F86 Sent: Sunday, November 25, 2012 4:16 AM To: r-help@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

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

2012-11-25 Thread F86
True it did not. I have now tried to do everything but without any results. However, a friend of mine, with PC(Linux), does the same thing and it works just perfect. -- View this message in context:

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

2012-11-25 Thread F86
Also when i type z¬1 i got the same error. My data seems to be OK without any problems. And its works perfect for a friend. -- View this message in context: http://r.789695.n4.nabble.com/Why-do-i-get-Error-unexpected-input-in-A-lm-GandW-Authocracy-Data-tp4650559p4650762.html Sent from the

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

2012-11-25 Thread Jeff Newmiller
Time for you to catch Barry's hint... the character between the z and the 1 is not valid R syntax. If your editor is creating that when you type a followed by a - then you have a problem that most of us on this list have never seen and don't know how to solve. Go ask on the Macintosh R

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

2012-11-25 Thread David Winsemius
On Nov 25, 2012, at 7:16 AM, Barry Rowlingson wrote: On Sun, Nov 25, 2012 at 2:01 PM, Rui Barradas ruipbarra...@sapo.pt wrote: Hello, Another possibility is to use argument 'data' explicitly: A-lm(GandW ~ Authocracy, data = Data) Hope this helps, It's not going to. The line parses very

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

2012-11-25 Thread F86
The file that I'm using is csv. How do i remove the non-printing ¬ character? Is there any other way to run lm() ? may be it would work with other commands Best, Faradj -- View this message in context:

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

2012-11-25 Thread F86
Yes, i have already done it, i will post it here if i find the solution. -- View this message in context: http://r.789695.n4.nabble.com/Why-do-i-get-Error-unexpected-input-in-A-lm-GandW-Authocracy-Data-tp4650559p4650773.html Sent from the R help mailing list archive at Nabble.com.

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

2012-11-25 Thread William Dunlap
-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Barry Rowlingson Sent: Sunday, November 25, 2012 5:39 AM To: F86 Cc: r-help@r-project.org Subject: Re: [R] Why do i get Error: unexpected input in A-lm(GandW ~ Authocracy, Data) On Sun, Nov 25, 2012 at 12:15 PM, F86

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

2012-11-25 Thread F86
I have solved the problem. And as i assumed from the beginning it was a simple one. The problem was that i had my csv file on the descop. It should have been in the working directory. So i just needed to read the file and then run lm() like i wrote before. Thanks to Ray DiGiacomo, Jr!

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

2012-11-23 Thread brunosm
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.

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

2012-11-23 Thread F86
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