I've been experimenting with R during the last week and I thought I'd pass on some comments on issues on the documentation that left me a bit confused. To start with (literally), the ReadMe.rw1021 file says that the easiest way to install R is to download the rwinst.exe installer program. That gave me the impression that the program would connect to an R download site, download the software and install it, along the lines of the Internet Explorer installation program for example. The Readme should be clearer on this and instruct newbies to download the zipfiles to a folder first. I also found that the installer didn't work if the files were downloaded to c:\, it worked fine if everything was downloaded to a folder. I also had a good deal of trouble trying to import an SPSS file. I found and installed the foreign package without too much trouble but didn't realize I had to load it before I could use it :-(. Reading The Fine Manual helped eventually, but it would be useful to provide a bit more information in the "R Import/Export" documentation. After reading an SPSS file, what data structure is it? It's not a data frame. In any event, I found it useful to convert the SPSS data to a data frame since that also handles invalid names, e.g. containing underscores. You can analyze the SPSS data as read in, but any names containing underscores cause an error. I also found that the SPSS names are all upper case. Maybe that could be changed in new versions of read.spss. A workaround is: library(foreign) indat <- read.spss("c:/data/ozs/eind.sav") dat <- as.data.frame(indat) names(dat) <- tolower(names(dat)) attach(dat) An example along these lines would help newbies a lot, I think. I also disagree with the import/export documentation, that importing files from foreign packages should be avoided (chapter 3). This will often be the starting point for new users who have most of their data in a foreign format and will usually be the quickest and most practical method in any case. John Hendrickx __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> I also had a good deal of trouble trying to import an SPSS file. I > found and installed the foreign package without too much trouble but > didn't realize I had to load it before I could use it :-(.I hadn?t realized this unitl now :-) Very helpful. Reading> The Fine Manual helped eventually, but it would be useful to provide > a bit more information in the "R Import/Export" documentation. >I agree. Totally.> > An example along these lines would help newbies a lot, I think. I > also disagree with the import/export documentation, that importing > files from foreign packages should be avoided (chapter 3). This will > often be the starting point for new users who have most of their data > in a foreign format and will usually be the quickest and most > practical method in any case. >You?ve got a very good point here, and I subscribe to that view "verbatim".> John Hendrickx >So...Is there such a thing in the R community as a Documentation team (like you have the LDP 0 Linux Documentation Project)? You see, it?s like that japanese martial art Aikido: newbies give you a rough ride, because they don?t know the movements by heart. Likewise, what may seem like a clear explanation to "gurus" may actually be quite unsatisfactory from a newbie?s view point. This is not to say that is poorly written, it?s just that we don?t read the documentation with the same eyes an "experienced" person does. All too often, it has been my experience with the open-source community, the documentation lacks little tiny details that are just so important... Best reagards to all, and thank you for all the replies, Henry L. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._