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
Thank you for making all these tools. I am heavily using this xaringan in day-to-day life. :)
I just wonder how to make xaringan kniting result page to show my current working slide like if I am using inf_mr().
The reason why I asking this is that if use inf_mr() I need to turn it on and off when there is an error in my code in the slide. (that's very annoying, it becomes slow and ultimately I need to restart the RStudio every time)
All I want is to see the current slide when I knit xaringan page. Is there any option for this?
The text was updated successfully, but these errors were encountered:
if use inf_mr() I need to turn it on and off when there is an error in my code in the slide. (that's very annoying, it becomes slow and ultimately I need to restart the RStudio every time)
When there is an error in your code, inf_mr() should wait for you to fix the error and save the Rmd file. It shouldn't do anything else. If that is not the case, it's a bug (assuming you are using the latest versions of R packages). I don't have an idea about how it can become slow due to errors.
All I want is to see the current slide when I knit xaringan page. Is there any option for this?
Currently there isn't an option, but I guess it's possible to implement. I need to take a closer look.
Okay, now I'm sure this is possible and relatively easy to implement. I just need someone to help me since I probably won't have time for it, but I do think this will be a useful feature.
To whomever interested in sending a PR:
First use slide_context() to get the slide number:
I hope this feature can be controlled by a global option, e.g., options(xaringan.rstudio.view_current = TRUE). Not sure if TRUE or FALSE would be a better default, though.
Hi yihui,
Thank you for making all these tools. I am heavily using this xaringan in day-to-day life. :)
I just wonder how to make xaringan kniting result page to show my current working slide like if I am using inf_mr().
The reason why I asking this is that if use inf_mr() I need to turn it on and off when there is an error in my code in the slide. (that's very annoying, it becomes slow and ultimately I need to restart the RStudio every time)
All I want is to see the current slide when I knit xaringan page. Is there any option for this?
The text was updated successfully, but these errors were encountered: