read.list: Read a file (one or two columns) and creates a vector (named...

View source: R/io.R

read.listR Documentation

Read a file (one or two columns) and creates a vector (named if two-column file)

Description

Read a file (one or two columns) and creates a vector (named if two-column file)

Usage

read.list(filename, header = TRUE, stringsAsFactors = FALSE,
  trunc = FALSE, ...)

Arguments

filename

Name of the file

header

boolean, TRUE if the file contains the header of the data

stringsAsFactors

default FALSE

trunc

default FALSE

...

other parameters can be passed to utils::read.table

Value

a vector or a named vector if there are headers


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.