Learn R Programming

usefun (version 0.5.2)

save_vector_to_file: Save vector to a specified file

Description

Function for saving a vector with or without its row names to a specified file. By default the tab is used as a delimiter.

Usage

save_vector_to_file(vector, file, with.row.names = FALSE)

Arguments

vector

vector

file

string. The name of the file, can be a full path.

with.row.names

logical. If TRUE, then the names(vector) will be included in the output file. Default value: FALSE.