search for: commentchar

Displaying 2 results from an estimated 2 matches for "commentchar".

2009 Mar 17
1
Combining Sweave and fancyvrb
...n help me. The following is a sample Rnw file: the first part shows what I would like to get, the second what I tried but didn't work. \documentclass[12pt]{article} \usepackage{/usr/local/R-2.7.0-inst/share/texmf/Sweave} \usepackage{fancyvrb} \DefineVerbatimEnvironment{Rcode}{Verbatim}{% commentchar=@, frame=lines, label=\textrm{\bf R code}, numbers=left, framesep=10pt, fontshape=sl, commandchars=\\\{\}} \SweaveOpts{keep.source = TRUE} \begin{document} I would like to produce something like the following, but using Sweave. Note the label on line \ref{Rcode:sum}. \begin{Rcode} > y <...
2004 Jun 29
10
naive question
I have a 100Mb comma-separated file, and R takes several minutes to read it (via read.table()). This is R 1.9.0 on a linux box with a couple gigabytes of RAM. I am conjecturing that R is gc-ing, so maybe there is some command-line arg I can give it to convince it that I have a lot of space, or?! Thanks! Igor