You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@daroczig raised the very valid point in Rapporter/pander#251, that we should not (re)implement how we do html and MD conversation of standard objects in repr:
Sorry for the silly question, but before figuring out the optimal next steps in short & long terms, why are you writing and maintaining the code for transforming R objects into HTML, tex or markdown? There's xtable and a bunch of other packages out there doing this and eg pander for markdown. So instead of having https://github.com/IRkernel/repr/blob/master/R/repr_matrix_df.r, you could simply call xtable for HTML or tex, and eg pander in a markdown notebook. Eg the pander way of writing reproducible reports is that you never call pander in your Rmd, as pander will be automatically applied on all the R objects.
The text was updated successfully, but these errors were encountered:
mainly because at the time, i just wrote a bunch of reprs for several kinds of objects and didn’t know that there were packages already doing that specifically for tabular data.
we could use them but then we’d have to use an option adapter (i.e. translate repr options to the specific packages’ equivalents)
@daroczig raised the very valid point in Rapporter/pander#251, that we should not (re)implement how we do html and MD conversation of standard objects in repr:
The text was updated successfully, but these errors were encountered: