Comments (2)
I have a similar organizational issue! My work collects annual data sets, which we've been storing in a central Data folder. These data files get used in numerous projects, and it's been difficult to know how to store data and other project files that still works with RStudio Projects. Besides copying the data files into the folders from each project, is there a better way to handle this that avoids having many versions of data files that can easily get out of sync with the "true" data file in the Data folder?
from wtf-2019-rsc.
I'll recap an in-person conversation here. There are a few points to consider:
- If you have a dataset that is used in many projects, the dataset should probably be its own "thing".
- You might make into a proper R package (a data package, like gapminder or babynames, but for your data). You could still keep it personal to you or your group, i.e. it doesn't have to go to CRAN. But the packaging infrastructure gets you a lot of useful structure.
- Otherwise, you could create a symlink (a.k.a. shortcut or alias) from the central data store into the relevant projects. This makes the data look local to each project, but keeps you from copying it several times. I.e. you'd still have a single source of data truth. Some more words about this here: https://community.rstudio.com/t/project-oriented-workflow-setwd-rm-list-ls-and-computer-fires/3549/35?u=jennybryan
from wtf-2019-rsc.
Related Issues (20)
- What's your Git/Github experience HOT 4
- Mention defensive programming to the debugging module
- Best practices for .gitignore HOT 2
- From a chaotic EDA to an organized workflow
- Make a live change to this repo during session 3
- What is the role of a PAT in relation to the GitHub authentication methods? HOT 2
- Lesson on use of GITHUB_PAT could use more context
- Flesh out .Rprofile lesson
- install packages - R setup need to install 'fs' before the rest
- Setup gitter
- Examples of dotfiles
- Specify that Rstudio 1.1+ is required
- Suggest discussing Squashing Commits during Jenny's discussion on incremental commits and WIP
- What's your OS? HOT 9
- Nested iteration/looping HOT 1
- Opening HTML or PDF in RStudio viewer pane HOT 4
- typo in schedule
- Explore a cloud-centric workflow HOT 2
- [suggestion] wtf-debugging should be an RStudio Project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtf-2019-rsc.