From hpages at fhcrc.org  Tue Aug  2 22:48:02 2011
From: hpages at fhcrc.org (=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=)
Date: Tue, 02 Aug 2011 13:48:02 -0700
Subject: [Rd] png() broken in R-devel
Message-ID: <4E386282.7060504@fhcrc.org>

Hi,

Seems like this recent change broke the png() device:

hpages at latitude:~/svn/R-devel/src/library/grDevices/src$ svn diff -r 
56568:56569
Index: cairo/Makefile.in
===================================================================
--- cairo/Makefile.in	(revision 56568)
+++ cairo/Makefile.in	(revision 56569)
@@ -38,7 +38,8 @@

  R: Makefile
  	@$(MAKE) $(cairo_la)
-	@cp $(cairo_la) $(R_HOME)/library/grDevices/libs$(R_ARCH)
+	@$(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)/libs at R_ARCH@
+	@cp $(cairo_la) $(top_builddir)/library/$(pkg)/libs at R_ARCH@

  $(top_builddir)/src/modules/X11/rbitmap.o:
  	(cd $(top_builddir)/src/modules/X11; $(MAKE) rbitmap.o)

With R-devel r56578:

 > png()
Warning messages:
1: In png() :
   unable to load shared object 
'/home/hpages/R-2.14/library/grDevices/libs//cairo.so':
   /home/hpages/R-2.14/library/grDevices/libs//cairo.so: cannot open 
shared object file: No such file or directory
2: In png() : failed to load cairo DLL

 > sessionInfo()
R Under development (unstable) (2011-07-31 r56578)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8
  [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

Thanks!
H.

-- 
Herv? Pag?s

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



[Rd] png() broken in R-devel
=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=