Load a remote R binary file. This function is vectorized and supports multiple URLs in a single call.

loadRemoteData(url, envir = globalenv())

Arguments

url

character. Remote URL file path(s) to R data.

envir

environment. Environment.

Value

Invisible named character. Local object name as the name, and the remote URL as the value.

Examples

url <- paste(brioTestsURL, "rnaseq_counts.rds", sep = "/") print(url)
#> [1] "http://tests.acidgenomics.com/brio/v0.2/rnaseq_counts.rds"
x <- loadRemoteData(url)
#> Importing rnaseq_counts.rds using base::readRDS().
#> rnaseq_counts #> "http://tests.acidgenomics.com/brio/v0.2/rnaseq_counts.rds"