Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/pasteFromExcel.r
A fast way to transfer small amounts of data from Excel to R.
1 2 3 4 5 6 |
sep |
tab for clipboard |
check.names |
keep default |
stringsAsFactors |
keep default |
header |
did you copy the column header(s) too? |
rowheader |
did you copy the row header(s)/name(s) too? |
convertFormattedNumbers |
do you want to eliminate dollar signs, commas, etc. in formatted numbers (TRUE) or read those cells as character values (FALSE)? |
simplify |
should matrices with length 1 in one of the dimensions be converted to vectors (TRUE)? |
drop |
if TRUE and one of the dimensions of the matrix has length 1, return a vector |
na.strings |
strings that you want considered to be NA |
zero.strings |
strings that you want considered to be zero |
... |
arguments to be passed to other methods |
In Excel, copy data to the clipboard then use this function to paste into R.
Note: The actual values exchanged depend on Excel's translation to character data when placing on the clipboard.
An R object
dmm
readFromExcel, readFromCsv
1 2 3 | # In Excel, copy some cells to the clipboard. Back in R ...
### NOT RUN
# x <- pasteFromExcel()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.