Learn R Programming

dataone (version 2.2.2)

initialize,D1Client-method: Initialize a D1Client object

Description

Initialize a D1Client object

Usage

# S4 method for D1Client
initialize(
  .Object,
  cn = NA,
  mn = NA,
  env = as.character(NA),
  mNodeid = as.character(NA)
)

Arguments

.Object

A D1client object.

cn

The Member Node object to associate this D1Client with.

mn

The Member Node object to associate this D1Client with.

env

The DataONE environment to initialize this D1Client with, e.g. "PROD", "STAGING", "SANDBOX", "DEV"

mNodeid

The node identifier of the Member Node to associate with this D1Client.

See Also

dataone class description.

Examples

Run this code
# NOT RUN {
library(dataone)
d1c <- D1Client("PROD", "urn:node:KNB")
# }

Run the code above in your browser using DataLab