Quantcast
Channel: How to capture install.packages output in R with sink()? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Carl Witthoft for How to capture install.packages output in R with...

While Andre W has given you a solution to your problem, he didn't answer the specific question. I believe the answer is related to this line in ?sink :Only prompts and (most) messages continue to...

View Article


Answer by Andre Wildberg for How to capture install.packages output in R with...

You can use keep.outputsinstall.packages("stringr", keep.outputs=TRUE)from the helpif true, keep the outputs from installingsource packages in the current working directory, with thenames of the output...

View Article

How to capture install.packages output in R with sink()?

I'd like to capture all output and errors when installing a packages. The steps when installing a package, however, do not seem to be captured by the sink() command. Here's an example:A main.R file:fp...

View Article
Browsing latest articles
Browse All 3 View Live