search for: lgrind

Displaying 4 results from an estimated 4 matches for "lgrind".

Did you mean: grind
2005 Aug 22
1
An lgrind definition for the S language
I seem to recall discussion of an language definition file for S for use with the lgrind utility but I can't find any trace of it in an R Site Search. The lgrind utility takes a file of code in a particular programming language and prepares it for "pretty printing" in LaTeX. In my version the available language definitions are $ lgrind -s When specifying a language cas...
2000 Apr 26
1
Writing lgrindefs
Dear all, I'm writing a lgrind definition for R. Lgrind is a program to produce pretty program listings for inclusion in LaTeX documents. Does anybody here have any experience with lgrindefs? My definition now looks like this: R:\ :pb=^\d?\p\d<-\dfunction\(\a\):\ :bb={:be=}:cb=\d#:ce=$sb=":se=\e":lb=':le=\e...
2000 Apr 26
1
Writing lgrindefs
Dear all, I'm writing a lgrind definition for R. Lgrind is a program to produce pretty program listings for inclusion in LaTeX documents. Does anybody here have any experience with lgrindefs? My definition now looks like this: R:\ :pb=^\d?\p\d<-\dfunction\(\a\):\ :bb={:be=}:cb=\d#:ce=$sb=":se=\e":lb=':le=\e...
2000 May 01
6
including r code in a latex file
Dear R people, The header practically says it all. I was wanting to include r code in a Latex file. Since R code using{ and }, which are interpreted by Latex as control characters, I would expect it to get upset. I believe that \{ would probably print as {, but I hoping I don't have to go through the code and add lots of \. I would rather use some global commannd, along the lines of