dirkschumacher / rcbc

COIN-OR branch and cut (CBC) bindings for R
https://dirkschumacher.github.io/rcbc/
Other
20 stars 5 forks source link

How can I capture the output log? #70

Open leoniedu opened 1 week ago

leoniedu commented 1 week ago

Sink (message or output) does not seem to work.

jeffreyhanson commented 6 days ago

Yeah, I don't know how to do this in an interactive session sorry. This might be possible in a non-interactive session if you have it save a log file? E.g., try running something like this from the command line:

R CMD BATCH --no-restore --no-save myscript.R

This should create a myscript.Rout file that has a log of the R code and outputs.