Description Usage Arguments Details Value Examples
View source: R/statTools_code_OTHER.R
Reads the clipboard (with the copied windows path) and returns (and writes) in it a string to be pasted in an R environment.
1 |
writecb |
Defaults to TRUE. If TRUE, the changed path to be read in R will be writted in the clipboard so that it can be pasted in R. Done via |
repath() has only two parameters. One is write
, and the other is the windows path already copied in the clipboard. If
the copied path does not exist, the working directory is returned with a warning.
Returns a string with the new path adapted for R or the working directory if it did not exist.
1 2 3 4 5 6 | ## Not run:
# copy an R path from Windows and do
repath()
# now paste where you need the adapted path. Voila!
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.