Dear Madam/ Sir, After I updated the latest packages in R this afternoon, I found that I cannot use 'plm' package. The error messages are as follows: "R version 3.3.3 (2017-03-06) -- "Another Canoe" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) 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. Warning: namespace ??plm?? is not available and has been replaced by .GlobalEnv when processing object ??inst_f?? [Previously saved workspace restored]> utils:::menuInstallPkgs()--- Please select a CRAN mirror for use in this session --- There is a binary version available but the source version is later: binary source needs_compilation plm 1.6-6 2.0-1 FALSE installing the source package ??plm?? trying URL 'https://mirror-hk.koddos.net/CRAN/src/contrib/plm_2.0-1.tar.gz' Content type 'application/x-gzip' length 2343782 bytes (2.2 MB) downloaded 2.2 MB * installing *source* package 'plm' ... ** package 'plm' successfully unpacked and MD5 sums checked ** R ** data ** inst ** preparing package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'stringr' ERROR: lazy loading failed for package 'plm' * removing 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' * restoring previous 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' The downloaded source packages are in ??C:\Users\David Wong\AppData\Local\Temp\RtmpEdDjdI\downloaded_packages?? Warning messages: 1: running command '"C:/PROGRA~1/R/R-33~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\David Wong\Documents\R\win-library\3.3" C:\Users\DAVIDW~1\AppData\Local\Temp\RtmpEdDjdI/downloaded_packages/plm_2.0-1.tar.gz' had status 1 2: In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : installation of package ??plm?? had non-zero exit status> library(plm)Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ??stringr?? Error: package or namespace load failed for ??plm??> help.start()starting httpd help server ... done If nothing happens, you should open ??http://127.0.0.1:19429/doc/html/index.html?? yourself The error messages are highlighted in blue. Please assist. Thanks and regards, David Wong [[alternative HTML version deleted]]
Dear Madam/ Sir, After I tried to update the plm package based on the enclosure [i.e. download the package.soruces (tar.gz)], I still found the following errors as bold in black: "--- Please select a CRAN mirror for use in this session --- There is a binary version available but the source version is later: binary source needs_compilation plm 1.6-6 2.0-1 FALSE installing the source package ?plm? trying URL 'https://mirror-hk.koddos.net/CRAN/src/contrib/plm_2.0-1.tar.gz' Content type 'application/x-gzip' length 2343782 bytes (2.2 MB) downloaded 2.2 MB * installing *source* package 'plm' ... ** package 'plm' successfully unpacked and MD5 sums checked ** R ** data ** inst ** preparing package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'stringr' ERROR: lazy loading failed for package 'plm' * removing 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' * restoring previous 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' The downloaded source packages are in ?C:\Users\David Wong\AppData\Local\Temp\RtmpcPaQsM\downloaded_packages? Warning messages: 1: running command '"C:/PROGRA~1/R/R-33~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\David Wong\Documents\R\win-library\3.3" C:\Users\DAVIDW~1\AppData\Local\Temp\RtmpcPaQsM/downloaded_packages/plm_2.0-1.tar.gz' had status 1 2: In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : installation of package ?plm? had non-zero exit status" Please help. Thanks and regards, David Wong from Hong Kong ________________________________ ???: Wong David ????: 2019?5?31? 7:21 ???: r-help-owner at r-project.org; r-help at r-project.org ??: Problem in using 'plm' package after updating R Dear Madam/ Sir, After I updated the latest packages in R this afternoon, I found that I cannot use 'plm' package. The error messages are as follows: "R version 3.3.3 (2017-03-06) -- "Another Canoe" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) 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. Warning: namespace ?plm? is not available and has been replaced by .GlobalEnv when processing object ?inst_f? [Previously saved workspace restored]> utils:::menuInstallPkgs()--- Please select a CRAN mirror for use in this session --- There is a binary version available but the source version is later: binary source needs_compilation plm 1.6-6 2.0-1 FALSE installing the source package ?plm? trying URL 'https://mirror-hk.koddos.net/CRAN/src/contrib/plm_2.0-1.tar.gz' Content type 'application/x-gzip' length 2343782 bytes (2.2 MB) downloaded 2.2 MB * installing *source* package 'plm' ... ** package 'plm' successfully unpacked and MD5 sums checked ** R ** data ** inst ** preparing package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'stringr' ERROR: lazy loading failed for package 'plm' * removing 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' * restoring previous 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' The downloaded source packages are in ?C:\Users\David Wong\AppData\Local\Temp\RtmpEdDjdI\downloaded_packages? Warning messages: 1: running command '"C:/PROGRA~1/R/R-33~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\David Wong\Documents\R\win-library\3.3" C:\Users\DAVIDW~1\AppData\Local\Temp\RtmpEdDjdI/downloaded_packages/plm_2.0-1.tar.gz' had status 1 2: In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : installation of package ?plm? had non-zero exit status> library(plm)Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ?stringr? Error: package or namespace load failed for ?plm?> help.start()starting httpd help server ... done If nothing happens, you should open ?http://127.0.0.1:19429/doc/html/index.html? yourself The error messages are highlighted in blue. Please assist. Thanks and regards, David Wong -------------- next part -------------- A non-text attachment was scrubbed... Name: Plm package.pdf Type: application/pdf Size: 3148090 bytes Desc: Plm package.pdf URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20190603/70281d62/attachment-0001.pdf>
Looks like you are not equipped to install source packages, so don't.... Or, possibly, install from source has an unstated dependency on package "stringr" so try install that first. -pd> On 3 Jun 2019, at 05:38 , Wong David <david-wong912 at hotmail.com> wrote: > > Dear Madam/ Sir, > > After I tried to update the plm package based on the enclosure [i.e. download the package.soruces (tar.gz)], I still found the following errors as bold in black: > > "--- Please select a CRAN mirror for use in this session --- > > There is a binary version available but the source version is later: > binary source needs_compilation > plm 1.6-6 2.0-1 FALSE > > installing the source package ?plm? > > trying URL 'https://mirror-hk.koddos.net/CRAN/src/contrib/plm_2.0-1.tar.gz' > Content type 'application/x-gzip' length 2343782 bytes (2.2 MB) > downloaded 2.2 MB > > * installing *source* package 'plm' ... > ** package 'plm' successfully unpacked and MD5 sums checked > ** R > ** data > ** inst > ** preparing package for lazy loading > Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : > there is no package called 'stringr' > ERROR: lazy loading failed for package 'plm' > * removing 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' > * restoring previous 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' > > The downloaded source packages are in > ?C:\Users\David Wong\AppData\Local\Temp\RtmpcPaQsM\downloaded_packages? > Warning messages: > 1: running command '"C:/PROGRA~1/R/R-33~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\David Wong\Documents\R\win-library\3.3" C:\Users\DAVIDW~1\AppData\Local\Temp\RtmpcPaQsM/downloaded_packages/plm_2.0-1.tar.gz' had status 1 > 2: In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : > installation of package ?plm? had non-zero exit status" > > Please help. > > Thanks and regards, > David Wong from Hong Kong > > ________________________________ > ???: Wong David > ????: 2019?5?31? 7:21 > ???: r-help-owner at r-project.org; r-help at r-project.org > ??: Problem in using 'plm' package after updating R > > Dear Madam/ Sir, > > After I updated the latest packages in R this afternoon, I found that I cannot use 'plm' package. The error messages are as follows: > > "R version 3.3.3 (2017-03-06) -- "Another Canoe" > Copyright (C) 2017 The R Foundation for Statistical Computing > Platform: i386-w64-mingw32/i386 (32-bit) > > 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. > > Warning: namespace ?plm? is not available and has been replaced by .GlobalEnv when processing object ?inst_f? > > [Previously saved workspace restored] > >> utils:::menuInstallPkgs() > --- Please select a CRAN mirror for use in this session --- > > There is a binary version available but the source version is later: > binary source needs_compilation > plm 1.6-6 2.0-1 FALSE > > installing the source package ?plm? > > trying URL 'https://mirror-hk.koddos.net/CRAN/src/contrib/plm_2.0-1.tar.gz' > Content type 'application/x-gzip' length 2343782 bytes (2.2 MB) > downloaded 2.2 MB > > * installing *source* package 'plm' ... > ** package 'plm' successfully unpacked and MD5 sums checked > ** R > ** data > ** inst > ** preparing package for lazy loading > Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : > there is no package called 'stringr' > ERROR: lazy loading failed for package 'plm' > * removing 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' > * restoring previous 'C:/Users/David Wong/Documents/R/win-library/3.3/plm' > > The downloaded source packages are in > ?C:\Users\David Wong\AppData\Local\Temp\RtmpEdDjdI\downloaded_packages? > Warning messages: > 1: running command '"C:/PROGRA~1/R/R-33~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\David Wong\Documents\R\win-library\3.3" C:\Users\DAVIDW~1\AppData\Local\Temp\RtmpEdDjdI/downloaded_packages/plm_2.0-1.tar.gz' had status 1 > 2: In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : > installation of package ?plm? had non-zero exit status >> library(plm) > Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : > there is no package called ?stringr? > Error: package or namespace load failed for ?plm? >> help.start() > starting httpd help server ... done > If nothing happens, you should open ?http://127.0.0.1:19429/doc/html/index.html? yourself > > The error messages are highlighted in blue. Please assist. > > Thanks and regards, > David Wong > > <Plm package.pdf>______________________________________________ > 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.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com