gjwgit / rattleng

The New Generation R Analytics Desktop App
GNU General Public License v3.0
21 stars 9 forks source link

DATASET: Check that user supplied path exists before dispatch to R #536

Closed gjwgit closed 3 days ago

gjwgit commented 1 month ago

Description

The path to a filename that a user has typed in needs to be checked to make sure it exist before we attempt to ask R to load the file.

Here I have typed a path:

Image

But the path does not exist. There should be a popup to say the path does not exist rather than simply attempting to load the file in R and silently failing.

Image

gjwgit commented 1 month ago

This task requires refactoring the handling of CSV and TXT file loading. Currently there are several pathways and two scenarios (first load and loading when there is already a dataset loaded). Needs to be cleaned up and remove repeated coding.

junhaow1 commented 3 weeks ago

The popup was implemented by Graham three weeks ago. I am currently working on refactoring the handling of CSV and TXT file loading.

junhaow1 commented 3 weeks ago

Image