Description Usage Arguments Details Value Examples
Read a string (max 5000 char in mac) from clipboard
1 | readStringFromClip(testText = NULL)
|
testText |
a string/character array usually missing. It allows test text to be put in and mostly gets around a roxygen2 issue I couldn't figure. |
Uses writeChar() on mac. See e.g. http://stackoverflow.com/a/13445458/1795127
a string
1 2 3 4 | # Select someting and copy it to clipboard
# Then input a line
readline('Type cr when ready')
print(readStringFromClip())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.