Re: [R] na.strings and the like; suspending interpretation of NA

2009-08-04 Thread Daniel Nordlund
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jan Theodore Galkowski Sent: Monday, August 03, 2009 10:23 PM To: R Project Subject: [R] na.strings and the like; suspending interpretation of NA Can someone point me

Re: [R] na.strings and the like; suspending interpretation of NA

2009-08-04 Thread Peter Dalgaard
Jan Theodore Galkowski wrote: Can someone point me to the proper place in the documentation or on the Wiki where I can learn how to get R to stop interpreting the string NA as something special? I have a table in a database which contains (among other things) country codes and continent codes.

Re: [R] na.strings and the like; suspending interpretation of NA

2009-08-04 Thread Jan Theodore Galkowski
The magic I was looking for is to pass as.is=TRUE to sqlQuery of RODBC. The reference to read.table is a little oblique, but with that, all works fine. An education! :-) Thanks much, Jan On Tue, 04 Aug 2009 09:05:05 +0200, Peter Dalgaard p.dalga...@biostat.ku.dk said: Jan Theodore

[R] na.strings and the like; suspending interpretation of NA

2009-08-03 Thread Jan Theodore Galkowski
Can someone point me to the proper place in the documentation or on the Wiki where I can learn how to get R to stop interpreting the string NA as something special? I have a table in a database which contains (among other things) country codes and continent codes. The standard set of two-letter