Barry Rowlingson
2015-Aug-03 15:59 UTC
[R] R command to open a file "browser" on Windows and Mac?
And for completeness, on linux: system(paste0("xdg-open ",getwd())) there's a function in a package somewhere that hides the system dependencies of opening things with the appropriate application, and if you pass a folder/directory to it I reckon it will open it in the Explorer/Finder/Nautilus//xfm//This Month's Linux File Browser// as appropriate. But I can't remember the name of the function or the package. Barry On Mon, Aug 3, 2015 at 4:19 PM, Jonathan Greenberg <jgrn at illinois.edu> wrote:> Folks: > > Is there an easy function to open a finder window (on mac) or windows > explorer window (on windows) given an input folder? A lot of times I want > to be able to see via a file browser my working directory. Is there a good > R hack to do this? > > --j > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.