Byron Dom
2020-May-04 23:46 UTC
[R] Problems installing rgl (3D graphics package). Error messages "... not available, " "non-zero exit status" and so on
I want to install the 3D graphics rgl.? I'm running R version 3.2.3 on Windows version "10.0.18362 N/A Build 18362". I've been using R for about 15 years but only as a casual user. I have installed two packages in the past, but the last was several years ago. When I issued the command "install.packages("rgl",dependencies=TRUE)," The output I got included quite a few error messages. I've pasted below some of the output that came at the end. There was so much output that I've only included the parts that contained the error and warning messages, which was at the end. I am happy to provide all of the output, if that would help in diagnosing the problem(s). My questions about this are the obvious ones:(1) What is causing it??(2) How can I fix it? I'm also wondering if installing R 4.0 before installing rgl, would fix the problems. I've been planning to do that in the near future anyway. Thanks in advance for any help. ? - - Byron Dom ERROR: dependency 'processx' is not available for package 'callr'* removing 'C:/Users/byron/Documents/R/win-library/3.2/callr'* installing *source* package 'magic' ...** package 'magic' successfully unpacked and MD5 sums checked** R** data** inst** preparing package for lazy loadingWarning: package 'abind' was built under R version 3.2.5** help*** installing help indices** building package indices** installing vignettes** testing if installed package can be loadedWarning: package 'abind' was built under R version 3.2.5* DONE (magic)* installing *source* package 'stringr' ...** package 'stringr' successfully unpacked and MD5 sums checked** R** data*** moving datasets to lazyload DB** inst** preparing package for lazy loadingError in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :?? namespace 'stringi' 1.1.5 is being loaded, but >= 1.1.7 is requiredERROR: lazy loading failed for package 'stringr'* removing 'C:/Users/byron/Documents/R/win-library/3.2/stringr'* installing *source* package 'tinytex' ...** package 'tinytex' successfully unpacked and MD5 sums checked** R** inst** preparing package for lazy loading** help*** installing help indices** building package indices** testing if installed package can be loaded* DONE (tinytex)ERROR: dependencies 'htmltools', 'later', 'promises', 'rlang', 'fastmap' are not available for package 'shiny'* removing 'C:/Users/byron/Documents/R/win-library/3.2/shiny'ERROR: dependency 'htmltools' is not available for package 'crosstalk'* removing 'C:/Users/byron/Documents/R/win-library/3.2/crosstalk'* installing *source* package 'rstudioapi' ...** package 'rstudioapi' successfully unpacked and MD5 sums checked** R** inst** preparing package for lazy loading** help*** installing help indices*** copying figures** building package indices** installing vignettes** testing if installed package can be loaded* DONE (rstudioapi)ERROR: dependencies 'shiny', 'htmltools' are not available for package 'miniUI'* removing 'C:/Users/byron/Documents/R/win-library/3.2/miniUI'ERROR: dependency 'callr' is not available for package 'webshot'* removing 'C:/Users/byron/Documents/R/win-library/3.2/webshot'ERROR: dependency 'stringr' is not available for package 'knitr'* removing 'C:/Users/byron/Documents/R/win-library/3.2/knitr'ERROR: dependencies 'shiny', 'miniUI', 'htmltools', 'knitr', 'webshot' are not available for package 'manipulateWidget'* removing 'C:/Users/byron/Documents/R/win-library/3.2/manipulateWidget'ERROR: dependencies 'knitr', 'htmltools', 'stringr' are not available for package 'rmarkdown'* removing 'C:/Users/byron/Documents/R/win-library/3.2/rmarkdown' The downloaded source packages are in? ? ? ? ?C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb\downloaded_packages? There were 18 warnings (use warnings() to see them)> warnings()Warning messages:1: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/callr_3.4.3.tar.gz' had status 12: In install.packages("rgl", dependencies = TRUE) :? installation of package ?callr? had non-zero exit status3: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/stringr_1.4.0.tar.gz' had status 14: In install.packages("rgl", dependencies = TRUE) :? installation of package ?stringr? had non-zero exit status5: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/shiny_1.4.0.2.tar.gz' had status 16: In install.packages("rgl", dependencies = TRUE) :? installation of package ?shiny? had non-zero exit status7: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/crosstalk_1.1.0.1.tar.gz' had status 18: In install.packages("rgl", dependencies = TRUE) :? installation of package ?crosstalk? had non-zero exit status9: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/miniUI_0.1.1.1.tar.gz' had status 110: In install.packages("rgl", dependencies = TRUE) :? installation of package ?miniUI? had non-zero exit status11: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/webshot_0.5.2.tar.gz' had status 112: In install.packages("rgl", dependencies = TRUE) :? installation of package ?webshot? had non-zero exit status13: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/knitr_1.28.tar.gz' had status 114: In install.packages("rgl", dependencies = TRUE) :? installation of package ?knitr? had non-zero exit status15: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/manipulateWidget_0.10.1.tar.gz' had status 116: In install.packages("rgl", dependencies = TRUE) :? installation of package ?manipulateWidget? had non-zero exit status17: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/rmarkdown_2.1.tar.gz' had status 118: In install.packages("rgl", dependencies = TRUE) :? installation of package ?rmarkdown? had non-zero exit status>?> date()[1] "Mon May 04 15:55:35 2020"[[alternative HTML version deleted]]
Duncan Murdoch
2020-May-04 23:55 UTC
[R] Problems installing rgl (3D graphics package). Error messages "... not available, " "non-zero exit status" and so on
On 04/05/2020 7:46 p.m., Byron Dom via R-help wrote:> I want to install the 3D graphics rgl. > I'm running R version 3.2.3 on Windows version "10.0.18362 N/A Build 18362".That's a four year old version of R. You'll likely have to find packages of a similar age to be able to get it to work, or upgrade to 3.6.3 (the previous version, very stable) or 4.0.0 (the current version). Duncan Murdoch> I've been using R for about 15 years but only as a casual user. I have installed two packages in the past, but the last was several years ago. > When I issued the command "install.packages("rgl",dependencies=TRUE)," The output I got included quite a few error messages. I've pasted below some of the output that came at the end. There was so much output that I've only included the parts that contained the error and warning messages, which was at the end. I am happy to provide all of the output, if that would help in diagnosing the problem(s). > My questions about this are the obvious ones:(1) What is causing it??(2) How can I fix it? > I'm also wondering if installing R 4.0 before installing rgl, would fix the problems. I've been planning to do that in the near future anyway. > Thanks in advance for any help. > ? - - Byron Dom > > ERROR: dependency 'processx' is not available for package 'callr'* removing 'C:/Users/byron/Documents/R/win-library/3.2/callr'* installing *source* package 'magic' ...** package 'magic' successfully unpacked and MD5 sums checked** R** data** inst** preparing package for lazy loadingWarning: package 'abind' was built under R version 3.2.5** help*** installing help indices** building package indices** installing vignettes** testing if installed package can be loadedWarning: package 'abind' was built under R version 3.2.5* DONE (magic)* installing *source* package 'stringr' ...** package 'stringr' successfully unpacked and MD5 sums checked** R** data*** moving datasets to lazyload DB** inst** preparing package for lazy loadingError in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :?? namespace 'stringi' 1.1.5 is being loaded, but >= 1.1.7 is requiredERROR: lazy loading failed for package 'stringr'* removing 'C:/Users/byron/Documents/R/win-library/3.2/stringr'* installing *source* package 'tinytex' ...** package 'tinytex' successfully unpacked and MD5 sums checked** R** inst** preparing package for lazy loading** help*** installing help indices** building package indices** testing if installed package can be loaded* DONE (tinytex)ERROR: dependencies 'htmltools', 'later', 'promises', 'rlang', 'fastmap' are not available for package 'shiny'* removing 'C:/Users/byron/Documents/R/win-library/3.2/shiny'ERROR: dependency 'htmltools' is not available for package 'crosstalk'* removing 'C:/Users/byron/Documents/R/win-library/3.2/crosstalk'* installing *source* package 'rstudioapi' ...** package 'rstudioapi' successfully unpacked and MD5 sums checked** R** inst** preparing package for lazy loading** help*** installing help indices*** copying figures** building package indices** installing vignettes** testing if installed package can be loaded* DONE (rstudioapi)ERROR: dependencies 'shiny', 'htmltools' are not available for package 'miniUI'* removing 'C:/Users/byron/Documents/R/win-library/3.2/miniUI'ERROR: dependency 'callr' is not available for package 'webshot'* removing 'C:/Users/byron/Documents/R/win-library/3.2/webshot'ERROR: dependency 'stringr' is not available for package 'knitr'* removing 'C:/Users/byron/Documents/R/win-library/3.2/knitr'ERROR: dependencies 'shiny', 'miniUI', 'htmltools', 'knitr', 'webshot' are not available for package 'manipulateWidget'* removing 'C:/Users/byron/Documents/R/win-library/3.2/manipulateWidget'ERROR: dependencies 'knitr', 'htmltools', 'stringr' are not available for package 'rmarkdown'* removing 'C:/Users/byron/Documents/R/win-library/3.2/rmarkdown' > The downloaded source packages are in? ? ? ? ?C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb\downloaded_packages? > > There were 18 warnings (use warnings() to see them)> warnings()Warning messages:1: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/callr_3.4.3.tar.gz' had status 12: In install.packages("rgl", dependencies = TRUE) :? installation of package ?callr? had non-zero exit status3: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/stringr_1.4.0.tar.gz' had status 14: In install.packages("rgl", dependencies = TRUE) :? installation of package ?stringr? had non-zero exit status5: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/shiny_1.4.0.2.tar.gz' had status 16: In install.packages("rgl", dependencies = TRUE) :? installation of package ?shiny? had non-zero exit status7: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/crosstalk_1.1.0.1.tar.gz' had status 18: In install.packages("rgl", dependencies = TRUE) :? installation of package ?crosstalk? had non-zero exit status9: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/miniUI_0.1.1.1.tar.gz' had status 110: In install.packages("rgl", dependencies = TRUE) :? installation of package ?miniUI? had non-zero exit status11: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/webshot_0.5.2.tar.gz' had status 112: In install.packages("rgl", dependencies = TRUE) :? installation of package ?webshot? had non-zero exit status13: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/knitr_1.28.tar.gz' had status 114: In install.packages("rgl", dependencies = TRUE) :? installation of package ?knitr? had non-zero exit status15: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/manipulateWidget_0.10.1.tar.gz' had status 116: In install.packages("rgl", dependencies = TRUE) :? installation of package ?manipulateWidget? had non-zero exit status17: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\byron\Documents\R\win-library\3.2" C:\Users\byron\AppData\Local\Temp\Rtmp2lNuLb/downloaded_packages/rmarkdown_2.1.tar.gz' had status 118: In install.packages("rgl", dependencies = TRUE) :? installation of package ?rmarkdown? had non-zero exit status> >> date()[1] "Mon May 04 15:55:35 2020" > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. >