[R] Fatal Error R
Kenneth Roy Cabrera Torres
krcabrer at une.net.co
Wed Nov 17 07:00:45 CET 2010
As long as the names are unique, there is not a problem to shorten them.
El mié, 17-11-2010 a las 01:02 +0100, José Fernando Zea Castro escribió:
> Hello.
>
> First, I'm thankful about your wonderful project.
>
> However, I have serious worries about the reliability of R. I found
> the next bug which I consider important because in my job everytime We
> work with datanames like next. Please see below:
>
>
> b=data.frame(matrix(1:9,ncol=3))
> names(b)=c("q99","r88","s77")
>
> >b
> q99 r88 s77
> 1 1 4 7
> 2 2 5 8
> 3 3 6 9
> > b$q9
> [1] 1 2 3
>
>
> Please note that the variable q9 does not exist in the dataframe, but
> you can see that R
> show q9 (as q99).
>
> Thank in advanced
>
>
> Cordially
> José Fernando Zea Castro
> Statistician Universidad Nacional Colombiana
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list