Entering edit mode
Gaston Fiore
▴
40
@gaston-fiore-4224
Last seen 10.2 years ago
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