RStudio is not showing the generated plots in the plot pane anymore. Instead they open in a separate file with the name "Quartz". Here\'s my session info.:
I was able to visualize plots in the plot pane for a while before it vanished. All the attempts with the suggestions above failed. What is referred in the blog below got it working.
https://datasciencelearner.wordpress.com/2014/08/17/my-plot-is-not-showing-up/
The trick is to wrap the graphics command inside print function, for instance:
print(
plt2 <- ggplot(housing,
aes(x = Home.Value)) +
geom_histogram()
)