similar to: Using MathJax in R's help system

Displaying 20 results from an estimated 700 matches similar to: "Using MathJax in R's help system"

2005 Nov 17
4
problem with \eqn (PR#8322)
Full_Name: Ross Boylan Version: 2.2.0 OS: Linux Submission from: (NULL) (65.175.48.58) \eqn{{\bf\beta}_j}{b(j)} in my .Rd file produces this error -------------------------------------------- ! Missing $ inserted. <inserted text> $ l.7 \eqn{{\bf\beta}_j}{\bf\beta}_ jnormal-bracket5bracket-normal{b(j)} -- ! Missing $ inserted. <inserted
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
Thanks Gabor and Duncan! It works. For those interested, I added this to the beginning of the \details{} section: \if{html}{\out{ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js"> </script> }} And then I can use: \if{html}{\out{\(B_{x(a,b)} = \int_0^x t^{a-1} (1-t)^{b-1} dt\)}} or
2020 May 05
1
Use of MathJax (or something similar) in .Rd files
Hi All, After some tinkering, and with support from Duncan, I put together a package that allows for easy inclusion of MathJax equations in Rd files. The package has been submitted to CRAN, but those who want to try this out already can get it here: https://github.com/wviechtb/mathjaxr or in other words: install.packages("remotes")
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
Interesting. I gave this a try, but couldn't make this work. One would have to infuse something like <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js"> </script> or <script id="MathJax-script" async src="<url-to-your-site>/mathjax/tex-chtml.js"> </script> into
2010 Sep 28
1
PHP Markdown Extra fork for MathJax
My fork of Michel Fortin's PHP Markdown Extra has been updated to include support for MathJax as well as jsMath. Both of these are JavaScript libraries for using LaTeX syntax, e.g., \(E = mc^2\), to include high quality, scalable equations (not just bitmapped images of equations) in your HTML pages. Links to more information: * A [description of PHP Markdown Extra Math][1], along with some
2020 Apr 30
3
Use of MathJax (or something similar) in .Rd files
Hello All, I am wondering if there has ever been any discussion/consideration given to incorporating MathJax (or something similar) into R for rendering equations in .Rd files. I know that equations are rendered beautifully in the pdf manuals, but I suspect the majority of users primarily look at the html help files when using R. While I am comfortable reading something like "B_x(a,b) =
2008 Nov 29
1
function for simultaneous confidence interval of regression coefficients
List, Would someone be so kind as to point me to a function that will calculate simultaneous confidence intervals of regression coefficients based upon their distribution as (under the assumption of normal errors, with \mathbf{X} as the design matrix): $\hat{\mathbf{\beta}} \sim N(\mathbf{\beta}, \sigma^2(\mathbf{X}^T\mathbf{X})^{-1})$. 'confint' calculates individual coefficients so
2020 Apr 30
0
Use of MathJax (or something similar) in .Rd files
Thank you. This is a very useful idea! Best, Ravi ________________________________ From: R-devel <r-devel-bounces at r-project.org> on behalf of Viechtbauer, Wolfgang (SP) <wolfgang.viechtbauer at maastrichtuniversity.nl> Sent: Thursday, April 30, 2020 6:59:02 AM To: r-devel Subject: Re: [Rd] Use of MathJax (or something similar) in .Rd files Thanks Gabor and Duncan! It works.
2020 Apr 30
0
Use of MathJax (or something similar) in .Rd files
On 30/04/2020 6:15 a.m., Viechtbauer, Wolfgang (SP) wrote: > Interesting. I gave this a try, but couldn't make this work. One would have to infuse something like > > <script id="MathJax-script" async > src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js"> > </script> > > or > > <script
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
--xk+LtGr+JJ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Attached is a conversion script for converting current R doc files to the proposed new format ... I'm not sure if it handles everything correctly, as I made just some random checks. The main purpose for posting the thing to the list is such that those interested can get a look at the new format. Of
2020 Apr 30
0
Use of MathJax (or something similar) in .Rd files
You can probably already do this using the \if{html} conditional, and either including the matchjax js files in the package, or getting them from a CDN. Gabor On Thu, Apr 30, 2020 at 9:13 AM Viechtbauer, Wolfgang (SP) <wolfgang.viechtbauer at maastrichtuniversity.nl> wrote: > > Hello All, > > I am wondering if there has ever been any discussion/consideration given to
2007 May 23
1
I made some progress on my previous "systemfit" question but still not quite there
Surprisingly, I played around with some test code and below actually creates equations that look correct. tempmat<-matrix(10,nrow=6,ncol=6) restrictmat<-diag(6) colnames(tempmat)<-c("AUD.l1","CHF.l1","CAD.l1","GBP.l1","EUR.l1","JPY.l 1")
2024 Mar 02
1
installation: while running make, unable to run pdflatex on 'NEWS.tex'
? Fri, 1 Mar 2024 10:46:53 -0500 Benjamin Tyner <btyner at gmail.com> ?????: > my platform info: > > Platform: x86_64-pc-linux-gnu (64-bit) > Running under: Ubuntu 22.04.4 LTS Quick things first: have you installed all the build-dependencies? apt build-dep r-base (maybe with --install-suggests? haven't tried that in a while) should do that. In particular, the build
2003 Oct 17
2
nlm, hessian, and derivatives in obj function?
I've been working on a new package and I have a few questions regarding the behaviour of the nlm function. I've been (for better or worse) using the nlm function to fit a linear model without suppling the hessian or gradient attributes in the objective function. I'm curious as to why the nlm requires 31 iterations (for the linear model), and then it doesn't work when I try to add
2003 Oct 12
1
Rd problems --- followup
I should'nt have sent the last mail so fast. Same problem with \eqn{u_j = a_j + b x + c x^2, \quad j=1, \ldots, r-1} {u[j] = a[j] + b*x + c*x^2 j = 1,\dots,r-1} I thought the problem in the first case could have to do with the use use of \mbox{} (with the braces) within the arguments of \eqn, but here there are none braces in the arguments of \eqn{}{}. Another case giving the
2008 Sep 09
1
Addendum to wishlist bug report #10931 (factanal) (PR#12754)
--=-hiYzUeWcRJ/+kx41aPIZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hi, on March 10 I filed a wishlist bug report asking for the inclusion of some changes to factanal() and the associated print method. The changes were originally proposed by John Fox in 2005; they make print.factanal() display factor correlations if factanal() is called with rotation =
2003 Apr 08
1
Solving A System of Equations
I'm trying to solve a system of 3 equations as part of a sub-routine in R, ie first eqn a/x-b*sqrtx+c=log(1/dx+1/e(sqrtx); snd eqn (f*y)/z-g/y-h=-log(2/x+(z/y)/(i*x) and third eqn is of the form zz=x/(j-k(z/y) where a..k inclusive are constants, x,y,z and zz are inputs. How can this be done in R? [[alternate HTML version deleted]]
2008 Dec 19
1
Misuse of $<matn expressions>$ in Rd files
'Writing R Extensions' tells you that $ needs to be escaped in Rd files outside \code and similar. So I was surprised to find that ca 80 CRAN packages have constructions like (from ISwR) \item{\code{folate}}{ a numeric vector, folate concentration ($\mu$g/l). } This does not render sensibly in non-latex conversions, and it is what we have \eqn{} for. That $ needs to be
2015 Sep 07
2
Build rpm package for R-MKL
I want to create a clean .rpm package for R built with MKL and ICC. I follow Fedora instrcutions[0] to create the package. As a base, I use the R-3.2.2.src.rpm. I am left with this error: ------------------------------------------ installing R info pages ... updating '/usr/share/info/dir' ... make[1]: Leaving directory '/home/poisonivy/rpmbuild/BUILD/R-3.2.2/doc/manual' + mv
2003 Oct 24
1
\mathcal symbols in R?
Hello, Some time ago, I discovered the possibility of using mathematical symbols for axis labels etc. In order ensure consistency between text and graphics of some paper, I would like to include the calligraphic H (obtained in LaTeX via \mathcal{H}) in several diagrams. Is there any way to do so? Is it in general possible to use further mathematical fonts like \mathbb and \mathbf in R? Best