Learn R Programming

bigmemory.sri (version 0.1.8)

describe: 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)

Value

A user-defined description of a shared resource.

Arguments

x

the object to create the descriptor for.

See Also

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

Examples

Run this code
# 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)

Run the code above in your browser using DataLab