Learn R Programming

adapr (version 2.0.0)

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

Description

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

Usage

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

Run this code
# NOT RUN {
# In Script that writes the archivist object:
# arcWrite(myplot,"xyplot")

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

# }

Run the code above in your browser using DataLab