[BioC] Scan not respecting what

Gaston Fiore gaston.fiore at gmail.com
Thu Aug 26 06:21:02 CEST 2010


Hello everyone,

By some (strange to me) reason, scan isn't respecting the what argument:

> temp <- scan(file = "~/data/WT/NS20WTR1ChrReadsF.txt", what = 'integer', sep = ",", quote = 'NULL', comment.char = "")
Read 26042606 items
> class(temp)
[1] "character"
> typeof(temp)
[1] "character"

I'm new to R, and I apologize if the mistake is obvious, but could someone explain to me why this is the case?

Thanks a lot,

-Gaston



More information about the Bioconductor mailing list