similar to: Rd file--latex {array} help

Displaying 20 results from an estimated 10000 matches similar to: "Rd file--latex {array} help"

2009 May 05
0
Rd parsing
On 05/05/2009 5:04 AM, robin hankin wrote: > Hi Duncan > > I asked this question to R-devel, and there was no reply, so I thought > I'd ask you > directly. Any ideas? > > best wishes > > Robin > > > > > I am having difficulty including a LaTeX formula in an Rd > file. > > The example given in section 2.7 in 'Parsing Rd files'
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
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.
2006 Apr 30
2
Package docs for CRAN
CRAN et al., I would like to add an extented introduction or other arbitrary sections to my package lmomco. I have been shipping inst/doc/Introduction.Rd. I would like to have this content inserted to the front of the PDF build for the CRAN. The R-exts.pdf seems to be a little silent on this subject? For my purposes, I have been doing this R CMD Rd2dvi --pdf
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
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
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
2010 Mar 23
1
Displaying equations from .Rd files
Hi All, I am reading through section 2.6 (Mathematics) of the "Writing R Extensions" manuscript and am wondering where I can find more examples/documentation on the \deqn{ } function. I would like to learn how to display equations using this function but am not sure how to go about doing it. The one example provided in section 2.6 doesn't give me much of a sense on how to do this.
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
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
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 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 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>>)}
2004 Sep 13
1
*.Rd: line breaks incorrect (?) \examples
Hi all, I am using R, Version 1.9.1 alpha (2004-05-25), ISBN 3-900051-00-3 on SunOS fluke 5.9 Generic_117171-02 sun4u sparc SUNW,Sun-Fire-480R Version: sparc-sun-solaris2.9 arch = sparc os = solaris2.9 system = sparc, solaris2.9 status = alpha major = 1 minor = 9.1 year = 2004 month = 05 day = 25 language = R Search Path: .GlobalEnv, package:methods, package:stats, package:graphics,
2002 Apr 17
0
User defined macros for Rd-files?
Dear R-developers, I am trying to make use of my own defined macros in Rd-files in order I could simply type, say, \Splus, to get a font similar to \R in help files. So I put the corresponding entry in Rd.cfg which now contains the line: \newcommand{\Splus}{{\normalfont\textsf{Splus}}} similar to the way \R defined in Rd.sty. So now so good: R CMD Rd2dvi generates a dvi-file with a proper font.
2011 Mar 25
1
Rd2pdf and Rd2dvi don't find texi2dvi
Hello everybody I'm am trying to build a pdf out of the Rd files that i wrote for a package, so that I can attach it to my thesis. if i Run Rd2pdf (or Rd2dvi) I get this error massage: Hmm ... looks like a package Converting Rd files to LaTeX . Creating pdf output from LaTeX ... Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, : Running
2005 Jul 03
2
over/under flow
I am porting some FORTRAN to R in which an Inf triggers an if(). The trigger is infinite on exp(lgamma(OVER)). What is the canonical R style of determining OVER when exp(OVER)== Inf? The code structure that I am porting is best left intact--so I need to query R somehow to the value of OVER that causes exp(lgamma(OVER)) to equal Inf. On my system, exp(lgamma(171)) is about first to equal Inf.
2008 Nov 10
1
Rd2dvi problem.
If I execute R CMD Rd2dvi foo.Rd I get messages of the form: Converting Rd files to LaTeX ... foo.Rd Creating dvi output from LaTeX ... Saving output to 'foo.dvi' ... cp: .Rd2dvi4366/Rd2.dvi: No such file or directory Done xdvi-xaw: Fatal error: foo.dvi: No such file. Indeed if I add the --no-clean flag and then cd to the .Rd2dvi<whatever> directory, I find that there is no
1997 Jul 28
0
R-alpha: R 0.50.a1: patch for NChisquare documentation
The patch below fixes the NChisquare documentation problem that I've been mentioning for some time now. NOTE: There is one DEQN where the LaTeX part contains real LaTeX code, because I did not see how to get a sum sign (and a roman math font) otherwise. Seems to work, though ... MARTIN? -k ********************************************************************** ***
2005 Sep 06
1
bash help please
I'd like to make MikTeX the default TeX package in 2.2.0, but we still need to let people use other packages. The problem is that MikTeX wants a command line option --include-directory $R_HOME/share/texmf, while other packages specify includes via environment variables, and barf when they see the unexpected option. The choice should be controlled by the user's settings in the MkRules