The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Open System Files, URLs, Anything
Cross platform solution to open files, directories or URLs with their
associated programs. Inspired by shell.exec()
,
https://github.com/pwnall/node-open and
https://github.com/sindresorhus/opn
Stable version:
install.packages("xopen")
Development version:
::pak("r-lib/xopen") pak
library(xopen)
Open a file:
xopen("test.R")
Open a URL:
xopen("https://ps.r-lib.org")
URL with given app:
<- function() {
chrome switch(
get_os(),
win = "Chrome",
macos = "google chrome",
other = "google-chrome")
}xopen("https://processx.r-lib.org", app = chrome())
Open a given app (or switch to it, if already open):
xopen(app = chrome())
App and arguments. (You need to quit Chrome for this to work):
xopen(app = c(chrome(), "--incognito", "https://github.com"))
MIT © RStudio
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.