-
Notifications
You must be signed in to change notification settings - Fork 22
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
How can I pause the video and get the current bases? #136
Comments
Hi @vapniks there are several ways to manage this: (1) with the tourr package it is a bit clunky to do, but can be managed with save_history() and followed by render_gif() to get the individual projections: see some code below as an example. This is my usual approach. But it might only give you close to the projection you especially wanted. The lack of interactivity directly in R is the hurdle. (2) using the detourr package all of this could be possible, but requires some changes that could be requested. (3) Using langevitour the information is available from the drop down menu, but it doesn't have all the tour paths available in the tourr package. ![]() Code examples for (1):
The Preview app on a Mac allows extracting the image associated with any projection. And the tourr::render_proj() set up the data to recontruct any tour projection with base graphics or ggplot2. Here is how I use it with ggplots:
where the plot_tour_projection() function is:
|
I want to be able to pause the video and obtain the bases displayed at that point.
Can I do this? If not then this is a feature request. This seems like an important feature that has been overlooked.
The text was updated successfully, but these errors were encountered: