Closed cderv closed 2 years ago
https://github.com/yihui/animation/blob/5195d61be25032e973cefb107594aedac97f2d5c/R/utils.R#L23-L27
On Linux, it assumes xdg-open
is available. This code was from 14 years ago. I'm not sure if Linux has another built-in command to open a folder. On Windows and macOS, shell.exec()
and system2('open')
should work fairly well.
or similar