R markdown: usage of \mathbf{} in equations

nicolas.forquet's Avatar

nicolas.forquet

18 Aug, 2012 11:12 AM

Hi,
I'm running Rstudio 0.96.330 on Ubuntu 11.04. I got the following error message while trying using the \mathbf{} command in a R markdown document:
"can't load web font TeX/Main/Bold" I didn't find any earlier report of this issue in discussions but I might have miss one...
Thanks for help!

  1. Support Staff 2 Posted by Josh Paulson on 19 Aug, 2012 12:02 PM

    Josh Paulson's Avatar

    Nicolas,

    I am not able to reproduce this with Ubuntu 10.04 (can try 11.04 from the office tomorrow). Was there perhaps a web connectivity problem and have you tried again? Also are you using the desktop or server version of RStudio?

    Josh

  2. 3 Posted by nicolas.forquet on 20 Aug, 2012 07:39 AM

    nicolas.forquet's Avatar

    I'm using the desktop version of RStudio. I tried again this morning from my office. I got the similar error message "can't load web font TeX/Main/Bold" (the same for /boldsymbol) which appears briefly at the bottom left corner of the html page. However I paid more attention this time to the final result and it seems actually that it works (it is not that obvious concerning symbols)! Though the html document takes much more time to be generated than when not using bold characters. Here is the piece of code I'm using:
    $$ \mathbf{y} = \mathbf{X} \boldsymbol{\beta} + \boldsymbol{\epsilon} $$

    Nicolas

  3. Support Staff 4 Posted by Josh Paulson on 20 Aug, 2012 11:46 AM

    Josh Paulson's Avatar

    Nicolas,

    Thanks for following up and glad that it does work (albeit slow). It might be due to internet connectivity or something about your system configuration that is causing a minor hiccup here.

    Josh

  4. Josh Paulson closed this discussion on 20 Aug, 2012 11:46 AM.

Comments are currently closed for this discussion. You can start a new one.