r - Writte errors to a file -
i using r programming language , have program deliver clients.
i use function sink()
save inputs program , measure time performance in case there error save file. know neat way this?
thanks time.
take @ sink()
manual, has message
option:
## capture output file. zz <- file("all.rout", open = "wt") sink(zz) sink(zz, type = "message") try(log("a")) ## console sink(type = "message") sink() try(log("a"))
Comments
Post a Comment