I am trying to use Rpy2 and ggplot2 but I get an error. After some searching for the error online, I found that the error occurs because there are changes in the ggplot2 package that are not yet reflected in Rpy2.
So I now need to install an older version of ggplot2. Here is pseudo-code for what I want:
But install.packages does not have a version argument. How do I do it?