[R] read.table (Error in file(file, r) : unable to open connection)

2006-05-08 Thread David.Lowery
G’day, I am trying to read in a table and am getting an error message stating that R is unable to open a connection to the file. ➢ Avonvegen- read.table(Y:\Study Sites\Avon\nonspatial\datafiles\archive\Avon_VegEnh.dat , sep=,, na.string=-, header=TRUE) Error in file(file, r) : unable to

Re: [R] read.table (Error in file(file, r) : unable to open connection)

2006-05-08 Thread Gabor Grothendieck
See 2.16 of the R Windows FAQ. On 5/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: G'day, I am trying to read in a table and am getting an error message stating that R is unable to open a connection to the file. ➢ Avonvegen- read.table(Y:\Study

Re: [R] read.table (Error in file(file, r) : unable to open connection)

2006-05-08 Thread ronggui
I guess you use R under windows,then use \\ instead of \. or use file.choose() to choose the file directly. 2006/5/9, [EMAIL PROTECTED] [EMAIL PROTECTED]: G'day, I am trying to read in a table and am getting an error message stating that R is unable to open a connection to the file. ➢