highlight.def: Create R definition file for the software Highlight
Description
The default definition file for R in Highlight is somewhat incomplete, and this function is to dynamically generate such a file according to packages in the search path.
Usage
highlight.def(file = "r.lang")
Arguments
file
the path of the output definition file.
Value
None.
Details
First all the functions are listed out by ls; then some constants and operators are removed from this long list; at last these characters are written into the file.
References
Highlight by Andre Simon: http://www.andre-simon.de/