[R] HEEELP!!!!

David Winsemius dwinsemius at comcast.net
Tue Nov 10 19:48:26 CET 2009


On Nov 10, 2009, at 11:24 AM, Ana María Prieto wrote:

> Hello.
> My name is Ana. I´m doing an eology master, and I´m just learning  
> how R
> works.
> I have a Mac OS X 10.5.6, and I´m tryng to run just a simple ANOVA
> nanalyses.
> I dowloaded R version 2.10.0, and it seems I have problems with the  
> script.
> I don´t know what to do, I´ve already change the languages, be sure of
> being
> working in the correct directory and doesn´t work
>
> the script is:
>
> #1. example
>
> data01<-read.table("ch01.txt",header=T)
>
> names(data01)
>
> attach(data01)
>
> FERTIL<-factor(FERTIL)
>
> model01<-(YIELD~FERTIL)

I suspect that the problem is not with the lack of a tilde ("~") or  
the misinterpretation of the special character that you seem to have  
gotten into this mail message, but rather with your failure to type  
the two letters "lm" thusly:

model01 <- lm(YIELD~FERTIL)

I have 3 Macs of varying vintages (one desktop and two laptops) and  
they all have the tilde in the upper left corner just below the escape  
key.

Future submissions to the R-help list should be accompanied by a more  
informative subject line. That sort of "Subject" is considered rude  
(some might even say infantile) behavior in this arena.

-- 
David.

>
> summary(model01)
>
> anova(model01)
>
>
> all my classmates, even those with a mac operator, wrote the same,  
> and it
> worked.
>
> When copying the script in the R console, it seems that there is a  
> problem
> with the
>
> ~ symbol. this symbol is not in the keyboard, so I select it from  
> spetial
> characters,
>
> and then i selected with shift an <>key, and still, it doesn´t works
>
> I attached th file with the data. i hope you can help me!!!!!
>
>
> Ana.
-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list