Re: [R] png package in Ubuntu 12.04 with R 3.1.0

2015-05-26 Thread Yihui Xie
sudo apt-get install libpng12-dev I'm not sure about Ubuntu 12.04. You may need a different libpng??-dev. Regards, Yihui -- Yihui Xie Web: http://yihui.name On Tue, May 26, 2015 at 2:10 AM, Gygli, Gudrun wrote: > > Dear All, > > > I am using R to analyse computer simulations of ligand docking

Re: [R] png package in Ubuntu 12.04 with R 3.1.0

2015-05-26 Thread John Kane
Have you loaded the png package? library(png) John Kane Kingston ON Canada > -Original Message- > From: gudrun.gy...@wur.nl > Sent: Tue, 26 May 2015 07:10:35 + > To: r-help@r-project.org > Subject: [R] png package in Ubuntu 12.04 with R 3.1.0 > > > Dear A

[R] png package in Ubuntu 12.04 with R 3.1.0

2015-05-26 Thread Gygli, Gudrun
Dear All, I am using R to analyse computer simulations of ligand docking in a protein. I am plotting the results as scatterplots and bopxplots, using the code below. This works perfectly fine. I would like now to add a png file to that plot, meaning I want sth like: png(file="analysis.png"