Re: [R] Importing all observations and variables from csv file into dataframe

2011-10-17 Thread Bert Gunter
Oh please! Try reading the relevant docs -- like an Intro to R (The chapter on Reading data from files) or the R Data Import/Export manual. You will find plenty of help on this list, but you owe us an honest effort to help yourself first. -- Bert On Mon, Oct 17, 2011 at 11:56 AM, Sally Ann Sims

Re: [R] Importing all observations and variables from csv file into dataframe

2011-10-17 Thread R. Michael Weylandt
You aren't reading the file in at all: notice that, > summary("MooGoesTheCow",header=TRUE,as.is=TRUE) Length Class Mode 1 character character This is because you are asking for a summary of the string containing the file name, not the file itself. Rather, use X = read.csv("C

Re: [R] Importing all observations and variables from csv file into dataframe

2011-10-17 Thread jim holtman
I would assume that you would use 'read.csv'. I don't know where you got the syntax for "summary"; x <- read.csv(("C:\\Documents\\R_dfiles\\H_N_T.csv",as.is=TRUE) summary(x) On Mon, Oct 17, 2011 at 2:56 PM, Sally Ann Sims wrote: > Hello, > > I need some help getting started with data analysis.

[R] Importing all observations and variables from csv file into dataframe

2011-10-17 Thread Sally Ann Sims
Hello, I need some help getting started with data analysis. I’m having trouble getting R to read my data file. I’ve referred to various R help documentation, the website, and FAQs, but I don’t see my situation listed. I saved an Excel file (post-2007 Excel version) of data as a “.csvâ