[R] RODBC problem

Jerome Asselin jerome.asselin at crchum.qc.ca
Fri Oct 20 16:42:22 CEST 2006


On Fri, 2006-10-20 at 10:25 -0400, Wensui Liu wrote:
> In a mdb table, I have a text field with values of 1, 2, .... When I
> use rodbc to read it into R, it becomes numeric. Is it a bug or
> something?

I don't think it's a bug. This behavior is documented.

See ?sqlQuery. Try the as.is=T argument.

Jerome

-- 
Jerome Asselin, M.Sc., Agent de recherche, RHCE
CHUM -- Centre de recherche
3875 rue St-Urbain, 3e etage // Montreal QC  H2W 1V1
Tel.: 514-890-8000 Poste 15914; Fax: 514-412-7106



More information about the R-help mailing list