https://github.com/ghuiber/syncR
Sync your R packages across your computers
https://github.com/ghuiber/syncR
Last synced: 5 months ago
JSON representation
Sync your R packages across your computers
- Host: GitHub
- URL: https://github.com/ghuiber/syncR
- Owner: ghuiber
- Created: 2014-07-01T16:47:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-01T16:17:39.000Z (almost 7 years ago)
- Last Synced: 2024-08-13T07:14:31.891Z (8 months ago)
- Language: R
- Size: 203 KB
- Stars: 10
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - ghuiber/syncR - Sync your R packages across your computers (R)
README
syncR
=====Sync your R packages across your computers.
This package assumes that you use an online backup service such as [Dropbox](https://www.dropbox.com) or [SpiderOak](https://spideroak.com/) that keeps a directory synced across your computers (such as [SpiderOak Hive](https://spideroak.com/hive/)).
The `syncR` package gives you the `syncPacks()` function which keeps tabs on which packages you have in your usual R library folder on each computer that has access to the synced directory. It then makes an effort to install any packages that are missing on your current computer but are present on others.
You do not need to keep your R package library anywhere in particular. The `syncR` package finds it wherever it is, using the internal function `getMyBearings()`.
Installation: `devtools::install_github('ghuiber/syncR')`. On Windows you may need to restart R to get to the help files.
#### A thought
If the set of `.Rdata` files that `syncPacks()` updates on the synced folder were also tracked in GitHub, you could also tell which R version and set of packages you had at any specific point in the past, and revert to them if needed. And if more of the output of `getMyBearings()` were saved, you could also keep track of your hardware configuration over time.