Running into the following error when I try to use ggplot2 and plot within the console after upgrading to Yosemite:
Error in (function (display = \"\", width
Perhaps won't work for everyone, i'm not even quite sure what the problem was, but I found the same error messages after installing Yosemite and was able to solve the problem simply by reinstalling XQuartz from http://xquartz.macosforge.org