Learn R Programming

RMark (version 3.0.0)

strip.comments: Strip comments

Description

Read in file and strip out comments and blank lines.

Usage

strip.comments(inp.filename, use.comments = TRUE, header = TRUE)

Value

rn

row names

out.filename

output filename

Arguments

inp.filename

name of input file; inp extension is assumed and does not need to be specified

use.comments

if TRUE values within /* and */ on data lines are used as row.names for the RMark dataframe. Only use this option if they are unique values.

header

if TRUE, input file has header line with field names

Author

Jeff Laake