selectFile filter problem on Mac

Open
#60 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
api, desktop

Research direction

Start at the selectFile() entry point and reproduce the issue on Mac with filter="", ".R", and "*.csv". Confirm that filtered selections open the dialog and return the selected file rather than immediately returning NULL.

Written by the indexing model from the issue text.

Description

selectFile() or selectFile(filter = "*") seems to work fine on Mac. However, when the filter is set to *.R or *.csv no file dialog is opened and NULL is returned right away. Using the current preview version of Rstudio

rstudioapi::selectFile(filter = "*.csv")
NULL

Dominant language
R
Stars
175
Forks
37
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rstudio/rstudioapi

All issues in rstudio/rstudioapi

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.