[R] Was the package installed correctly

Stephen Liu satimis at yahoo.com
Fri Sep 17 04:17:13 CEST 2010


Hi Bill,


Thanks for your advice.

OS - Debian 504 64-bit

$ apt-cache search rgl
r-cran-misc3d - GNU R collection of 3d plot functions and rgl-based isosurfaces
r-cran-rgl - GNU R package for three-dimensional visualisation using OpenGL
sanduhr - An alarm clock designed as an hourglass


$ sudo aptitude install r-cran-rgl
no complaint


$ apt-cache search tkrplot
r-cran-misc3d - GNU R collection of 3d plot functions and rgl-based isosurfaces
r-cran-tkrplot - GNU R embedded Tk plotting device package


$ apt-cache policy r-cran-tkrplot
r-cran-tkrplot:
  Installed: (none)
  Candidate: 0.0.18-1
  Version table:
     0.0.18-1 0
        500 http://ftp.hk.debian.org lenny/main Packages


$ sudo aptitude install r-cran-tkrplot
No complaint


Hoping that those are the correct packages needed??


B.R.
Stephen L




----- Original Message ----
From: "Bill.Venables at csiro.au" <Bill.Venables at csiro.au>
To: satimis at yahoo.com; r-help at r-project.org
Sent: Fri, September 17, 2010 9:09:10 AM
Subject: RE: [R] Was the package installed correctly

It means that two of the packages on which "TeachingDemos" depends were not 
installed correctly, namely "rgl" and "tkplot".

The problem could be that you do not have the system dependencies in place.  For 
rgl these are listed as:

SystemRequirements:            OpenGL, GLU Library, zlib (optional), libpng
                               (>=1.2.9, optional), FreeType (optional)
The rgl url is
URL:                          http://rgl.neoscientists.org

The tklplot package is not so explicit, though.

Best of luck.


-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On 
Behalf Of Stephen Liu
Sent: Friday, 17 September 2010 10:41 AM
To: r-help
Subject: [R] Was the package installed correctly


Hi folks,


On R

> install.packages("TeachingDemos", dependencies=TRUE)
......
installing to /usr/local/lib/R/site-library/mapproj/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded

* DONE (mapproj)

The downloaded packages are in
    '/tmp/Rtmp3CKVAs/downloaded_packages'
Warning messages:
1: In install.packages("TeachingDemos", dependencies = TRUE) :
  installation of package 'tkrplot' had non-zero exit status
2: In install.packages("TeachingDemos", dependencies = TRUE) :
  installation of package 'rgl' had non-zero exit status


What do the warnings indicate?  Was the package installed correctly?  TIA


B.R.
Stephen L



______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.






More information about the R-help mailing list