Learn R Programming

DatABEL (version 0.1-2)

extract_text_file_columns: extract_text_file_columns

Description

extracts columns from text file

Usage

extract_text_file_columns(file, whichcols)

Arguments

file
file name
whichcols
which columns to extract

Value

  • matrix of strings with values from that columns

Details

Extracts a column from text file to a matrix. If in a particular file line the number of columns is less then a column specified, returns last column!