Problem with geom_sf and knit.

I got some error when I try to knit a ggplot object in a RMarkdown file.

The HTML output show only the graph grid without data and the warning rised is:

Warning in grid.Call.graphics(C_path, x$x, x$y, index, switch(x$rule, winding =
## 1L, : Path drawing not available for this device

Worth to notice that the same code in console show the desired output.

Any idea?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.