powered by
Just a wrapper to file.edit, trying to use [g]vim as editor, if installed.
file.edit
vim(file)
See file.edit.
Other operating system functions: file_copy(), file_save(), get_boolean_envvar(), get_run_r_tests(), is_installed(), is_r_package_installed(), is_success(), is_windows(), view(), with_dir()
file_copy()
file_save()
get_boolean_envvar()
get_run_r_tests()
is_installed()
is_r_package_installed()
is_success()
is_windows()
view()
with_dir()
# NOT RUN { path <- file.path(tempdir(), "foo.txt") writeLines(c("abc", "xyz"), con = path) vim(path) # }
Run the code above in your browser using DataLab