-
Notifications
You must be signed in to change notification settings - Fork 44
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
Change active here()
directory
#19
Comments
Yes. This is an issue where working on multiple projects at the same time in the R studio. I am searching for a solution. |
I have a separate Restarting the R session also might work. I'd like to keep the interface of here as simple as possible. |
I second this request, mainly to workaround a well-documented issue with RStudio running slow in network drive vs. local. Currently, I set up .Rproj locally, while accessing everything else (e.g., scripts, data) from network. It really improves RStudio run time significantly. Hope @krlmlr will consider. Thanks! |
Here's my (hacky) workaround. Not sure if this breaks anything, but it seems good so far.
|
I'm hesitant to provide a supported entry point, there are other good reasons to start afresh. I documented a workaround that features |
Read more at: https://here.r-lib.org/articles/here.html#declare-the-location-of-the-current-script-1 |
Thanks for this @krlmlr . Hope you don't take this negatively, but it doesn't help my use case 😅. The framework I have in mind is as follow:
|
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
Currently doesn't seem to change the
here()
output when changing directories - which is fine by design, however, if you need to change folders/projects there's no way to force a change in thehere()
reference.Might there be room for a
change_here()
function that forces a change in directory or something similar? (I'd prefer a reference to Oasis' "Be Here Now" but that might be too long).The text was updated successfully, but these errors were encountered: