open the working directory as a window in finder

Simply enter:

system(command=sprintf('open %s', shQuote(getwd())))

It has been introduced in HepersMG package > 4.5-1 as the function openwd()

https://CRAN.R-project.org/package=HelpersMG 

install.packages("https://hebergement.universite-paris-saclay.fr/marcgirondot/CRAN/HelpersMG.tar.gz", repos=NULL, type="source")

library(HelpersMG)

openwd()

It should work also for windows with shell.exec(getwd())

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04