[R] Problem in using 'plm' package after updating R

Wong David d@v|d-wong912 @end|ng |rom hotm@||@com
Fri May 31 09:21:06 CEST 2019

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 ���� yourself

The error messages are highlighted in blue. Please assist.

Thanks and regards,
David Wong

	[[alternative HTML version deleted]]

More information about the R-help mailing list