powered by
Execute code with configuration set.
with_config(config = config(), expr, override = FALSE)with_verbose(expr, ...)
with_verbose(expr, ...)
Settings as generated by add_headers(), set_cookies() or authenticate().
add_headers()
set_cookies()
authenticate()
code to execute under specified configuration
if TRUE, ignore existing settings, if FALSE, combine new config with old.
TRUE
FALSE
Other arguments passed on to verbose()
verbose()
Other ways to set configuration: config(), set_config()
config()
set_config()
with_config(verbose(), { GET("http://had.co.nz") GET("http://google.com") }) # Or even easier: with_verbose(GET("http://google.com"))
Run the code above in your browser using DataLab