Re: [R] read.csv() error

2021-09-02 Thread Rich Shepard
On Thu, 2 Sep 2021, Enrico Schumann wrote: There is no column 'ht'. Enrico, New eyeballs caught my change in variable name that I kept missing. Thanks very much, Rich __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://st

Re: [R] read.csv() error

2021-09-02 Thread Enrico Schumann
On Thu, 02 Sep 2021, Rich Shepard writes: > The first three commands in the script are: > stage <- read.csv('../data/water/gauge-ht.dat', header > = TRUE, sep = ',', stringsAsFactors = FALSE) > stage$sampdate <- as.Date(stage$sampdate) > stage$ht <- as.numeric(stage$ht, length = 6) > > Running the

Re: [R] read.csv() error

2021-09-02 Thread Enrico Schumann
On Thu, 02 Sep 2021, Rich Shepard writes: > The first three commands in the script are: > stage <- read.csv('../data/water/gauge-ht.dat', header > = TRUE, sep = ',', stringsAsFactors = FALSE) > stage$sampdate <- as.Date(stage$sampdate) > stage$ht <- as.numeric(stage$ht, length = 6) > > Running the

Re: [R] read.csv error: invalid multibyte string

2012-02-19 Thread Milan Bouchet-Valat
Le samedi 31 décembre 2011 à 07:05 -0800, Dennis Fisher a écrit : > R version: 2.13.1 > OS X > > Colleagues, > > I am working with a CSV file; for testing purposes, I created an XLS version > of the file. > When I read these files using read.xls (gdata) or read.csv, I encounter an > error: >

Re: [R] read.csv error: invalid multibyte string

2011-12-31 Thread peter dalgaard
On Dec 31, 2011, at 16:05 , Dennis Fisher wrote: > R version: 2.13.1 > OS X > > Colleagues, > > I am working with a CSV file; for testing purposes, I created an XLS version > of the file. > When I read these files using read.xls (gdata) or read.csv, I encounter an > error: > Error in