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

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

javascript - JS causing window size to be bigger than necessary - Dropdown bug -