Skip to content

environment variables

3 messages · Hua Li, Bert Gunter, Peter Dalgaard

#
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
#
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
#
Hua Li <hli at vbi.vt.edu> writes:
Yes, and ?scan tells you how to make it quiet almost immediately!