Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Server management

Source:R/servers.R
addServer.Rd

These functions manage the list of known servers:

  • addServer() registers a Posit connect server. Once it has beenregistered, you can connect to an account on the server usingconnectUser().

  • removeServer() removes a server from the registry.

  • addServerCertificate() adds a certificate to a server.

Supported servers: Posit Connect servers

Usage

addServer(url,  name=NULL,  certificate=NULL,  validate=TRUE,  snowflakeConnectionName=NULL,  quiet=FALSE)removeServer(name=NULL)addServerCertificate(name,certificate, quiet=FALSE)

Arguments

url

URL for the server. Can be a bare hostname likeconnect.mycompany.com or a url likehttp://posit.mycompany.com/connect.

name

Server name. If omitted, the server hostname is used.

certificate

Optional. Either a path to certificate file or acharacter vector containing the certificate's contents.

validate

Validate thaturl actually points to a Posit Connectserver?

snowflakeConnectionName

Name for the Snowflake connection parametersstored inconnections.toml.

quiet

Suppress output and prompts where possible.

Examples

if(FALSE){# \dontrun{# register a local serveraddServer("http://myrsconnect/","myserver")# list serversservers(local=TRUE)# connect to an account on the serverconnectUser(server="myserver")}# }

[8]ページ先頭

©2009-2025 Movatter.jp