Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually edit the path for jobs #6036

Open
llrs opened this issue Jan 16, 2020 · 11 comments
Open

Manually edit the path for jobs #6036

llrs opened this issue Jan 16, 2020 · 11 comments

Comments

@llrs
Copy link

@llrs llrs commented Jan 16, 2020

I am not sure if this is a bug or a feature request, but let me describe it:

I recently started using the Jobs feature of Rstudio. I can select the path of the Working Directory and of the R Script. At the moment the Working Directory selects the R folder so I need to jump to other folders and then make sure that it starts on the desired folder and not again on the R folder. If I just go to the upper folder it still selects the R folder:
Screenshot from 2020-01-16 15-14-43

I open the directory I am, but note that the upper navigation bar still is selecting the /R folder.

Screenshot from 2020-01-16 15-46-49

However, I need to do it manually via Browsing the folders. It would be nice if I could edit it manually instead of opening the file browser.

I am using Rstudio Desktop 1.2.5001 Build 93 (7b3fe26, 2019-09-18) on a Ubuntu 18.04.

@ronblum
Copy link
Contributor

@ronblum ronblum commented Jan 16, 2020

@llrs Thank you for raising this! I'll mark it as a bug to review for now, although as you point out, this might be an enhancement.

@dfalty Can you provide any insight to this?

@dfalty
Copy link

@dfalty dfalty commented Jan 24, 2020

If I understand correctly if the path was just manually editable without having select Browse you would have what you need? If so, it's just an enhancement so that we allow that action as it's not editable now.

@dfalty dfalty added enhancement and removed bug labels Jan 24, 2020
@gtritchie
Copy link
Member

@gtritchie gtritchie commented Jan 24, 2020

See also #5811

@llrs
Copy link
Author

@llrs llrs commented Jan 25, 2020

@dfalty Yes, having it editable would solve my "problem". Alternatively that it wouldn't select the project/R folder as default would work too.

@llrs
Copy link
Author

@llrs llrs commented Sep 17, 2020

Just stumbled with this again. Another (easy) option would be if the default is the *.Rproj directory not where the current R file is in.

@stale
Copy link

@stale stale bot commented Feb 5, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

@stale stale bot added the stale label Feb 5, 2021
@llrs
Copy link
Author

@llrs llrs commented Feb 5, 2021

This isn't fixed/addressed on Rstudio Version 1.4.1103. Would be nice to get it solved, or closed with an explanation. Thanks!

@stale stale bot removed the stale label Feb 5, 2021
@jmiahjones
Copy link

@jmiahjones jmiahjones commented Feb 17, 2021

Since you appear to be using Linux with the Nautilus browser (Ubuntu perhaps?), I can give some insight into the user experience here. Nautilus has the fun behavior that when you navigate one directory up, it selects the folder you just left. You can see this in your first screen-grab, where the R folder is highlighted. So when you click the Open button, you are still technically selecting the R directory. The workaround I have been using is to navigate two directories up so that the project folder is highlighted when you click Open, thus setting the project directory as the working directory. Other programs which use the default file browser on my Ubuntu box have this behavior as well.

Maybe this gives you a workaround until some better behavior is built into the Job creation dialog...

@llrs
Copy link
Author

@llrs llrs commented Feb 17, 2021

Hi @jmiahjones, yes I'm using Ubuntu. I've been using this workaround for a while. Thanks!

@github-actions
Copy link

@github-actions github-actions bot commented Dec 31, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 31, 2021
@llrs
Copy link
Author

@llrs llrs commented Dec 31, 2021

This is still happening (I know it is not a high priority, but if I can prevent to slip behind the radar I will), although the linked issue #8985 seems to have gathered more discussion on this.

@stale stale bot removed the stale label Dec 31, 2021
@ronblum ronblum changed the title Manually edith the path for jobs Manually edit the path for jobs Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants