Re: [R] Error message after following Appendix A R-intro

2013-10-16 Thread Pascal Oettli
Hello, The command you have to use is "lm", not "1m". Regards, Pascal On 17 October 2013 08:03, timscharlton wrote: > I am new to R and tried to go through the commands shown at App. A of > "R-intro" (p.78). > > I get the following error message. > >> fm<-1m(y~x,data=dummy) > Error: unexpected

Re: [R] Error message after following Appendix A R-intro

2013-10-16 Thread David Winsemius
On Oct 16, 2013, at 4:03 PM, timscharlton wrote: > I am new to R and tried to go through the commands shown at App. A of > "R-intro" (p.78). > > I get the following error message. > >> fm<-1m(y~x,data=dummy) > Error: unexpected symbol in "fm<-1m" In some screen fonts it's difficult to tell t

Re: [R] Error message after following Appendix A R-intro

2013-10-16 Thread Ben Tupper
Hi, On Oct 16, 2013, at 7:03 PM, timscharlton wrote: > I am new to R and tried to go through the commands shown at App. A of > "R-intro" (p.78). > > I get the following error message. > >> fm<-1m(y~x,data=dummy) > Error: unexpected symbol in "fm<-1m" I think the example shows the function

[R] Error message after following Appendix A R-intro

2013-10-16 Thread timscharlton
I am new to R and tried to go through the commands shown at App. A of "R-intro" (p.78). I get the following error message. > fm<-1m(y~x,data=dummy) Error: unexpected symbol in "fm<-1m" I suspect it might be related to the tilda. All the commands in R-intro for the tilda show it in a superscri