Learn R Programming

rsconnect (version 0.4.3)

rsconnectOptions: Package Options

Description

The rsconnect package supports several options that control the method used for http communications, the printing of diagnostic information for http requests, and the launching of an external browser after deployment.

Arguments

Details

Supported global options include:
rsconnect.http
Http implementation used for connections to the back-end service:
rcurl
Secure https using the RCurl package
curl
Secure https using the curl system utility
internal
Insecure http using raw sockets
If no option is specified then rcurl is used by default.

rsconnect.http.trace
When TRUE, trace http calls (prints the method, path, and total milliseconds for each http request)

rsconnect.http.trace.json
When TRUE, trace JSON content (shows JSON payloads sent to and received from the server))

rsconnect.http.verbose
When TRUE, print verbose output for http connections (useful only for debugging SSL certificate or http connection problems)

rsconnect.launch.browser
When TRUE, automatically launch a browser to view applications after they are deployed

rsconnect.locale.cache
When FALSE, disable the detected locale cache (Windows only).

rsconnect.locale
Override the detected locale.

Examples

Run this code
## Not run: 
# 
# # use curl for http connections
# options(rsconnect.http = "curl")
# 
# # trace http requests
# options(rsconnect.http.trace = TRUE)
# 
# # print verbose output for http requests
# options(rsconnect.http.verbose = TRUE)
# 
# # print JSON content
# options(rsconnect.http.trace.json = TRUE)
# 
# # don't automatically launch a browser after deployment
# options(rsconnect.launch.browser = FALSE)
# ## End(Not run)

Run the code above in your browser using DataLab