Displaying 20 results from an estimated 100 matches similar to: "Sweavelistingutil: Encoding problems"
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
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 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
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
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
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 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 24
1
how to undo automatic loading of packages?
I wanted to try out package distrMod, so I did
> install.packages('distrMod')
> library(distrMod)
and played around, saved and quit.
Now whenever I start up in this directory, I get distr and lots of other
stuff loaded and lots of messages.
How do I keep it from automatically loading, other than starting over in
another directory?
I read ?Startup, but I couldn't suss out
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 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.
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
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
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:
+
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
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