highlight.def {animation} | R Documentation |
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.
highlight.def(file = "r.lang")
file |
the path of the output definition file. |
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’.
None.
Yihui Xie
Highlight by Andre Simon: http://www.andre-simon.de/
# generate the definition file in getwd() highlight.def() # include functions in package 'animation' library(animation) highlight.def()