Entering edit mode
7.7 years ago
biomagician
▴
410
Dear all,
I am running this command:
Rsubread::buildindex(basename='output/genome/ref/index/subread/celegans',reference="output/genome/ref/seq/celegans.fa")
to build an index for the C. elegans genome. R then outputs lots of interesting information to the console.
Do you know how I can redirect that output to a file?
Thanks.
C.
If you are running this in some R environment I think
sink()
function will do that read hereThanks, it worked. I didn't know about this function!