Reputation: 11
I used to manually save the visuals in R Studio from the Output pane using Export button. However, the quality of the graph is horrendous and the resolution cannot be adjusted this way. I now have plotted an igraph plot I'd like to save in high res.
However running
png("C:/Users/YourUsername/Desktop/igraph_plot_high_res.png", width = 10, height = 10, units = "in", res = 300)
for the folder I desire followed by dev.off()
does not work even though it displays RStudioGD 2 after running this. I have checked the permissions, it seems like there is nothing that could stand in the way.
How could I fix this or is there any other commands I could use for saving igraph plots?
Upvotes: 1
Views: 55