PCdLf / e4dashboard

Shiny dashboard to visualize and process e4 data
5 stars 8 forks source link

platform independent directory choice #1

Closed RemkoDuursma closed 4 years ago

RemkoDuursma commented 5 years ago

We now use choose.dir, only works on Windows

PCdLf commented 5 years ago

Possible solution to choose.dir:

choose_directory = function(caption = 'Select data directory') { if (exists('utils::choose.dir')) { choose.dir(caption = caption) } else { tk_choose.dir(caption = caption) } }