Hello,

I am having trouble installing the package playwith on the latest Mint
"helena",
running  R version 2.10.1 (2009-12-14).

I suspect it has to do with the GTK library but as far as I can tell there
is nothing wrong with it.

Any help extremely appreciated.

I include the output:

> install.packages("playwith")

Warning in install.packages("playwith") :

  argument 'lib' is missing: using '/usr/local/lib/R/site-library'

--- Please select a CRAN mirror for use in this session ---

Loading Tcl/Tk interface ... done

also installing the dependency ‘cairoDevice’


trying URL 'http://cran.at.r-project.org/src/contrib/cairoDevice_2.10.tar.gz
'

Content type 'application/x-gzip' length 39058 bytes (38 Kb)

opened URL

==================================================

downloaded 38 Kb


trying URL 'http://cran.at.r-project.org/src/contrib/playwith_0.9-45.tar.gz'

Content type 'application/x-gzip' length 93505 bytes (91 Kb)

opened URL

==================================================

downloaded 91 Kb


* installing *source* package ‘cairoDevice’ ...

checking for pkg-config... pkg-config

ERROR: gtk+2.0 not found by pkg-config.

ERROR: configuration failed for package ‘cairoDevice’

* removing ‘/usr/local/lib/R/site-library/cairoDevice’

* installing *source* package ‘playwith’ ...

** libs

gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c interrupt.c -o
interrupt.o

gcc -std=gnu99 -shared -o playwith.so interrupt.o -L/usr/lib/R/lib -lR

** R

** demo

** inst

** preparing package for lazy loading

Warning in library(pkg, character.only = TRUE, logical.return = TRUE,
lib.loc = lib.loc) :

  there is no package called 'cairoDevice'

Error : package 'cairoDevice' could not be loaded

ERROR: lazy loading failed for package ‘playwith’

* removing ‘/usr/local/lib/R/site-library/playwith’


The downloaded packages are in

‘/tmp/RtmpjczApq/downloaded_packages’

Warning messages:

1: In install.packages("playwith") :

  installation of package 'cairoDevice' had non-zero exit status

2: In install.packages("playwith") :

  installation of package 'playwith' had non-zero exit status

>

	[[alternative HTML version deleted]]

