I am running R 3.1.2 on a headless Raspberry Pi 2 with Raspbian. Packages install fine, but I can't save PNGs. After googling the error for a long time, I found this response, which says I need to "manually recompile R with explicit PNG support."
I apologize if this is a basic question, but how do I recompile R with PNG support? If it's helpful, this is how I installed in the first place. Thanks in advance!