-
Notifications
You must be signed in to change notification settings - Fork 0
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
working directory for active analyses.R #56
Comments
Hi @ZoeMZou. I should have mentioned this before. We usually use R projects. Next time you are in Rstudio, click 'New project' in the top right hand corner. You then want to select 'Existing directory' and navigate to post-covid-respiratory and click 'Create project'. This will create a .Rproj file in the directory that you can commit to GitHub. Anytime you want to work on the project, you can click on this file or use 'Open project' in RStudio and it will start an RStudio session with your path as post-covid-respiratory. |
Great, thanks Venexia! Have set the project directory in Rstudio. |
Hi @venexia,
I noticed that running the
active_analyses.R
script locally creates a lib folder under the analyses directory instead of the main repo. To work around this, I’ve been temporarily setting the working directory to my local path (setwd("C:\Users\mz16609\post-covid-respiratory")
), running the script to generate the active_analyses dataset, and then removing the setwd code before committing. This approach feels a bit clunky—do you have any suggestions for a smoother solution?I think you mentioned the specify_path script, but I dont know how to use that for the
active_analyses.R
script.Best wishes,
Zoe
The text was updated successfully, but these errors were encountered: