symengine / symengine.R

A R interface to the symbolic manipulation library SymEngine.
27 stars 8 forks source link

Latex view in IRKernel and Rmarkdown documents #47

Open isuruf opened 5 years ago

isuruf commented 5 years ago

For example, Python and C++ notebooks will use latex function to convert to latex and display a symengine object.

Marlin-Na commented 5 years ago

I have thought about supporting latex printing in R markdown document, and it should also be possible in Jupyter notebook. It seems that there is support for latex string generation in the C++ library but not yet wrapped in cwrapper, right? Do you think we should use SymEngine's latex printer or implement R's?

isuruf commented 5 years ago

It seems that there is support for latex string generation in the C++ library but not yet wrapped in cwrapper, right?

Yes. SymEngine's latex printer is at its early stages and there's much to improve. It's faster since it uses symengine internals. If there are any issues with it, we can fix it and it would benefit the python and other wrappers.

Marlin-Na commented 5 years ago

Generating latex view in Rmarkdown document is now supported with https://github.com/symengine/symengine.R/pull/64.