Description Usage Arguments Details Author(s) See Also Examples
For many questions at Stack Overflow, the question asker
does not properly share their question (for example,
using dput
or by sharing some commands to
make up the data). Most of the time, you can just copy
and paste the text into R using read.table(text =
"clipboard", header = TRUE, stringsAsFactors = FALSE)
.
This function is basically a convenience function for the
above.
1 |
sep |
Most of the time, the code shared is space separated (which is the default for this function). If the separator is any other character, it can be specified here. |
header |
Are headers included? |
out |
Desired output object name. Defaults to
|
The output of read.so
is automatically
assigned to an object in your workspace called
"mydf
" unless specified using the out
argument.
Ananda Mahto
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
## Copy the following text (select and ctrl-c)
# A B
# 1 2
# 3 4
# 5 6
## Now, just type:
read.so()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.