All Projects → yihui → Rlp

yihui / Rlp

Licence: other
An Example of Using Literate Programming for R Package Development

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Rlp

Drake
An R-focused pipeline toolkit for reproducibility and high-performance computing
Stars: ✭ 1,301 (+2668.09%)
Mutual labels:  makefile, r-package
Docker Redis Cluster
Dockerfile for Redis Cluster (redis 3.0+)
Stars: ✭ 1,035 (+2102.13%)
Mutual labels:  makefile
Turris Os Packages
Mirror of https://gitlab.nic.cz/turris/turris-os-packages
Stars: ✭ 42 (-10.64%)
Mutual labels:  makefile
Gc Latency Experiment
Exploring some worst-case latencies in GCs, inspired by a post on GHC's runtime pause times: https://making.pusher.com/latency-working-set-ghc-gc-pick-two/
Stars: ✭ 45 (-4.26%)
Mutual labels:  makefile
Jekyll Bootstrap4
Bootstrap 4 with Jekyll minimalistic example site
Stars: ✭ 43 (-8.51%)
Mutual labels:  makefile
Stouts.jenkins
Ansible role which manage Jenkins CI
Stars: ✭ 45 (-4.26%)
Mutual labels:  makefile
Twemoji Color Font
Twitter Unicode 13 emoji color OpenType-SVG font for Linux/MacOS/Windows
Stars: ✭ 1,006 (+2040.43%)
Mutual labels:  makefile
Docker Compose Kafka
Multi-broker Kafka cluster and Zookeeper ensemble in Docker
Stars: ✭ 47 (+0%)
Mutual labels:  makefile
Dspdump
Dump 3DS's DSP component to SD for homebrew audio.
Stars: ✭ 46 (-2.13%)
Mutual labels:  makefile
Debian Packages
debian/ folders for MATE packages
Stars: ✭ 44 (-6.38%)
Mutual labels:  makefile
Ansible Newrelic
Ansible role which installs and configures New Relic Server Monitoring Daemon
Stars: ✭ 44 (-6.38%)
Mutual labels:  makefile
Coreos Stack Bootstrap
Stars: ✭ 43 (-8.51%)
Mutual labels:  makefile
Lime processing
Low-light enhancement technology(C++)
Stars: ✭ 46 (-2.13%)
Mutual labels:  makefile
Tmwa Client Data
DEPRECATED: The data used by the ManaPlus client for the tmwAthena server used by The Mana World Legacy. All further development will take place in the "client-data" repo.
Stars: ✭ 42 (-10.64%)
Mutual labels:  makefile
Android device oneplus enchilada
Stars: ✭ 47 (+0%)
Mutual labels:  makefile
Trec Data
scripts to download and standardize trec query and document sets
Stars: ✭ 42 (-10.64%)
Mutual labels:  makefile
Perfectdemo
使用Swift的Perfect开发Web服务端
Stars: ✭ 44 (-6.38%)
Mutual labels:  makefile
Vainglory Assets
Community provided art, schemas, and other assets that make using the Vainglory API easier
Stars: ✭ 45 (-4.26%)
Mutual labels:  makefile
Getlandsat
get landsat 8 images and metadata
Stars: ✭ 47 (+0%)
Mutual labels:  r-package
Textnormalizationcoveringgrammars
Covering grammars for English and Russian text normalization
Stars: ✭ 46 (-2.13%)
Mutual labels:  makefile

rlp

Build Status

This is an example package of using Literate Programming for developing R packages. Most R package authors probably write R code in the R scripts under the R/ directory, and use comments to explain code. This package shows that you do not have to develop a package in this way. You may write R code in R Markdown documents, and extract the code to the R/ directory automatically via knitr::purl(). At the same time, you will get a nicely formatted output document displaying the source code chunks as well as the text/prose chunks, and this output document can be a package vignette. Please see the package homepage for more details: http://yihui.org/rlp. This package is licensed under MIT, and you are welcome to file issues or submit pull requests.

Acknowledgements

This approach is not possible (at least not easy) without a few important components in the toolchain:

  • The support for non-Sweave vignettes since R 3.0.0, which has opened far more possibilities than I originally imagined;
  • The RStudio IDE, which allows us to build an R package by clicking a button;
  • The rmarkdown package, which generates beautiful HTML/PDF output;
  • GNU make, which makes it easy to define how and when to compile a file;

Let me also thank whomever invented holidays, which is often my most productive time. Oh I cannot live without holidays.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].