# Re: [R] Integral Symbol

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Wed, 18 May 2011 09:39:28 -0400

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?

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.

> 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
> > > 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