Skip to content
Prev 319413 / 398506 Next

How to read a *.csv file in R?

If that is a text file I'd guess that the seperator is a tab.  I don's see why you used NULL as R should just read in the file with NA's for empty values.

You might want to try :
heisenberg <- read.csv(file="comprice.csv",head=TRUE,sep="\t")

John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!