New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
knitr::kable is not rendered in the output of a chunk in R 3.5.0 #1353
Comments
Duplicate of #1331 (I think). |
Hello, |
No worries. Actually I only suspect it is a duplicate. According to rstudio/rstudio#2748 (comment), the current version of RStudio must have fixed the issue. Could you try that? Thanks! |
Currently in RStudio 1.1.453 the kable remains displayed as raw markdown on my machine. I tested on another machine with current version of RStudio and R 3.4.2, the rendering is fine (session info below):
Installing R 3.5.0 breaks the rendering, so I feel this is somewhat reproducible.
|
@kevinushey @jmcphers I feel this is a issue similar to #1331, and the fix in the IDE might be similar, too. Could you take a look at it when you have a chance? Thanks! |
This is indeed another manifestation of that same bug (changes in S3 dispatch behavior breaking RStudio). We attempt to assign our override here: but we need to use @jmcphers's new solution in this space as well. |
I am having the same issue with R 3.5.0 and Rstudio 1.1.453 - kable produces either raw HTML or raw markdown. I found a temporary workaround using the
Hope this would be fixed soon! |
This is fixed the dailies as well as in RStudio 1.1.455 (not yet released). You can try the latter here: http://s3.amazonaws.com/rstudio-dailybuilds/RStudio-1.1.455.dmg |
Thank you so much for the timely fix. I just downloaded the new version of RStudio, and tables are rendered perfectly now. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
After upgrading to R 3.5.0 and RStudio 1.1.453, chunk output with
knitr::kable()
is no longer rendered but kept as raw markdown.The output used to be like this in R 3.4.3:
It looks like this now:
On my machine, the minimal example is to open a new Rmarkdown or R Notebook file in RStudio, and run this chunk:
I also tried
{r results='asis'}
and installed development version of rmakrdown withdevtools::install_github("rstudio/rmarkdown")
, but neither of them fixed the issue.Thank you so much for all the help! If there's any thing else I could test, please let me know. This issue happened on a machine with the session info as below:
The text was updated successfully, but these errors were encountered: