All, I just took a cool R workshop and I'm chomping at the bit to play around with it. I'm fairly familiar with SAS and have some data that I used with Sas. My question is: How do I take a text file(I think my instructor called it a rectangular file) and import it to R. In sas you use an input statement followed by Variable name and the column numbers for the location of the data. Does R have a similar procedure? What would the syntax look like? Thank you for any help you can offer. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "Scott" == Scott Marley <azboater at dakotacom.net> >>>>> on Mon, 14 Oct 2002 08:34:14 -0700 writes:Scott> All, Scott> I just took a cool R workshop and I'm chomping at the Scott> bit to play around with it. I'm fairly familiar with Scott> SAS and have some data that I used with Sas. My Scott> question is: How do I take a text file(I think my Scott> instructor called it a rectangular file) and import Scott> it to R. In sas you use an input statement followed Scott> by Variable name and the column numbers for the Scott> location of the data. Does R have a similar Scott> procedure? What would the syntax look like? Thank Scott> you for any help you can offer. help(read.table) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Maybe Matching Threads
- suggestion to fix packageDescription() for Windows users
- suggestion to fix packageDescription() for Windows users
- How to fill in a region with different patterns?
- Copying to R a rectangular array from a Java class
- suggestion to fix packageDescription() for Windows users