> -----Original Message-----
> From: Gabor Grothendieck [mailto:[EMAIL PROTECTED]
> Sent: 13 July 2005 20:30
> To: Ruben Roa
> Cc: R-help@stat.math.ethz.ch
> Subject: Re: [R] Where's iris?
> 
> 
> On 7/13/05, Ruben Roa <[EMAIL PROTECTED]> wrote:
> > Hi:
> > Where is the iris data set actually
> > located in the R 2.1.0 folder (under W XP)?
> > Is it a text file or it is a binary file?
> > Ruben
> 
> Uwe has already explained how to get it in text
> form; however, if you are curious about its original
> format in R then its actually stored in iris.R as 
> R source code which you can view at:
> 
>   https://svn.r-project.org/R/trunk/src/library/datasets/data/iris.R
> 
> (or download the entire R source and get it from there).

The iris.R in the website and the iris.R i get from dump("iris",file="iris.R")
from R 2.1.0 W XP are different (the file from dump() describes the factors 
using 
structure(as.integer(c()),.Label=c(),class="factor") 
whereas the file in the website uses 
gl=(,,label=c()),
but the difference did not matter. I wanted to emulate the file format in a txt 
*.R file with my own data and i could do it with the most helpful advice by you 
and Uwe. Thank you!
Ruben

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to