Read a whitespace separated values (.wsv or .txt) file.

Description

This function will load a data set stored in the WSV file format into the specified global variable binding.

Usage

1
wsv.reader(data.file, filename, variable.name)

Arguments

data.file

The name of the data file to be read.

filename

The path to the data set to be loaded.

variable.name

The name to be assigned to in the global environment.

Value

No value is returned; this function is called for its side effects.

Examples

1
2
3
library('ProjectTemplate')

## Not run: wsv.reader('example.wsv', 'data/example.wsv', 'example')

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.