error handling - R - How to log messages to file AND console -


i want copy messages (such errors , warnings) file, still have them output console well, sink() not work. additionally, messages in file come line number or other location identifier, such as:

line 20: there 18 warnings(use warnings() see them) 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -