powered by
Call shell.exec on windows, mimic shell.exec otherwise.
shell.exec
view(path, program = NA)
Invisibly
NULL.
NULL
A path to a file or directory.
A program to use.
Other operating system functions: clipboard_path(), file_copy(), file_save(), get_boolean_envvar(), get_run_r_tests(), is_installed(), is_r_package_installed(), is_success(), is_windows(), vim(), wipe_tempdir(), with_dir()
clipboard_path()
file_copy()
file_save()
get_boolean_envvar()
get_run_r_tests()
is_installed()
is_r_package_installed()
is_success()
is_windows()
vim()
wipe_tempdir()
with_dir()
path <- file.path(tempdir(), "foo.txt") writeLines(c("abc", "xyz"), con = path) view(path)
Run the code above in your browser using DataLab