Learn R Programming

dartR (version 1.9.9.1)

gl.load: Retrieves an object in compressed binary format earlier saved using gl.save.

Description

This is a wrapper for readRDS().

Usage

gl.load(file, verbose = NULL)

Arguments

file

-- name of the binary file from which to retrieve the object [required]

verbose

-- verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2 or as specified using gl.set.verbosity]

Value

the retrieved object

Details

The script retrieves the object from the current workspace and returns it by assignment.

Examples

Run this code
# NOT RUN {
gl.save(testset.gl,file.path(tempdir(),"testset.rds"))
gl.reloaded <- gl.load(file.path(tempdir(),"testset.rds"))
# }

Run the code above in your browser using DataLab