Description Usage Arguments See Also Examples
These functions can be used to pragrammatically move, rename and delete scripts files.
1 2 3 4 5 | prMoveScript(name, newDir, subdir = ".")
prRenameScript(name, newName, subdir = ".")
prDeleteScript(name, subdir = ".")
|
name |
Name of the script on which one wants to perform an action. |
newDir |
Subdirectory where to move a script. |
subdir |
Subdirectory of the script on which one wants to perform an action. It can
also be indicated directly in the |
newName |
New name of the script. |
1 2 3 4 5 6 7 8 9 10 | projectPath <- file.path(tempdir(), "test")
prInit(projectPath)
prScript("test")
prMoveScript("test", "testdir")
prRenameScript("testdir/test", "myTest")
prDeleteScript("testdir/myTest")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.