ggplot2 won't load at all

I'm a pure beginner at this thing guys. I downloaded, deleted, redownloaded, restarted, same issue gpplot2 and R. I had no issues downloading either and was able to download ggplot2 with its dependents but to no avail. When I type in library(ggplot2) to either R or RStudio, I get nothing.

Simply typing

library(ggplot2)

does nothing that you will immediately see. Is the problem that you are expecting some output from that? What do you get if you run this code?

DF <- data.frame(ID = 1:10, Value = 1:10)
library(ggplot2)
ggplot(data = DF, mapping = aes(x = ID, y = Value)) + geom_point()
1 Like

Wow, I sound so incompetent. I apologize for such a stupid question. Something finally pulled up with your line of code. Thank you

Don't worry, we all started as novices.

2 Likes

This topic was automatically closed 7 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.