I have the following request
library(RCurl) res=getURL("http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=RCurl&btnG=Search", .opts=list(verbose = TRUE) )
and would like to capture the detailed call output (i.e. what is printed in red in the R console). I thought the output lines are messages and therefore are printed on stderr() . The following messages are for messages
sink(textConnection("test","w"),type="message") message("test message") sink(stderr(),type="message") test
but not if I replaced message("test message") with an RCurl res=getURL(.....) request, as described above. Obviously, RCurl output is not printed to stderr() . It also does not print to stdout() .
So how can I conclude?
Bonus question: Is t sink(stderr(),type="message") set correctly to connect to the default R value?
Thank you for your help!
source share