read.infile.df | R Documentation |
Imports a text file representing a microscope infile as a data frame. Skips all lines which do not match the infile structure.
See newinfile.df
or newinfile.char
for a description of the infile structure.
read.infile.df(infilepath)
infilepath |
character, the path to the infile. |
Data frame with infile.
Function newinfile.df
creates an empty infile in the form of a data frame.
Function newinfile.char
creates an empty infile in the form of a character vector.
# Create infile in disk
tempfile <- tempfile()
newinfile.char(saveto = tempfile)
# Read infile
myinfile <- read.infile.df(tempfile)
head(myinfile)
# Delete infile file from disk
file.remove(tempfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.