Any ideas why this is happening ? Help greatly appreciated.
The ggplot figure is never plotted. In interactive R, returning something to the console will print()
it (and in the case of ggplot objects, they are plotted). You'll have to call print()
explicitly.
You may also want to check the rpy2 documentation for ggplot2.