Issue
How do you print to stderr
in R
?
This would especially useful for scripts written in Rscript
.
Solution
Actually the following works for me:
write("prints to stderr", stderr())
write("prints to stdout", stdout())
Answered By - Frank Answer Checked By - Gilberto Lyons (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.