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.
open_target_directory(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 and Unix-like
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.