describe: Create a Description of a Shared Resource

describeR Documentation

Create a Description of a Shared Resource

Description

This generic function should be used for creating a description of a shared resource and is used in conjunction with attach.resource() to utilize shared resources from an R session.

Usage

describe(x)

Arguments

x

the object to create the descriptor for.

Value

A user-defined description of a shared resource.

See Also

[bigmemory.sri::attach.resource()]

Examples

# Create a concrete function.
setMethod(
 "describe", 
 signature(x = "list"),
 function (x) {
   print(x$value)
 }
)

# Create an object to describe.
tst = list(loc = "in_ram_not_shared", value = "hello world")

# Describe it
describe(tst)

bigmemory.sri documentation built on May 29, 2024, 2:51 a.m.