https://github.com/databio/folderfun
Manage distributed input and output data locations in R with folder functions
https://github.com/databio/folderfun
Last synced: 3 months ago
JSON representation
Manage distributed input and output data locations in R with folder functions
- Host: GitHub
- URL: https://github.com/databio/folderfun
- Owner: databio
- License: other
- Created: 2018-05-17T18:09:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T17:08:58.000Z (over 4 years ago)
- Last Synced: 2024-09-12T04:08:00.380Z (5 months ago)
- Language: R
- Homepage: http://code.databio.org/folderfun/
- Size: 81.1 KB
- Stars: 7
- Watchers: 17
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - databio/folderfun - Manage distributed input and output data locations in R with folder functions (R)
README
# `folderfun`: Manage paths with R folder functions
[](https://travis-ci.org/databio/folderfun)If you find yourself working on multiple different projects in R, you'll want to sort your input data and output results into folders containing raw data, processed data, plot results, intermediate table outputs, etc. This package makes it easier to do that by providing a quick and easy way to create and use functions for any directories, so you don't have to deal with annoying hard-coded absolute paths.
Go from this:
```{r}
d = read.table("/long/and/annoying/path/to/hard/coded/file/data.txt")
```to this:
```{r}
d = read.table(ffIn("data.txt"))
```## Installing
```{r}
devtools::install_github("databio/folderfun")
```## Quick start
See the vignettes for more information: http://code.databio.org/folderfun