search for: sweavelistingutils

Displaying 20 results from an estimated 24 matches for "sweavelistingutils".

2009 Sep 03
1
Sweavelistingutil: Encoding problems
...tings" looks like this (basically copied from the viginette): ,---- | %\usepackage[noae]{Sweave} | \SweaveOpts{keep.source=TRUE} | % ------------------------------------------------------------------------------- | <<SweaveListingsPreparations, results=tex, echo=FALSE>>= | require(SweaveListingUtils) | SweaveListingoptions(intermediate = FALSE) | SweaveListingPreparations(ae = FALSE) | setToBeDefinedPkgs(pkgs = c("SweaveListingUtils","distr"), | keywordstyles = c("\\bf\\color{blue}","\\bf\\color{red}")) | @Hello, I am not sure whether...
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....
2009 Jul 02
0
SweaveListingUtils --- a package for joining markup provided by TeX package 'listings' with Sweave
As indicated in some off-list mail by Frank E. Harrell Jr., the announcement of the availability of package %--------------------------------------------- SweaveListingUtils %--------------------------------------------- on CRAN, mingled into mail "New versions for the distr-family of packages" to R-pkgs from 21 Apr 2009, will probably have gone unnoticed by some people who might be interested in this package. Briefly, SweaveListingUtils provides utilities...
2009 Jul 02
0
SweaveListingUtils --- a package for joining markup provided by TeX package 'listings' with Sweave
As indicated in some off-list mail by Frank E. Harrell Jr., the announcement of the availability of package %--------------------------------------------- SweaveListingUtils %--------------------------------------------- on CRAN, mingled into mail "New versions for the distr-family of packages" to R-pkgs from 21 Apr 2009, will probably have gone unnoticed by some people who might be interested in this package. Briefly, SweaveListingUtils provides utilities...
2009 Nov 23
0
new version of distr-family of packages
...includes S4 classes and methods for elliptical symmetric distributions. ############################################## ## All packages (distr, distrEx, distrSim, distrTEst, distrTeach, ## distrMod, distrEllipse, distrDoc as well as ## startupmsg and SweaveListingUtils) ############################################## - TOBEDONE file was added as a starting point for collaborations. The file can be displayed via function TOBEDONE from package startupmsg; e.g. TOBEDONE("distr") - tests/Examples folder for some automatic testing was introduced #######...
2009 Nov 23
0
new version of distr-family of packages
...includes S4 classes and methods for elliptical symmetric distributions. ############################################## ## All packages (distr, distrEx, distrSim, distrTEst, distrTeach, ## distrMod, distrEllipse, distrDoc as well as ## startupmsg and SweaveListingUtils) ############################################## - TOBEDONE file was added as a starting point for collaborations. The file can be displayed via function TOBEDONE from package startupmsg; e.g. TOBEDONE("distr") - tests/Examples folder for some automatic testing was introduced #######...
2009 Jun 06
2
Truncated R output in Sweave
...of output to replace with ..., without showing the extra code required to do this to the user. I would want the LaTeX output, other than the omission, to appear the same as if the section were not omitted. Does anyone have an idea of how to do this elegantly? By the way I just discovered the SweaveListingUtils package by Peter Ruckdeschel (on CRAN), which produces beautifully printed R code in Sweave code chunks. I put some info about it at http://biostat.mc.vanderbilt.edu/SweaveTemplate which has our Sweave template for statistical reports. Thanks Frank -- Frank E Harrell Jr Professor and Chair...
2013 Apr 03
1
Alternativas a pgfSewave
...soporta. ¿Que alternativas hay por ahí fuera? ¿Knitr? Me suena que Yihue Xie estaba dedicando más esfuerzos a otro paquete (¿aquel que utilizaba markdown?), y no me gustaría encontrarme dentro de unos meses migrando otra vez mis documentos. Por cierto, buscando me he encontrado con el paquete SweaveListingutils [1], ¿es compatible con el uso de Knitr o la alternativa que me propongáis? Gracias por adelantado. Salud y Revolución. Lobo. [0] http://cameron.bracken.bz/who-wants-to-maintain-pgfsweave [1] http://cran.r-project.org/web/packages/SweaveListingUtils/index.html -- Libertad es poder elegir en...
2009 Apr 20
0
New versions for the distr-family of packages
...uot;distr"-family (version 2.1), i.e.; "distr", "distrEx", "distrSim", "distrTEst", "distrDoc", "distrMod", and "distrTeach", as well as our supporting package "startupmsg" and the new (supporting) package "SweaveListingUtils". [all of them require R >= 2.6.0] For details, please also refer to the NEWS file of the corresponding package, accessible via NEWS("<pkgname>") [after require(<pkgname>)] ------------------------------------------------------------------------------- Devel version...
2009 Apr 20
0
New versions for the distr-family of packages
...uot;distr"-family (version 2.1), i.e.; "distr", "distrEx", "distrSim", "distrTEst", "distrDoc", "distrMod", and "distrTeach", as well as our supporting package "startupmsg" and the new (supporting) package "SweaveListingUtils". [all of them require R >= 2.6.0] For details, please also refer to the NEWS file of the corresponding package, accessible via NEWS("<pkgname>") [after require(<pkgname>)] ------------------------------------------------------------------------------- Devel version...
2009 Jun 15
2
Sweave template
...igures are centered (but not as nicely as Marc Schwartz' approach) and better defaults are used for axis label and tick mark label positioning. Thanks to Romain Francois for providing the trick of suppressing parts of R output (replacing it with ...) and Peter Ruckdeschel for his excellent SweaveListingUtils package. Suggestions for further improvements are welcomed. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
2009 Aug 11
1
Awkward escaping with five backslashes within \code{ } in new parse_Rd
...ed as \preformatted, AFAICS is not supported within \describe environments, so I have switched to \code{} ... The issue is again the correct typesetting of \\\\\% within a \code{}-tag. This sequence occurs within a string (hence valid R code) in the documentation to my CRAN package SweaveListingUtils. So far the new parser cannot swallow such sequences of 5 backslashes followed by a percent sign correctly, but rather still throws an error; as the former parser, it can digest it if I leave a space between the fourth and fifth backslash, but then also prints this space out what is not what I wa...
2009 Jun 24
1
how to undo automatic loading of packages?
...v" "package:grDevices" "package:datasets" "package:RandVar" [5] "package:distrEx" "package:actuar" "package:evd" "package:distr" [9] "package:SweaveListingUtils" "package:sfsmisc" "package:utils" "package:stats" [13] "package:startupmsg" "package:graphics" "package:methods" "Autoloads" [17] "package:base"...
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 ### Version 1 ################################################################## \documentclass{scrartcl} \usepackage[T1]{fontenc} \...
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: + a quasi-MC trick by Nataliya Horbenko to better produce image distributions under complicated, not necessarily monotone transformations + enhanced function q...
2009 Jun 26
0
Modifying Sweave.sty to allow escapes with fancyvrb package in LaTeX
...\global l.25 } else y <- 4 The line in question is \DefineVerbatimEnvironment{Sinput}{Verbatim}{formatcom=\lstset{fancyvrb=true},commandchars=\\\{\}} Can anyone give me a pointer to how to properly change Sweave.sty to allow it to use fancyvrb in this way? I am following the model in SweaveListingUtils for having Sweave use the listings package to do pretty-printing. Thanks very much Frank Sweavel.sty: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{Sweavel}{} \RequirePackage{listings,ifthen,graphicx,fancyvrb,relsize} \RequirePackage{ifthen} \newboolean{Sweave at gin} \setboolean{Sweave at gin}{t...
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 let Perl handle es...
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: + a quasi-MC trick by Nataliya Horbenko to better produce image distributions under complicated, not necessarily monotone transformations + enhanced function q...
2013 Feb 08
0
release 2.4 of distr-family of packages on CRAN
New versions 2.4 of our distr-family of packages are submitted to CRAN and will soon be available on all mirrors (i.e.; startupmsg, SweaveListingUtils, distr, distrEx, distrDoc, distrEllipse, distrMod, distrSim, distrTEst, distrTeach) In addition, there is a new package distrRmetrics with distr support for (some) distributions provided in the Rmetrics family of packages. For more details see the corresponding NEWS files in the pkgs, e.g. news(p...
2012 Sep 25
3
error on uneven recycling?
Is there some reason why > (1:2)+(1:3) [1] 2 4 4 Warning message: In (1:2) + (1:3) : longer object length is not a multiple of shorter object length can't be made into an error? I realise it was there in S-PLUS, but since it produces a warning there can't be many examples on CRAN or Bioconductor using it, and I can't think of any situation where it would be used deliberately.