How to redirect output results
2
0
Entering edit mode
Liping Cheng ▴ 20
@liping-cheng-512
Last seen 9.7 years ago
Hi All, How to redirect output (results on the screen) to a file? When I typed swirl[,1]@maRf, only the partial results I can see because of data is too big. How can I redirect this information to a file? Thank you very much. Best Wish, Liping
• 696 views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 4 weeks ago
EMBL European Molecular Biology Laborat…
Try help(sink) Best wishes Wolfgang ------------------------------------- Wolfgang Huber Division of Molecular Genome Analysis German Cancer Research Center Heidelberg, Germany Phone: +49 6221 424709 Fax: +49 6221 42524709 Http: www.dkfz.de/abt0840/whuber ------------------------------------- On Fri, 12 Dec 2003, Liping Cheng wrote: > Hi All, > > How to redirect output (results on the screen) to a file? When I > typed swirl[,1]@maRf, only the partial results I can see because of > data is too big. How can I redirect this information to a file? Thank > you very much. > > Best Wish, > Liping
ADD COMMENT
0
Entering edit mode
John Zhang ★ 2.9k
@john-zhang-6
Last seen 9.7 years ago
>How to redirect output (results on the screen) to a file? When I >typed swirl[,1]@maRf, only the partial results I can see because of >data is too big. How can I redirect this information to a file? Thank >you very much. How about tt <- capture.output(print("Just to try")) and write tt to a file. > >Best Wish, >Liping > >_______________________________________________ >Bioconductor mailing list >Bioconductor@stat.math.ethz.ch >https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor Jianhua Zhang Department of Biostatistics Dana-Farber Cancer Institute 44 Binney Street Boston, MA 02115-6084
ADD COMMENT
0
Entering edit mode
there is also ?sink example sink("filename") swirl[,1]@maRf sink() On Fri, 12 Dec 2003, John Zhang wrote: > > >How to redirect output (results on the screen) to a file? When I > >typed swirl[,1]@maRf, only the partial results I can see because of > >data is too big. How can I redirect this information to a file? Thank > >you very much. > > How about > > tt <- capture.output(print("Just to try")) > > and write tt to a file. > > > > > >Best Wish, > >Liping > > > >_______________________________________________ > >Bioconductor mailing list > >Bioconductor@stat.math.ethz.ch > >https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor > > Jianhua Zhang > Department of Biostatistics > Dana-Farber Cancer Institute > 44 Binney Street > Boston, MA 02115-6084 > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD REPLY

Login before adding your answer.

Traffic: 447 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6