Usage
pcrimport2(file = "clipboard", sep = "", header = TRUE, quote = "",
dec = ".", colClasses = "numeric", ...)
- file
{the name of the file which the data are to be read from (full path).}
- sep
{the field separator character.}
- header
{a logical value indicating whether the file contains the names of the variables as its first line.}
- quote
{the set of quoting characters.}
- dec
{the character used in the file to denote decimal points.}
- colClasses
{character. A vector of classes to be assumed for the columns.}
- ...
{further arguments to be passed on to read.table
.}
For a more detailed description of the arguments see read.table
.
A data frame containing a representation of the data in the file.
This function is the former pcrimport
from packages 1.3-3 downward.
See pcrimport
for an enhanced version offering formatting in the presence of reference dyes, columns/rows deletion,
transforming from wide to long format, and automatic batch analysis.
[object Object]
## paste some Excel data into the clipboard ###
temp <- pcrimport2()
## from a tab-delimited text file ###
temp <- pcrimport2("c:\temp\foo.txt")
IO
file