0

I'm brand new to R and having a basic issue. I need to import a file "testfile.csv" and store it in a variable called "data".

I have my working directory set correctly (I think), but my file only contains a single column of values. When I run the following code, nothing happens but I don't get an error either...

setwd("/Users/myname/Desktop")
data <- read.csv(file = "testfile.csv",header = TRUE,",quote = "" ,fill = TRUE)
summary(data)

I'm working on OSX if that makes a difference.

Thanks!

bartektartanus
  • 15,284
  • 6
  • 74
  • 102
marc
  • 2,037
  • 9
  • 24
  • 32

0 Answers0