[R] listing all functions in R

Gavin Simpson gavin.simpson at ucl.ac.uk
Sat Jan 6 13:55:47 CET 2007


Dear List,

I'm building an R syntax highlighting file for GeSHi [*] for a website I
am currently putting together. The syntax file needs a list of keywords
to highlight. How can I generate a list of all the functions in a base R
installation?

Ideally the list would be formatted like this:

"'fun1', 'fun2', 'fun3'" 

when printed to the screen so I can copy and paste it into the syntax
file.

I'm sure this has been asked before, but I stupidly didn't save that
email and I couldn't come up with a suitable query parameter for
Jonathan Baron's search site to return results before timing out.

Thanks in advance,

Gav
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [t] +44 (0)20 7679 0522
ECRC                              [f] +44 (0)20 7679 0565
UCL Department of Geography
Pearson Building                  [e] gavin.simpsonATNOSPAMucl.ac.uk
Gower Street
London, UK                        [w] http://www.ucl.ac.uk/~ucfagls/
WC1E 6BT                          [w] http://www.freshwaters.org.uk/
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list