add R dependencies for ggplot2