Displaying 20 results from an estimated 1000 matches similar to: "translation with Rd.sty, Sweave and tex4th (PR#8016)"
2002 Nov 13
1
Package documentation and rd.sty
Hi all,
I've got a basic question regarding package documentation and rd.sty. I
wrote my first own package, and now I would like to place the documentation
into the appendix of another LaTex document. Seemingly I cannot simply
\usepackage{Rd}, as this will modify the page-settings of my document. Is
there a minimum style file which will just define the environments and
commands needed for
2009 Oct 01
2
Rd.sty question: LaTeX expert needed
The Rd.sty LaTeX package is used when building the R manuals, and by the
LaTeX pages produced from the man pages.
I have tracked down some problems G?bor Cs?rdi was having recently (see
"Re: [R] preformatted and '#' in manual pages" in R-help) to a LaTeX
problem, and am trying to work out how to fix it.
Specifically, the .Rd file he was using had a structure like
\dQuote{
2008 Nov 14
1
Line breaks in mathematical formulae in Rd files (PR#13287)
Hi,
This is a problem about writing R documentation (R-exts 2.6). The
command "\deqn" defined in "Rd.sty" is:
\newcommand{\deqn}[2]{\[#1\]}
which will put mathematical formulae in the "displaymath" environment;
that means line breaks are not allowed (or will not be shown) in
formulae, but sometimes we do need multiple lines of formulae. One
solution is to write
2005 May 06
1
Latex can not find Rd.sty
Hi,
Lately my Latex engine used for checking packages stop working, and I can
not figure out how to fix it.
When creating my package (caMassClass) I get the
* checking caMassClass-manual.tex ... ERROR
LaTeX errors when creating DVI version.
This typically indicates Rd problems.
message. I look in caMassClass-manual.log file and find
! LaTeX Error: File `Rd.sty' not found.
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
Dear guRus,
I would like to loop over a medium amount of Sweave code, including both R and LaTeX chunks. Is there any way to do so? As an illustration, can I create a .tex file like this using a loop within a .Rnw file, where the "1,2,3" comes from some iteration variable in R?
################################################
\documentclass{article}
\usepackage{Sweave}
\begin{document}
2012 Apr 04
3
Rgui maintains open file handles after Sweave error
Hello Folks,
When I run the document below through sweave, rgui.exe/rsession.exe
leaves a file handle open to the sweave-001.pdf graphic (as verified by
process explorer). Pdflatex.exe then crashes (with a Permission Denied
error) because the graphic file is locked.
This only seems to happen when there is an error in the sweave document.
When there are no errors, no file handles are left open.
2005 Feb 10
2
Problem with "R CMD Rd2dvi": Rd.sty not found
Hi,
I run into a problem with "R CMD Rd2dvi" command: it gives me "File `Rd.sty'
not found" error (See the output message on the bottom). I get the same
error when running "RCMD check". My system is: Windows 2000, R version
2.0.1, MiKTeX version 2.4. I do have a Rd.sty file in R_HOME/share/texm
directory.
I looked through newsgroups for any related discussions
2003 Dec 23
1
Rd.sty not found -
Hi
I am still trying to wrap up a package using Rcmd (in windows 2000 professional with R 1.8.1). I have made some progress - and now at least Rcmd check works - it still giving me an error message when it creates latex help files though. Thus I get:
c:\rpack> Rcmd check test
* checking for working latex ... OK
* using log directory 'C:/rpacks/test.Rcheck'
* checking for file
2005 Apr 18
1
Rd.sty problems.
Hi All,
I am trying to build a new R package to submit, but it's failing to
create a tex manual:
R CMD check Biodem
* checking for working latex ... OK
* using log directory
'/home/greatsage/Fede/R-packages/temp/Biodem.Rcheck'
* checking for file 'Biodem/DESCRIPTION' ... OK
* checking if this is a source package ... OK
* Installing *source* package 'Biodem' ...
** R
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
2013 Mar 25
1
Rd.sty not found
I'm trying to build and check a new package. But keep getting the
warning:
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
When I go into the package.Rcheck directory,
package-manual.pdf is created.
however if I do a pdflatex on package.tex I get the following:
This is pdfTeX, Version 3.1415926-2.4-1.40.13
2005 May 03
1
Rd.sty error
I had written a vignette and included a
\usepackage{Rd} command to make it possible to include
latex'ed Rd files in the vignette. However, when loading
Rd.sty texShop produces the following error:
l. 180 ...d}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi}
This is on Max OS X 3.9 and R 2.0.1
Has anyone seen this before and/or is it problematic? I'm not sure whether
the output suffers from this
2004 Jul 01
1
\middle in Rd.sty conflicts with newer LaTeX?
Rd.sty defines
\newlength{\middle}
which seems to be in conflict with the my latex installation.
Here is a minimal example:
\documentclass{article}
\newlength{\middle}
\begin{document}
\end{document}
It runs fine on a Linux box:
carp:136% latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
(test.tex
LaTeX2e <2000/06/01>
Babel <v3.7h> and hyphenation patterns for american,
1998 Jul 05
0
R-beta: Suggestion for a very minor change to Rd.sty
Dear R gurus and users,
for some functions in some of the many packages available for R, with
the current definition of \Header given in Rd.sty, the heading bumps
into the surrounding words in documentation printed via LaTeX. To
alleviate this minor typographical mishap, I'd like to suggest the
change to R/doc/manual/Rd.sty included below as a context diff. With
this minor diff applied, the
2013 Aug 28
1
Error when using buildVignettes()
Dear all,
When running function 'testQAReport()', which uses function
'buildVignettes()' to create a pdf-file I get the following error:
> source("testQAReport.R")
> testQAReport()
Error in .get_package_metadata(pkgdir) :
Files 'DESCRIPTION' and 'DESCRIPTION.in' are missing.
Since I did not get this error in earlier versions of R, could you
2008 Dec 29
1
kvoptions.sty
On an new install of Ubuntu 8.10 64bit, I am having trouble with make
check-all checking package 'survival' and elsewhere:
l.100 \fontencoding\encodingdefault\selectfont
! LaTeX Error: File `kvoptions.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
! Emergency stop.
<read *>
l.2231
2011 May 21
1
dealing with sweave.sty and pgfSweave
Hi,
I would appreciate some help with a very basic problem in using pgfSweave. That
is, dealing with the sweave.sty file. After some googling, I did the following :
(1) copied the sweave.sty file to my trial folder and (2) added the line??
\usepackage{Sweave}?? to the Rnw file. Are there more elegant ways of dealing
with this issue?
I have read something about letting Miktex know about the
2018 May 25
2
Rd parser throws error for user macros invoked with empty argument
While on the topic of Rd macro arguments, it seems that if a multiline argument is supplied, the lines after the first are silently ignored:
f <- tempfile()
mac6 <- "\\newcommand{\\mac6}{mac6: #1}"
cat(mac6, "\\mac6{2*3
2+2
sin(pi)
}\n", file = f)
rd <- tools::parse_Rd(f)
> rd
mac6: 2*3
---
Georgi Boshnakov
-----Original Message-----
From: Tomas Kalibera
2014 Apr 10
1
! LaTeX Error: File `zi4.sty' not found.
R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance"
When running R CMD check mypackage.
the check fails with :
! LaTeX Error: File `zi4.sty' not found.
a search for this error forwards to similar errors but with an
inconsolata.sty file.
--
Witold Eryk Wolski
2010 Sep 14
4
Sweave and Miktex (Sweave.sty not found)
Hi all,
I know from googling that this is a common problem; I've just tried what I
understand to be the common solutions to know avail -- maybe I'm just
confused.
I installed Miktex 2.8 -- it seems to be working fine.
I'm using this demo document: http://www.stat.berkeley.edu/~houston/demo.Rnw
I've copied the Sweave.sty file into at this point multiple places on the
Miktex