open_path: Open directory explorer or files

View source: R/utilities.R

open_pathR Documentation

Open directory explorer or files

Description

Open directory explorer or files

Usage

open_path(path)

Arguments

path

Full path of the file to be opened

Note

This assumes default applications are set for various file type

Examples

## Not run: 
 dir_name <- "C:/Users/<username>/Downloads"
 open_path(dir_name)

 file_name <- "C:/Users/<username>/Downloads/test.csv"
 open_path(file_name)

## End(Not run)

USAID-OHA-SI/glamr documentation built on Oct. 1, 2024, 2:18 p.m.