In R, is there any  way  that I can let R not printing out the "Read 4 
items " message?
 > a<-scan("probes.txt")
Read 4 items
Thanks
Hua LI
use quiet=T
help("scan")
norm 
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Hua Li
Sent: Thursday, April 28, 2005 12:32 PM
To: r-help at stat.math.ethz.ch
Subject: [R] environment variables
In R, is there any  way  that I can let R not printing out the "Read 4
items
" message?
 > a<-scan("probes.txt")
Read 4 items
Thanks
Hua LI
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
Well, you could always wrap it in sink(...) scan(...) sink() I suppose. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Hua Li > Sent: Thursday, April 28, 2005 12:32 PM > To: r-help at stat.math.ethz.ch > Subject: [R] environment variables > > > In R, is there any way that I can let R not printing out > the "Read 4 > items " message? > > > a<-scan("probes.txt") > Read 4 items > > > Thanks > Hua LI > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Hua Li <hli at vbi.vt.edu> writes:> In R, is there any way that I can let R not printing out the "Read 4 > items " message? > > > a<-scan("probes.txt") > Read 4 itemsYes, and ?scan tells you how to make it quiet almost immediately! -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907