similar to: SweaveListingUtils --- a package for joining markup provided by TeX package 'listings' with Sweave

Displaying 20 results from an estimated 500 matches similar to: "SweaveListingUtils --- a package for joining markup provided by TeX package 'listings' with Sweave"

2009 Apr 20
0
New versions for the distr-family of packages
------------------------------------------------------------------------------- New versions released for the distr family of package ------------------------------------------------------------------------------- We would like to announce the availability on CRAN (with possibly a minor delay until on every mirror) of new versions of our packages in the "distr"-family (version 2.1),
2009 Apr 20
0
New versions for the distr-family of packages
------------------------------------------------------------------------------- New versions released for the distr family of package ------------------------------------------------------------------------------- We would like to announce the availability on CRAN (with possibly a minor delay until on every mirror) of new versions of our packages in the "distr"-family (version 2.1),
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
Dear expeRts, What's a 'good' (nice-looking, easy-to-read) setup for the LaTeX package 'listings' to display R code? The two versions below are partly inspired by the settings of the package SweaveListingUtils and http://r.789695.n4.nabble.com/R-How-to-format-R-code-in-LaTex-documents-td816055.html Any suggestions, comments, or improvements are welcome. Cheers, Marius ###
2009 Sep 03
1
Sweavelistingutil: Encoding problems
Hello, I am not sure whether this is a bug or lack of R experience. However, I am using your Sweavelistingutil package, which is very nice. Obviously I use it to create LaTeX files. These are encoded in utf8. However, when I use the Sweavelistingutil is uses some funky character for "`" and "'" that is not recognized. Here is an example from my tex-file: ,---- |
2009 Jun 26
0
Modifying Sweave.sty to allow escapes with fancyvrb package in LaTeX
Dear Colleagues: In an attempt to have things like # See page \pageref{this} inside comments in R code chunks I have modified Sweave.sty as below. I have followed fancyvrb's manual with regard to the use of the commandchars argument. But when compiling with LaTeX (using attached test file) I get a LaTeX error (/usr/share/texmf-texlive/tex/latex/ae/t1aett.fd) ! Missing \endcsname
2006 Sep 25
3
Best use of LaTeX listings package for pretty printing R code
This is what I have been using. Does anyone have a better way? In particular I would like to see letters in comment strings not stretched so much. Thanks -Frank \documentclass{article} \usepackage{listings,relsize} \lstloadlanguages{R} \newcommand{\lil}[1]{\lstinline|#1|} \begin{document} \lstset{language=R,basicstyle=\smaller,commentstyle=\rmfamily\smaller, showstringspaces=false,%
2009 Jul 13
3
SweaveListingUtils question
Hello, recently I read about the SweaveListingUtils package and now I want to try it out. However, I can not make it work... Below a minimal example. The problem seems to be the following line (generated by SweaveListingPreparations()?): \ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.6\textwidth}}{}% If I comment out this line, it works. What can I do about this? I am using the
2011 Nov 23
1
R-latex syntax highlighting?
Hello, Can anyone provide or point me to a good setup for the listings latex package that would produce nice R-syntax highlighting? I am using an example I found in internet for setting up listings like this: \lstset{ language=R, basicstyle=\scriptsize\ttfamily, commentstyle=\ttfamily\color{gray}, numbers=left, numberstyle=\ttfamily\color{red}\footnotesize, stepnumber=1, numbersep=5pt,
2004 Apr 26
1
need settings for the listings package
Hi, I am typesetting R code in TeX using the listings package. I have experimented with various settings for the text, but all look a bit ugly. This might be because I have no typographic experience ;-) I would really appreciate if people sent me the settings they use for the listings package (eg in the \usepackage line, or \lstset, I am thinking about choices for basicstyle, ... etc). I
2009 Nov 23
0
new version of distr-family of packages
The new version 2.2 of our distr-family of packages has now been available on CRAN for several days. As there were many changes we will only sketch the most important ones here. For more details see the corresponding NEWS files (e.g. news(package = "distr") or using function NEWS from package startupmsg i.e. NEWS("distr")). First of all a new package distrEllipse was added
2009 Nov 23
0
new version of distr-family of packages
The new version 2.2 of our distr-family of packages has now been available on CRAN for several days. As there were many changes we will only sketch the most important ones here. For more details see the corresponding NEWS files (e.g. news(package = "distr") or using function NEWS from package startupmsg i.e. NEWS("distr")). First of all a new package distrEllipse was added
2008 Oct 17
1
R-code in Latex --- $ sign causes error
hi, here's what i have: \lstset{ basicstyle=\ttfamily, keywordstyle=\bfseries, showstringspaces=false, columns = fullflexible, mathescape = true, language=R } \begin{lstlisting} lst$val<-val \end{lstlisting} ./software.tex:16:Extra }, or forgotten \endgroup. lst$ the culprit here is the $ sign. thanks. ps: i'm posting here rather than Latex is bec i guess an R user is
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola! I ask here since I learnt from this list that the LaTeX package listings should be good for typesetting R code. I encountered one problem: \begin{lstlisting} X %*% V \end{lstlisting} in the output the * in %*% disappears! same with %/%, etc, the / disappears. Any ideas? Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. --
2009 Jun 15
2
Sweave template
Dear Group, I have made significant improvements to our Sweave template, have made the template self-contained (i.e., you can run it yourself and it will find the datasets it needs), and have included the output pdf file. This is at http://biostat.mc.vanderbilt.edu/SweaveTemplate . You will see in the pdf file the enhancements in how R code is pretty-printed, and I have added an example
2009 Aug 11
1
Awkward escaping with five backslashes within \code{ } in new parse_Rd
Hi R-devels, I noticed that you are working quite actively on the new Rd-parser and have made it the default renderer in R-2.10.0dev. So I would like to come back on an issue I have already raised on this list last November ("Two minor escaping issues using \preformatted{....} in Rd format") My setting has slightly changed as \preformatted, AFAICS is not supported within \describe
2009 Jun 06
2
Truncated R output in Sweave
Dear Colleagues: In producing a book or a handout I sometimes cut out a large part of the printed output of an R function, substituting ... for that chunk. Deleting non-essential output saves paper. It would be nice to have a capability in Sweave to allow the user to specify a starting and an ending regular expression that would identify consecutive lines of output to replace with ...,
2013 Apr 03
1
Alternativas a pgfSewave
Hola a todos: Con la entrada de R 3.0 en Debian Sid me acabo de llevar la sorpresa de que pgfSweave ya no esta mantenido [0]. He intentado compilarlo pero depende de otros paquetes que también se encuentran en el archivo: highlight y parser. En concreto este último falla al compilar (y ahí se acaba el intento). Estaba utilizando pgfSweave por la facilidad para incluir gráficos en Tikz -sin
2009 Jun 28
0
Sweave findings
Dear Group: After struggling with escape sequences using the LaTeX listings package (used by the R SweaveListingUtils package), I have come to the conclusing that listings' interaction with the LaTeX fancyvrb package prevents escapes such as plot(x) # See Figure \ref{my.plot} The only way I could solve the problem in general is to use a Perl script to pretty-print the R code, and to
2011 Jan 26
0
New package versions for distr- and robast- families
------------------------------------------------------------------------ ------------------------------------------------------------------------ New versions 2.3 of our distr-family of packages are now available on CRAN. (i.e.; startupmsg, SweaveListingUtils, distr, distrEx, distrDoc, distrEllipse, distrMod, distrSim, distrTEst, distrTeach) Most importantly, we have included: +
2011 Jan 26
0
New package versions for distr- and robast- families
------------------------------------------------------------------------ ------------------------------------------------------------------------ New versions 2.3 of our distr-family of packages are now available on CRAN. (i.e.; startupmsg, SweaveListingUtils, distr, distrEx, distrDoc, distrEllipse, distrMod, distrSim, distrTEst, distrTeach) Most importantly, we have included: +