From gong-yi.liao at uconn.edu  Wed Feb  2 18:08:28 2011
From: gong-yi.liao at uconn.edu (Gong-Yi Liao)
Date: Wed, 02 Feb 2011 12:08:28 -0500
Subject: [Rd] Using MathJax in R's help system
In-Reply-To: <AANLkTik6YmG6YMvJ5E-_yBcFv4zZ-MGP1NMpB5X8B3-u@mail.gmail.com>
References: <1296633646.25319.58.camel@GongTop1>
	<AANLkTi=RD0gyB8QnAs7aa2yv7647_x2SBAyZ_AL=LLoz@mail.gmail.com>
	<1296664429.2269.49.camel@GongTop1>
	<AANLkTik6YmG6YMvJ5E-_yBcFv4zZ-MGP1NMpB5X8B3-u@mail.gmail.com>
Message-ID: <1296666508.2269.67.camel@GongTop1>


I think your "another CRAN package for mathjax" approach is better

than modifying the base R's code. I am trying to find the possible 

way to implement it.

On Wed, 2011-02-02 at 10:38 -0600, Hadley Wickham wrote:
> 
> But the user still needs to get it in some way - an additional
> installation step means that it's probably not suitable for inclusion
> with base R.  It could possibly be bundled inside a package, using
> some tricks to keep all the files in a single zip file, which reduces
> the bundle size to a manageable 15 meg.

> Agreed.
> 
> >    2. About the helpr package:
> >
> >        I install the helpr package from CRAN, and, maybe due to my
> >        problem,  the manual of this package is quite confusing to me.
> >        I run the command helpr and my browser shows me the following
> >        content:
> 
> Could you please provide a reproducible example?
> 
> The following steps should get you up and running:
> 
> install.packages("helpr")
> library(helpr)
> helpr()
> 

It seems that I triggered a strange issue (or, a bug is ESS?). I run 
exactly the same commands in EMACS+ESS and then I got the error 
messages shown in my last mail. Now, I try to do the same things
but, at this time, I run the commands in a terminal (gnome-terminal), 
then, everything works properly, as you expected (I can see the  
packages and functions list with nice CSS layout in the browser).

This issue is quite weird, and I think it is caused by Emacs or ESS   
but not the helpr package. I still need to do several test to figure 
out what really causes it.   





> The solr warnings will be removed in the next version - you can ignore
> them for now.
> 
> Hadley
> 

-- 
Gong-Yi Liao

Department of Statistics
University of Connecticut
215 Glenbrook Road  U4120
Storrs, CT 06269-4120

860-486-9478



[Rd] Using MathJax in R's help system
Gong-Yi Liao