Learn R Programming

rmake (version 1.2.0)

rmakeSkeleton: Prepare existing project for building with rmake.

Description

This function creates a Makefile.R with an empty rmake project and generates a basic Makefile from it.

Usage

rmakeSkeleton(path)

Arguments

path

Path to the target directory where to create files. Use "." for the current directory.

Author

Michal Burda

See Also

makefile(), rule()

Examples

Run this code
# creates/overrides Makefile.R and Makefile in a temporary directory
rmakeSkeleton(path=tempdir())

Run the code above in your browser using DataLab