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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to