Learn R Programming

dataone (version 2.2.2)

setPublicAccess,D1Object-method: Make the object publicly readable.

Description

This method should be called prior to creating the object in DataONE. When called before creating the object, adds a rule to the access policy that makes this object publicly readable. If called after creation, it will only change the system metadata locally, and will not have any effect on remotely uploaded copies of the D1Object.

Usage

# S4 method for D1Object
setPublicAccess(x)

Arguments

x

D1Object

Value

D1Object with modified access rules

See Also

DataObject class description.