Hi
I'm struggling with Rstudio but I'm a total beginner so it's probably really easy to solve. So easy that I can't find it explained on internet!!
I do this:
dframe1 <- read.csv(file.choose())
summary(dframe1)
names(dframe1)
str(dframe1)
my file is correct, I can see it but R says 200 observations of 1 variable despite there is 12 columns in my file and I was expecting 12 variables
How can I make it work?
Are you sure that your file has comma separated values? maybe it has another format, please paste a few lines from the file to take a look into its structure.
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: