[R] na.strings in readLines or is.na?

Benjamin M. Osborne Benjamin.Osborne at uvm.edu
Tue Mar 1 19:43:23 CET 2005


When reading a data set into R using readLines, na.strings="-99.99" is ignored. 
Is there an equivalent command for readLines?  Alternatively, either
immediately after reading into R or once the data set has been converted to a
data frame, what is the appropriate command (or appropriate use of is.na) to
convert my -99.99s to NAs?
Thanks,
Ben Osborne

-- 
Botany Department
University of Vermont
109 Carrigan Drive
Burlington, VT 05405

benjamin.osborne at uvm.edu
phone: 802-656-0297
fax: 802-656-0440




More information about the R-help mailing list