[R] Integral Symbol

Timothy Bates timothy.c.bates at gmail.com
Wed May 18 17:23:34 CEST 2011


Can’t you just embed it in the html as a symbol?

∫  or ∫

I’d have thought you also just put it into straight into the document as a character – ∫– , as long as the html is stored as unicode

 U+222B
http://en.wikipedia.org/wiki/Integral_symbol


On 18 May 2011, at 4:04 PM, Javi Hidalgo wrote:
> Thanks! This is what I was looking for.
> Apparently, it is not supported then it should be as "integral", but in the pdf version appears the integral symbol.
> 
> Regards,
> 
> Javier.
> 
>> Date: Wed, 18 May 2011 09:39:28 -0400
>> From: murdoch.duncan at gmail.com
>> To: havyhidalgo at hotmail.com
>> CC: r-help at r-project.org; ligges at statistik.tu-dortmund.de
>> Subject: Re: [R] Integral Symbol
>> 
>> 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.
>> 
> 		 	   		  
> 	[[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