Learn R Programming

RMark (version 2.1.1)

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)

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

Value

  • rnrow names
  • out.filenameoutput filename