[R] Integral Symbol

Duncan Murdoch murdoch.duncan at gmail.com
Wed May 18 15:39:28 CEST 2011


On 18/05/2011 9:09 AM, Javi Hidalgo wrote:
> Thanks.
> I was exactly reading the manual Writing R Extensions, on section Mathematics. Where, it informs about basic LaTeX style support.
> However, It seems like it does not support the LaTeX integral symbol \int, but it does support i.e.: the summation symbol \sum.
>
> Has anyone had this experience on documenting R packages?

It appears in the topic shown by ?Special, "Special Functions of 
Mathematics," but only in the LaTeX version.  You can see that in the 
PDF version of the Reference Manual, or (if you have things set up 
correctly), by saying

options(help_type="pdf")
?Special

I don't know of any examples where someone has shown an integral sign in 
text or html versions.  It's not a symbol supported by the R help 
system, it would depend on hand coding the right thing.

Duncan Murdoch


> Does anyone know any R-package where the integral symbol appear in the help files.
>
> Regards,
>
> Javier Hidalgo Carrio
>
>
> >  Date: Wed, 18 May 2011 13:14:54 +0200
> >  From: ligges at statistik.tu-dortmund.de
> >  To: havyhidalgo at hotmail.com
> >  CC: r-help at r-project.org
> >  Subject: Re: [R]  Integral Symbol
> >
> >  See the section on writing Mathematics in Rd file in the manual Writing
> >  R Extensions. This will show how to produce high quality formulas in
> >  LaTeX generated output and ASCII versions otherwise.
> >  If you want to provide an excellent HTML version as well, the section on
> >  "Conditional text" is also worth reading.
> >
> >  Uwe Ligges
> >
> >
> >  On 18.05.2011 10:55, Javi Hidalgo wrote:
> >  >
> >  >  Dear All,
> >  >
> >  >  I am documenting a R package. That means writing the *.Rd files inside the \man folder of the package structure
> >  >  I was wondering how to write the symbol for an integral function in a formula.
> >  >  Similar to this one in LaTeX:
> >  >
> >  >  \int_{0}^{10} \Omega(t)dt
> >  >
> >  >  I already tried
> >  >
> >  >  \deqn{\int_{0}^{10} \Omega(t)dt}
> >  >
> >  >  but it does not work. Any idea? Which math symbols does R-help recognise?
> >  >
> >  >  Regards,
> >  >
> >  >  Javier Hidalgo Carrio
> >  >    		 	   		
> >  >  	[[alternative HTML version deleted]]
> >  >
> >  >  ______________________________________________
> >  >  R-help at r-project.org mailing list
> >  >  https://stat.ethz.ch/mailman/listinfo/r-help
> >  >  PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> >  >  and provide commented, minimal, self-contained, reproducible code.
>   		 	   		
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list