The files will be opened if possible. Up to one directory can be shown in the RStudio Files pane.

The behavior for files that cannot be displayed in the RStudio source editor or a browser is determined by no_copies. When FALSE (the default), a read-only copy will be opened. When TRUE, the Windows file path is printed as a message.

file_open(..., no_copies = FALSE)

Arguments

...

file paths to be opened.

no_copies

logical indicating whether to avoid downloading copies of files. If TRUE and some file cannot be opened by this system, the Windows path is printed as a message.

Value

invisibly returns NULL.