| Base | R Documentation |
Provides a basic structure for processing text files. Also provides methods for reading and writing files and objects.
It provides pre-processing, processing and post-processing methods, which need to be overridden by derived classes.
The pre-processing function is called before reading a file. The process function is called for processing a given number of lines. The post processing function is called on the processed data.
Also provides methods for reading and writing text files and R objects. All class methods are private.
new()It initializes the current object. It is used to set the file name and verbose options.
Base$new(fn = NULL, lc = 100, ve = 2)
fnThe path to the file to clean.
lcThe number of lines to read and clean at a time.
veThe level of detail in the information messages. Reads the given file one line at a time. It runs the given pre-processing function before reading the file. It runs the given
clone()The objects of this class are cloneable with this method.
Base$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.