I attach "R.ssh", an a2ps style sheet for pretty R printing (submitting to CRAN would be the overkill :-) Torsten ***************************************************************** * * * Torsten Hothorn, Statistician * * at the moment: Institut fuer Statistik, TU Wien * * Tel: 0043 1 58801 10772 * * Fax: 0043 1 58801 10798 * * * ***************************************************************** -------------- next part -------------- # This is a R sheet style R is written by "Torsten Hothorn <hothorn at ci.tuwien.ac.at>" version is 0.1 requires a2ps 4.9.5 documentation is "Creates pretty R-code postscript files." end documentation alphabets are "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_#$%=-&/" case sensitive # ancestors are # c # end ancestors sequences are "#" Comment, "\"" Plain String "\"" Plain # exceptions are # /\\\\,/ # end exceptions end sequences keywords in Keyword_strong are if, then, else, break, while, for, function, next, return, FALSE, TRUE end keywords operators are <- \leftarrow end operators optional sequences are < Plain Keyword > Plain end sequences end style
R sheet for a2ps
2 messages · Torsten Hothorn, Kjetil Kjernsmo
On Thu, 9 Mar 2000, Torsten Hothorn wrote:
I attach "R.ssh", an a2ps style sheet for pretty R printing (submitting to CRAN would be the overkill :-)
Great stuff! BTW, I just ask myself today if something like a definition file for e.g. lgrind existed for R? Best, Kjetil
Kjetil Kjernsmo Graduate astronomy-student Problems worthy of attack University of Oslo, Norway Prove their worth by hitting back E-mail: kjetikj at astro.uio.no - Piet Hein Homepage <URL:http://www.astro.uio.no/~kjetikj/> Webmaster at skepsis.no -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._