Displaying 1 result from an estimated 1 matches for "datavariable".
Did you mean:
data_variable
2001 Aug 24
1
RFC: type conversion in read.table
Currently read.table is rather limited in its type conversion.
The algorithm is
0) Read as character
1) Try to convert to numeric. If that works, quit
2) Convert to factor unless !as.is.
I am thinking about adding more flexibility and more classes by the
following two changes.
A) Anticipating the arrival of classes for all R objects, add an
argument say `colClasses' that allows the user to