open_target_directory: Open file/plot directory

View source: R/open_target_directory.R

open_target_directoryR Documentation

Open file/plot directory

Description

Given a PATH, either ending with "/" or a file name, this function opens a window to show you that directory.

Usage

open_target_directory(element_path)

Arguments

element_path

The path, written unix-style. it has to be absolute, either from the root, or from the std. home ("~/")

Value

A window opened on your file browsing element ("Finder" or "Explorer")

Examples

# 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")



g-antonello/gautils documentation built on May 3, 2024, 10:51 a.m.