Hi,

On Oct 16, 2013, at 7:03 PM, timscharlton <tcharl...@aquafirma.com.au> 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 'lm', which is an acronym for 'linear 
model', not '1m', which is an acronym 'one melon'. 
  
Cheers,
Ben

> 
> I suspect it might be related to the tilda.  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
> 
> 
> 
> --
> View this message in context: 
> http://r.789695.n4.nabble.com/Error-message-after-following-Appendix-A-R-intro-tp4678394.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help@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.

Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org

______________________________________________
R-help@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.

Reply via email to