Displaying 20 results from an estimated 6000 matches similar to: "Rd parsing"
2011 Nov 25
1
Problem with & question about \preformatted in .Rd
Hi,
The "\preformatted" environment in Rd files doesn't seem to escape
long sequences of backslashes properly when converted to pdf (LaTeX)
documentation. I'm running R version 2.14 (from subversion, revision
57751) on Linux (RHEL). Here's an example from the command line:
echo
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C3BE9C.3FB5BC1A
Content-Type: text/plain; charset="iso-8859-1"
There is a small bug in the implementation of \preformatted in R 1.8.0:
The closing "\end{verbatim}" needs to be followed by a newline, since my
latex
2009 Oct 10
2
Possible bug in the Rd parser?
Dear list,
I got an automatic email complaining than some of my packages didn't
pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of
the "cases" LaTeX environment.
Inspecting the log outputs I got:
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Misplaced alignment tab
2006 Jan 14
0
Rd file--latex {array} help
I am trying to build the notation for combination as the function
\code{choose} in a *.Rd file; but it is not working.
To reduce to essence
\deqn{ \left( \begin{array}{c}
r-1 \\
n
\end{array} \right)
}
I have double checked the latex logic (without \deqn{}) in LaTexIT on
MacOSX so it seems fine.
I've read the R-ext.pdf and down some searching in
2008 Aug 25
1
Displaying Equations in Documentation
I'm currently working on writing up some documentation for some of my
code, but am having the darndest time coding in equations. For
example, the equation in the following:
\details{ Calculated the R Squared for observed endogenous variables
in a structural equation model, as well as several other useful
summary statistics about the error in thoe variables.
R Squared values are
2007 Jul 26
2
Rd2dvi (PR#9812)
Is this a bug--
-------------------------------------------------------------------------------
<234>% R CMD Rd2dvi base.Rd
Converting Rd files to LaTeX ...
base.Rd
Can't use an undefined value as filehandle reference at
/opt/R-2.5.1/lib/R/share/perl/R/Rdconv.pm line 78.
ENCS is
Creating dvi output from LaTeX ...
Saving output to 'base.dvi' ...
cp: cannot access
2000 Apr 17
3
Maths in R documentation (PR#523)
The document R-exts contains the following example of using
mathematics in R documentation.
\deqn{p(x) = {\lambda^x\ \frac{e^{-\lambda}}{x!}}
{p(x) = lambda^x exp(-lambda)/x!}
There is a syntax error in there, but that's not my point.
The problem is that using "R CMD Rd2dvi" I find that putting
the alternate forms of the equation on top of each other doesn't
work.
2003 Dec 11
1
Using \leq for <= in Rd files
Hi,
When writing formulae in Rd files I use \leq to get a less-than-or-equal-to
sign, as this is what the LaTeX references I consulted suggested. This works
correctly for the PDF output (Rcmd Rd2dvi.sh --pdf), however when the Rd
file is converted to text or html this command is converted to "<=q".
A workaround is to use \le instead of \leq which works with my LaTeX
distribution
2005 Sep 15
4
Rd and guillemots
First of all, thanks to those who've set up R to work so smoothly with
Miktex-- even a total Latex bunny like me got it to work instantly, so
that for the first time I'm able to run my Rd files through the Latex
side of RCMD CHECK.
Now the question/buglet. One of my Rd files contains the following:
\code{mlazy( <<objname1>>, <<objname2>>, <<etc>>)}
2005 Jun 15
1
umlauts in Rd files
Hi
I'm having difficulty following the advice in section 2.7 of R-exts.
In one of my packages, there is a function called mobius().
I want to refer to it in the Rd file as the M??bius function, and to
illustrate the
M??bius inversion formula (just to be explicit: this is "Mobius" but
with two dots over the second letter).
R-exts section 2.7 gives
\enc{J??reskog}{Joreskog}
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
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 Apr 28
1
help files and vignettes
Hi all,
I'm writing a vignette for my package, and I would like to include some of
the package help files in there as well. Is there an easy way of doing so?
I tried using R CMD Rdconv to generate latex files from .Rd files but I am
not sure how to include these into a .Rnw file (ie the vignette source). The
resulting file from Rdconv do not readily compile using latex ...
The other option I
2002 Feb 01
1
Rcmd Install gives Bad command or file name (PR#1296)
Dear Team,
Don't understand output below. Please advise. Windows98 and
rw1041(patched) from 1/25/02.
Graham Lawrence
C:\>PATH=C:\bin;C:\mingw32;C:\Perl;C:\HtmlWork;C:\R\rw1041\bin;C:\Tcl;C:\Tcl\bin
C:\>Rcmd INSTALL C:\R\lattice_0.4-0.tar.gz
Bad command or file name
C:\>Rcmd
C:\>Rcmd Install
Bad command or file name
C:\>dir C:\R\rw1041\bin
Volume in drive C has no
2006 Aug 10
5
Ampersand Heartburn
Greetings all.
I''m using the Microsoft "NorthWind Traders" database "orders" table as
test data for the Rico LiveGrid JavaScript.
The problem I''m noticing is that some of the records in the "ShipName"
field contain ampersands -- which for some reason are not being escaped
by Rails.
Rails does in fact automatically escape all of the other
2009 Apr 17
0
R 2.9.0 is released
I've rolled up R-2.9.0.tar.gz a short while ago. This is a development
release which contains a number of new features.
Also, a number of mostly minor bugs have been fixed. See the full list
of changes below.
You can get it (later today) from
http://cran.r-project.org/src/base/R-2/R-2.9.0.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. In case of
impatience, try
2009 Apr 17
0
R 2.9.0 is released
I've rolled up R-2.9.0.tar.gz a short while ago. This is a development
release which contains a number of new features.
Also, a number of mostly minor bugs have been fixed. See the full list
of changes below.
You can get it (later today) from
http://cran.r-project.org/src/base/R-2/R-2.9.0.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. In case of
impatience, try
2004 Nov 19
1
Rd and document formatting
I am trying to compose some documentation for a package I hope to release
soon.
However when I do the following:
R CMD Rd2dvi --pdf mypackage.Rd
I get two mainly blank pages prepended to the top of the document - the only
text on either (at the top of the first page) is as follows:
hyperindex,colorlinks,pagebackref,linktocpage,plainpages=false,linkcolor=Blue
2006 Mar 17
0
Using a New Builder Version
Hey, folks!
It looks like the version of Builder that''s included with Rails
doesn''t properly escape characters like ampersand in attribute
values, while the current version of Builder (2.0) does.
I''d like to use this new Builder gem, but I can''t seem to get it to
work. I''ve included the following lines at the top of the controller
that needs
2000 Jun 22
2
Intermediate LaTeX output generated by R CMD Rd2dvi
Is there any way of getting just the LaTex output which
R CMD Rd2dvi
generates on the way to produces a .dvi file,
which could then be incoorporated into another
document?
Thanks,
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330372
Institute of Public Health FAX 01223 330388
University Forvie Site