make_def(variable, definition, operator = "=")
[character(1)]
Variable name[character(1)]
Definition for this variable[character(1)]
Which operator to use, default:
=
MakefileR_def
A variable definition in a Makefile
consists of a variable name
and its defition. Both are separated by the equality sign =
.
No quoting is applied to the definition by this function. Currently, both variable and definition are required to be character values of length one.
Use the
c
function or the +
operator
to append definitions to groups and Makefiles.
make_def("R_USER_LIBRARY", .libPaths()[[1L]])R_USER_LIBRARY=/usr/local/lib/R/site-librarymakefile() + make_def("R_USER_LIBRARY", .libPaths()[[1L]])# Generated by MakefileR, do not edit by hand R_USER_LIBRARY=/usr/local/lib/R/site-library