I know I can write console output to a file:
my_log <- file("my_log.txt")
sink(my_log, append = TRUE, type = "output")
sink(my_log, append = TRUE, type = "message")
Is there any way to do this while still having the output display in the
console at the same time
thanks
[[alternative HTML version deleted]]