Skip to contents

Checks if the user is on macOS and app is supplied, and uses the 'open' system command if so. Falls back to fs::file_show() otherwise.

Usage

open_with_application(path, app = NULL)

Arguments

path

Path to the file to open.

app

Optional. Name of the application to open with (macOS only).