The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
This vignette covers the essential aspects of managing an
rmake project, including project initialization, running
the build process, cleaning up generated files, and executing builds in
parallel.
For an introduction to rmake concepts and basic usage, see the Getting Started with rmake vignette. For detailed information on rule types, see the Build Rules vignette. For advanced features like tasks and templates, see the Tasks and Templates vignette.
To start maintaining an R project with rmake, create a
script Makefile.R that generates the Makefile.
Start from a skeleton:
This creates two files: - Makefile.R - R script with
rule definitions - Makefile - Generated Makefile
Initial Makefile.R:
Execute make from within R:
Or from shell:
In RStudio: 1. Build > Configure Build Tools 2. Set Project build tools to Makefile 3. Use Build All command
Delete all generated files:
Each rule automatically adds commands to delete its target files. The
Makefile itself is never deleted.
GNU Make supports parallel execution with the -j
option:
From shell:
This vignette covered the basics of managing an rmake
project:
rmakeSkeleton() to create initial project filesmake() from R
or make from shell, or use RStudio’s build toolsmake("clean") to
remove generated filesmake("-j8") to
run multiple targets simultaneouslyFor more information on related topics, see these vignettes:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.