OS-independent way to select directory interactively in R

后端 未结 5 1005
Happy的楠姐
Happy的楠姐 2021-02-12 10:54

I would like users to be able to select a directory interactively in R. The solution needs to work on different platforms (at least on Linux, Windows and Mac machines that have

5条回答
  •  没有蜡笔的小新
    2021-02-12 11:34

    you can use the choose_dir function from easycsv.
    it works on Windows, Linux and OSX

    easycsv::choose_dir() # can be run without parameters to prompt a folder selection window
    

提交回复
热议问题