⚠️There's a newer version (0.1.4) of this package. Take me there.

folderfun: Manage disks with R folder functions

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:

d = read.table("/long/and/annoying/path/to/hard/coded/file/data.txt")

to this:

d = read.table(ffIn("data.txt"))

Installing

devtools::install_github("databio/folderfun")

Quick start

See the vignettes for more information: http://code.databio.org/folderfun

Copy Link

Version

Down Chevron

Install

install.packages('folderfun')

Monthly Downloads

45

Version

0.1.2

License

BSD_2_clause + file LICENSE

Last Published

June 12th, 2019

Functions in folderfun (0.1.2)