| viewerDataText {rdataviewer} | R Documentation |
This function derives various important attributes of a text file and stores them so that viewing the file can occur efficiently.
viewerDataText(filename, width = NULL, estimate = NULL, index = FALSE, ...)
filename |
Name of the file. |
width |
The number of characters on each line to view. |
estimate |
A number of lines of the file to be read to estimate the maximum line length. |
index |
A logical value indicating whether to generate a byte index to the start of each line in the file. |
... |
Arguments passed to the function(s) used to read the file (not currently used). |
If both width and estimate are NULL
then the maximum line width is determined by reading the entire file.
For large files, setting index=TRUE will vastly speed
up the initialisation and viewing of the file.
An object of class "ViewerDataText".
Paul Murrell