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)
invisibly returns NULL
.