code runs (no error) but ggplots not showing in RStudio plot window

ggplot2
#1

Hi,

I'm new to do this so this could be a basic question, apologies in advance.

I'm trying to map census data and I'm using ggplots. Each line of code of runs with no error BUT still a map doesn't appear in the plot window. Your help will be much appreciated, thank you.

0 Likes

#2

Hi!

In your screenshot it looks like your code is still running, since your cursor isn't at a > in the Console and you can see the stop sign in the upper right of the Console pane. Does it ever finish? It looks like your object has something like 3 million rows :open_mouth:, which I think would be extremely time consuming for ggplot2.

While it may be difficult with a shape file, if you can provide a reproducible example it will be much easier for folks to help you troubleshoot. See some ideas for how to do this here:

0 Likes

#3

omgash just spotted the 3 billion rows, nope it never finishes is there any way I can reduce this?

0 Likes

closed #4

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

0 Likes