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

David Winsemius dwinsemius at comcast.net
Thu Oct 17 03:22:07 CEST 2013


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 the difference between a "1" and an "l". You have type 1m thinking it was lm.


> 
> I suspect it might be related to the tilda.

No.

>  All the commands in R-intro for
> the tilda show it in a superscript postion. From my keyboard I only have the
> option as shown above.  
> 
> Any help would be much appreciated.
> 
> Tim
> 
> 
-- 
David Winsemius
Alameda, CA, USA



More information about the R-help mailing list