[BioC] SQLquery returns "FALSE" in stead of "F"

Philip Lijnzaad p.lijnzaad at umcutrecht.nl
Wed Nov 21 14:58:00 CET 2007


On Wednesday 21 November 2007 14:35, Rudy van Eijsden wrote:

> Why is "F" automatically displayed as "FALSE" and how do I correct this?

F is an abbreviation of FALSE, in R,e.g.:

> class(F) 
[1] "logical"
> typeof(F)
[1] "logical"
 
(likewise, T is the same as TRUE) If you want to keep it a string (aka 
character), just try adding quotes in Oracle (select '"' || 
some_column || '"' ), and/or use as.character(thing) on the R side. Hope this 
helps,

                                                                       Philip

-- 
Philip Lijnzaad, PhD
Holstege Genomics Laboratory
Dept. of Biomedical Genetics
University Medical Center (UMC), Utrecht
Stratenum room 2.133 (on Mondays and Fridays not in after 14.45)
MSN chat (*NOT* email): philip_lijnzaad at hotmail.com
P.O. Box 85060, 3508 AB Utrecht
(Universiteitsweg 100, 3584 CG Utrecht)
The Netherlands
tel: +31 (0)30 253 8464
fax: +31 (0)30 253 8479



More information about the Bioconductor mailing list