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

From: Benjamin M. Osborne <Benjamin.Osborne_at_uvm.edu>
Date: Wed 02 Mar 2005 - 05:43:23 EST

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?
Ben Osborne

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

phone: 802-656-0297
fax: 802-656-0440

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Mar 02 07:05:13 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:39 EST