sagemath / sage-shell-mode

Emacs front end for SageMath
GNU General Public License v3.0
102 stars 16 forks source link

Embedded r dumps raw LaTeX #58

Open kellino opened 3 years ago

kellino commented 3 years ago

I have the inline display of LaTeX output working beautifully (this really is a lovely feature):

fig1

but I've run into trouble when trying the same thing when using the r interface. The first time I used it, it triggered an error which prompted me to install the 'Hmisc' package (https://cran.r-project.org/web/packages/Hmisc/index.html). Now, instead of throwing an error, it dumps raw LaTeX into the current buffer.

fig2

I've no emacs lisp foo at all, so don't even know how to go about solving this. I'm using Emacs 27.1 on Ubuntu.