rewriteData: Rewrite the data file

Description Usage Arguments Author(s) References

View source: R/cleanCSV.R

Description

Solve two problems that I used to work in gedit: "" –> ", and "\r\n" –> \r\n. This function will read the data, replace every two quotes "" by one quote ", remove the quotes before and after every line, i.e., replace "\r\n" by \r\n, then write the result to the same file.

Usage

1
rewriteData(filenm)

Arguments

filenm

file name with path

Author(s)

Xiaoyue Cheng <[email protected]>

References

Refer to package vignette Section 4.1.1


introstat/ePort documentation built on May 17, 2017, 4:19 a.m.