gl.load {dartR.base}R Documentation

Loads an object from compressed binary format produced by gl.save()

Description

This is a wrapper for readRDS() The function loads the object from the current workspace and returns the gl object.

Usage

gl.load(file, verbose = NULL)

Arguments

file

Name of the file to receive the binary version of 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 loaded object

Author(s)

Custodian: Arthur Georges – Post to https://groups.google.com/d/forum/dartr

See Also

gl.save

Other io: gl.read.csv(), gl.read.dart(), gl.read.fasta(), gl.read.silicodart(), gl.read.vcf(), gl.save(), gl.write.csv(), utils.read.dart()

Examples

gl.save(testset.gl,file.path(tempdir(),'testset.rds'))
gl <- gl.load(file.path(tempdir(),'testset.rds'))

[Package dartR.base version 0.65 Index]