powered by
A variable definition in a Makefile consists of a variable name and its defition. Both are separated by the equality sign =.
Makefile
=
make_def(variable, definition, operator = "=")
An object of class MakefileR_def
MakefileR_def
[character(1)] Variable name
[character(1)]
[character(1)] Definition for this variable
[character(1)] Which operator to use, default: =
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.
c
+
https://www.gnu.org/software/make/manual/
makefile, make_group
makefile
make_group
Other items: make_comment(), make_group(), make_rule(), make_text()
make_comment()
make_group()
make_rule()
make_text()
make_def("R_USER_LIBRARY", .libPaths()[[1L]]) makefile() + make_def("R_USER_LIBRARY", .libPaths()[[1L]])
Run the code above in your browser using DataLab