This function returns the path of a script, being run by Rscript. Note that the function does not work in interactive mode. The function can be used to make R scripts portable, and less rigidly dependent on a single filestructure. Might be UNIX specific?
1 | myPath()
|
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.