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-boun...@r-project.org [mailto:r-help-boun...@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@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. ______________________________________________ R-help@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.