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
On Thu, Sep 16, 2010 at 5:40 PM, Stephen Liu <satimis at yahoo.com> wrote:> > 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 statusIt looks like packages 'tkrplot' and 'rgl' did not install properly so any aspects of the teaching demos package that relied on those will probably not work.> > > 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. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/
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.