I am using R version 3.6.0 and tried installing "sink" but it says it is no longer available.
Is this package no longer used? I am looking for a way of making log files for a .Rnw script which uses knitr.
I have seen that some people use just cat() and some use sink() and cat() together. What is the best recommended way of making log files in R? Is there an alternative to sink()?
Many thanks.