allowExternalSeeds: Allow saving of external seeds

View source: R/allowExternalSeeds.R

allowExternalSeedsR Documentation

Allow saving of external seeds

Description

Should external array seeds be saved in saveDelayed? If FALSE, an error is raised upon encountering external references such as HDF5ArraySeeds. This prevents the creation of delayed objects that cannot be used on different filesystems.

Usage

allowExternalSeeds(allow)

Arguments

allow

Logical scalar indicating whether to allow downloads of external seeds.

Value

If allow is not supplied, the current value of this flag is returned.

If allow is supplied, it is used to define the value of this flag, and the previous value of the flag is returned.

Author(s)

Aaron Lun

Examples

allowExternalSeeds()

a <- allowExternalSeeds(FALSE)
allowExternalSeeds()

# Setting it back
allowExternalSeeds(a)


LTLA/DelayedArraySaver documentation built on Oct. 11, 2023, 1:33 p.m.