csmpi_custom_read: Read from the cloud using custom cloud and disk interfaces.

Description Usage Arguments

View source: R/agnostic_read.R

Description

Read from the cloud using custom cloud and disk interfaces.

Usage

1
2
3
4
5
csmpi_custom_read(key, cloud_interface, disk_interface, params,
  use_session_cache = getOption("csmpi.use_session_cache", TRUE),
  use_disk_cache = getOption("csmpi.use_disk_cache", FALSE),
  num_retries = getOption("csmpi.num_retries", 3), cloud_name_,
  storage_format_)

Arguments

key

simple string. The key to record the object with.

cloud_interface

CloudInterface object. The cloud interface to use.

disk_interface

DiskInterface object. The disk interface to use.

params

list. Additional arguments to pass to interface methods.

use_session_cache

logical. Whether or not to cache the object in memory. Defaults to the option csmpi.use_session_cache, or FALSE if the option is not set.

use_disk_cache

logical. Whether or not to cache the object on disk. Defaults to the option csmpi.use_disk_cache, or FALSE if the option is not set.

num_retries

numeric. How many attempts to write before raising an error. Defaults to the option csmpi.num_retries, or 3 if the option is not set.

cloud_name_

simple_string. The name of the cloud interface, used to create unique file names for caching. If not provided, will be computed from the cloud interface using non-standard evaluation.

storage_format_

simple_string. The name of the disk interface, used to create unique file names for caching. If not provided, will be computed from the disk interface using non-standard evaluation.


abelcastilloavant/csmpi documentation built on May 24, 2019, 7:21 p.m.