Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sage Notebook, R, & problem with LaTeX

Using Sage 5.9 notebook, the output of show(r.summary(range(10))) shows the LaTeX source, not the rendered LaTeX.

N.B.: My first try generated an error stating that R package 'Hmisc' was required. From sage -R, the command install_package('Hmisc') seemed to go fine. The notebook was restarted and r.installed_packages() showed 'Hmisc' was indeed installed.

Is there some other trick to render R LaTeX output in the notebook?

Sage Notebook, R, & problem with LaTeX

Using Sage 5.9 notebook, the output of show(r.summary(range(10))) shows the LaTeX source, not the rendered LaTeX.

N.B.: My first try generated an error stating that R package 'Hmisc' was required. From sage -R, the command install_package('Hmisc') seemed to go fine. The notebook was restarted and r.installed_packages() showed 'Hmisc' was indeed installed.

Is there some other trick to render R LaTeX output in the notebook?

Sage Notebook, R, & problem with LaTeX

Using Sage 5.9 notebook, the output of of:

show(r.summary(range(10)))show(r.summary(range(10)))
 

... shows the LaTeX source, not the rendered LaTeX.

N.B.: My first try generated an error stating that R package 'Hmisc' was required. From From:

sage -R-R
install_package('Hmisc')
, the command install_package('Hmisc') 

... seemed to go fine. The notebook was restarted and and:

r.installed_packages()r.installed_packages()
 

... showed 'Hmisc' was indeed installed.

Is there some other trick to render R LaTeX output in the notebook?

Sage Notebook, R, & problem with rendering LaTeX

Using Sage 5.9 notebook, the output of:

show(r.summary(range(10)))

... shows the LaTeX source, not the rendered LaTeX.

N.B.: My first try generated an error stating that R package 'Hmisc' was required. From:

sage -R
install_package('Hmisc')

... seemed to go fine. The notebook was restarted and:

r.installed_packages()

... showed 'Hmisc' was indeed installed.

Is there some other trick to render R LaTeX output in the notebook?