arcRead: Loads R object from archivist repository within the results...

Description Usage Arguments Details Examples

Description

Loads R object from archivist repository within the results directory of another adapr Script

Usage

1
2
arcRead(rscript = "read_data.R", description = "xyplot",
  project.id = getProject())

Arguments

rscript

name of R script that loaded the function

description

character description. Need for access with arcRead

project.id

project to search within

Details

For use within R adapr script. This complements the use of arcWrite. The description should match the description in arcWrite.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# In Script that writes the archivist object:
# arcWrite(myplot,"xyplot")

# In Script that reads the object:
processed <- arcRead("read_data.R","xyplot")

## End(Not run) 

adapr documentation built on May 1, 2019, 7:05 p.m.