Creates a connection to a Fame service running on a remote host.
fameConnection(service = "", host = "", user = "", password = "", stopOnFail = TRUE)
# S3 method for fameConnection
print(x, …)
# S3 method for fameConnection
close(con, …)
The name of the service on the server, e.g., "someService"
The server name
User name on the server
A string
if TRUE
(the default), failing to connect
generates an R error. Otherwise, the function completes but the result
is kind of useless.
A fameConnection
A fameConnection
For print
, these are arguments passed on to
print.matrix
. For close
, they're ignored.
A fameConnection is an integer with attributes "service", "host", "user" and "password".
fameConnection
uses the C HLI function cfmopen to
create a connection to a Fame service. The connection it returns can
be used in subsequent calls to fameWildlist
or getfame
.
The print
and close
functions, when called on a
fameConnection, do what they say.