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

Preview pane does not update after adding additional plot #14

Open
jet1966 opened this issue Nov 5, 2015 · 1 comment
Open

Preview pane does not update after adding additional plot #14

jet1966 opened this issue Nov 5, 2015 · 1 comment

Comments

@jet1966
Copy link

jet1966 commented Nov 5, 2015

  1. Thanks for a great product. I am using it to document research and data analysis, and have come to find it extremely useful in a very short time.
  2. Unfortunately, I've run into a problem which has been tricky to isolate. As the subject line states, my preview pane will freeze at a certain point, once I add a plot to a new code block. The preview does not update and grays out, but the interface remains responsive. If I comment out the last plot line, it will then update.
  3. I can move the plot to the previous code block, and then the preview will update properly.
  4. I've also found that if I remove a code block earlier in the document (even by just removing the end of one, and the beginning of another), then the plot in the last code block will preview properly. I currently have 18 code blocks in the document that will render. Adding the 19th seems to be the breaking point.
  5. I've also tested and found that if I ask to render the document while the preview is grayed out, the rendered document shows the graph correctly.
  6. I tested with multiple browsers (Firefox, Chrome, and Midori), and the problem persists.
  7. I had a colleague test my .Rmd file on his (Archlinux) machine, and the problem does not exist there, so it is somehow tied to my configuration or platform. I also rendered the document on my machine using Rnotebook, and it renders fine.
  8. Some details on my system: Ubuntu 14.04.3 LTS, 8GB RAM, Sony Vaio, R version 3.2.2 (2015-08-14), editR 0.2.2

Any help? Happy to provide more details if needed. I'd like to stay with editR if possible. It has greatly improved my productivity.

@jet1966
Copy link
Author

jet1966 commented Nov 5, 2015

Sorry all, I have solved my problem. I found that I had inadvertently edited another, longer document in the same directory while in "sudo R", and so the later figures had been stored with root permissions. When I started this second document later using my own permissions, editR could not open or generate any of the later plots (which apparently are all stored under a standard name, and thus had the root permissions from the previous document), and so would just gray out the preview.

BTW - I finally discovered my problem through some of the error messages in rNotebook, so perhaps passing on error messages in editR could be improved. It would also be useful to have a way to view warnings generated by R code, if that is not already possible. I couldn't find that capability.

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

1 participant