Learn R Programming

dartR.base (version 1.0.5)

gl.save: Saves an object in compressed binary format for later rapid retrieval

Description

This is a wrapper for saveRDS(). The script saves the object in binary form to the current workspace and returns the input gl object.

Usage

gl.save(x, file, verbose = NULL)

Value

The input object

Arguments

x

Name of the genlight object containing SNP genotypes [required].

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].

Author

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

See Also

gl.load

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

Examples

Run this code
gl.save(testset.gl,file.path(tempdir(),'testset.rds'))

Run the code above in your browser using DataLab