Learn R Programming

fritools (version 4.6.0)

clipboard_path: Copy a Path from Clipboard to 'R'

Description

I often have to work under Windows, where file paths cannot just be pasted into the code, so I adapted code from https://www.r-bloggers.com/2015/12/stop-fiddling- around-with-copied-paths-in-windows-r/, which is down now. Under Windows, the de-windowsified path is copied to the clipboard.

Usage

clipboard_path()

Arguments

Value

The de-windowsified path.

See Also

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(), vim(), wipe_tempdir(), with_dir()

Other file utilities: delete_trailing_blank_lines(), delete_trailing_whitespace(), develop_test(), file_copy(), file_modified_last(), file_save(), file_string(), find_files(), get_lines_between_tags(), get_mtime(), get_unique_string(), grep_file(), is_files_current(), is_path(), paths, runsed(), search_files(), split_code_file(), touch()