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
Hi, so recently, I was using knitr to compile graphs for my homework and, I was adding dev.new() before all of my graphs, as I thought this was the normal format to create graphs in.
What did end up happening though, is that graphs that followed dev.new() did not render at all in the pdf. while I understand dev.new is a function in the graphics package, I ran into no issues when compiling the graphs in markdown, as they all displayed perfectly fine, the code interaction seems to be related specifically towards how knitr compiles .rmd into a .pdf.
A warning label related to instances of dev.new() in the compilation would be ideal, as I imagine taking into account new graph windows might be too complex.
Since this deals with the interactions of multiple packages, it may not necessarily be this package, but my educated guess was this package, given the fact the graph renders fine until the pdf generation.
If there is another package you may believe it is, I will open an issue there as well.
Hi, so recently, I was using knitr to compile graphs for my homework and, I was adding dev.new() before all of my graphs, as I thought this was the normal format to create graphs in.
What did end up happening though, is that graphs that followed dev.new() did not render at all in the pdf. while I understand dev.new is a function in the graphics package, I ran into no issues when compiling the graphs in markdown, as they all displayed perfectly fine, the code interaction seems to be related specifically towards how knitr compiles .rmd into a .pdf.
A warning label related to instances of dev.new() in the compilation would be ideal, as I imagine taking into account new graph windows might be too complex.
The text was updated successfully, but these errors were encountered: