search for: sweavelistingoptions

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

2009 Sep 03
1
Sweavelistingutil: Encoding problems
...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 this is a bug or lack o...
2009 Jul 13
3
SweaveListingUtils question
...ple \documentclass[9pt]{beamer} \usepackage{fancyvrb} \usepackage{listings} % choose language and char set \usepackage[ngerman]{babel} \usepackage[ansinew]{inputenc} % \SweaveOpts{prefix.string=Routput/parcel, keep.source=TRUE} \begin{Scode}{results=tex, echo=FALSE} require(SweaveListingUtils) SweaveListingoptions(intermediate = FALSE) SweaveListingPreparations() \end{Scode} \begin{document} \begin{frame}[fragile] \frametitle{Your title} \begin{lstlisting}options(digits=3) set.seed(1) require(Hmisc) age <- rnorm(1000,50,10) sex <- sample(c('female','male'),1000,TRUE) out <- hi...