xRDS | R Documentation |
xRDS
is supposed to read RDS files.
xRDS(RDS = NULL, verbose = TRUE, placeholder = NULL, guid = NULL)
RDS |
which RDS to load. To support the remote reading of a compressed RDS file, it must be compressed via the gzip method |
verbose |
logical to indicate whether the messages will be displayed in the screen. By default, it sets to TRUE for display |
placeholder |
the characters to tell the placeholder of RDS files |
guid |
a valid (5-character) Global Unique IDentifier for an OSF project. For example, 'gskpn' (see 'https://osf.io/gskpn'). If a valid provided and the query matched, it has priority over the one specified via placeholder |
the loaded RDS. If the data cannot be loaded, it returns NULL.
To enable 'guid', please also install a package "osfr" via
BiocManager::install("osfr",dependencies=TRUE)
.
xRDS
guid <- 'gskpn' ## Not run: # from OSF ig.HPPA <- xRDS('ig.HPPA', guid='gskpn') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.