Skip to content
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

roam() cleanup #36

Open
TimTaylor opened this issue Oct 17, 2024 · 1 comment
Open

roam() cleanup #36

TimTaylor opened this issue Oct 17, 2024 · 1 comment

Comments

@TimTaylor
Copy link

I guess this is similar to #16. After previewing a file with roam() some resources are left behind in the xxx__files directory. Should these be cleaned up?

@yihui
Copy link
Owner

yihui commented Oct 17, 2024

The tricky thing is that I don't want to accidentally clean up the __files directory that should have been kept. I always feel nervous about deleting files in the user directory (which is why it took a while for me to solve #16---I need to be very careful).

One possible way to solve this problem is to generate plots in tempdir(), where it may be safer to delete files. I'll think more about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants