View source: R/open.target.directory.R
open.target.directory | R Documentation |
Given a PATH, either ending with "/" or a file name, this function opens a window to show you that directory.
## S3 method for class 'target.directory' open(element_path)
element_path |
The path, written unix-style. it has to be absolute, either from the root, or from the std. home ("~/") |
A window opened on your file browsing element ("Finder" or "Explorer")
# in Unix (Linux or Mac) open.target.directory("/home/user/Documents/my_superImportantDoc.txt") # in Windows open.target.directory("C:/Users/user/Documents/my_superImportantDoc.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.