[R] Error installing ggobi in R, Ubuntu Intrepid Ibex

Dirty D
Sun, 18 Jan 2009 20:19:03 -0000

Hi,

I'm newish to R and Ubuntu, and I've getting this error when I'm
trying
to install ggobi in R.  Any suggestions?

DD

*R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 > install.packages("rggobi")
Warning in install.packages("rggobi") :
  argument 'lib' is missing: using
'/home/dheerajchand/R/x86_64-pc-linux-gnu-library/2.7'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL
'http://cran.cnr.Berkeley.edu/src/contrib/rggobi_2.1.10.tar.gz'
Content type 'application/x-gzip' length 133907 bytes (130 Kb)
opened URL
=================================================downloaded 130 Kb

* Installing *source* package 'rggobi' ...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GGOBI... configure: error: Package requirements (ggobi >=
2.1.6) were not met:

Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'libggobi', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GGOBI_CFLAGS
and GGOBI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

ERROR: configuration failed for package 'rggobi'
** Removing
'/home/dheerajchand/R/x86_64-pc-linux-gnu-library/2.7/rggobi'

The downloaded packages are in
    /tmp/RtmpgoMBkw/downloaded_packages
Warning message:
In install.packages("rggobi") :
  installation of package 'rggobi' had non-zero exit status
 > q()
Save workspace image? [y/n/c]: n

*

	[[alternative HTML version deleted]]