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?

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.



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. Received on Wed 18 May 2011 - 13:42:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 18 May 2011 - 15:15:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive