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

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -