Sloane, 

try,

diseasedat<-read.csv("M:\\sloan\\R\\disease\\disease.csv")

and read http://cran.r-project.org/doc/manuals/R-data.html

JC


On Mon, 2005-09-12 at 19:58 +0100, sloan jones wrote:

> I have been trying to open data that I have saved in an excel spread sheet.  I saved it as a csv.  Then I tried using the read.csv command. However, everytime I do this--
> 
> diseasedat<-read.csv("M:/sloan/R/disease/disease.csv", sep=,  header = TRUE, fill= TRUE)--
> 
> I get an error message:  
> 
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open file 'M:/sloan/R/disease/disease.csv'
> 
> What am I doing wrong or what should I look for to correct this?
> 
> Sloan
> 

	[[alternative HTML version deleted]]


