This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Desktop or you can store it under My Documents, for example. BE SURE THAT WHEN IT IS STORED, IT IS STORED AS A TEXT FILE. [stored-data-name].txt Select “Save as” and select .txt as the file format. Now back on the R console, get the data into the active workspace with: > [new-data-file-name] < - read.table(“/Users/[your-user-name]/Desktop/ [stored-data-name].txt”, header=TRUE) > attach([new-data-file-name]) [ ] is a user supplied name – DO NOT include the brackets [ ] Number of column names must match the number of columns. You can find the proper “path” to where the data are stored by going to the file and selecting “Get Info”. The “path” is listed by “Where” in the info window. This is the path which is needed in read.table(“[path goes here]”, header=TRUE)....
View Full Document
This note was uploaded on 12/10/2011 for the course STAT 4210 taught by Professor Randles during the Fall '11 term at University of Florida.
- Fall '11
- Regression Analysis