I have tried to install plotKML package, but it raises the next error. I can't see any missing dependencies and I don't know what's wrong.
> install.packages("plotKML")
Installing package into ‘/home/benmhamed/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/plotKML_0.6-1.tar.gz'
Content type 'application/x-gzip' length 3448310 bytes (3.3 MB)
==================================================
downloaded 3.3 MB
* installing *source* package ‘plotKML’ ...
** package ‘plotKML’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
double free or corruption (!prev)
Aborted (core dumped)
ERROR: lazy loading failed for package ‘plotKML’
* removing ‘/home/benmhamed/R/x86_64-pc-linux-gnu-library/4.0/plotKML’
Warning in install.packages :
installation of package ‘plotKML’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpu5ujGk/downloaded_packages’
Related
I'm trying to download the package 'expss' in R, but I get an error message that I don't know how to solve.
This is what R tells me after trying to install 'expss':
installing the source package ‘expss’
trying URL 'https://cran.rstudio.com/src/contrib/expss_0.11.2.tar.gz'
Content type 'application/x-gzip' length 5002788 bytes (4.8 MB)
==================================================
downloaded 4.8 MB
* installing *source* package ‘expss’ ...
** package ‘expss’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘expss’:
object 'mtfrm' not found whilst loading namespace 'expss'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/expss’
Warning in install.packages :
installation of package ‘expss’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/86/04fdfqg9769g8w7ss25qnw600000gn/T/RtmpELbScA/downloaded_packages’
Any help appreciated!
The message I get:
Installing psych:
Installing package into 'C:/.../Documents/R/win-library/4.0'
(as 'lib' is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
psych 2.1.9 2.2.3 FALSE
installing the source package 'psych'
trying URL 'https://cran.rstudio.com/src/contrib/psych_2.2.3.tar.gz'
Content type 'application/x-gzip' length 1928530 bytes (1.8 MB)
==================================================
downloaded 1.8 MB
* installing *source* package 'psych' ...
** package 'psych' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: unexpected symbol in "tools:::makeLazyLoading("psych", 'C:..."
Execution halted
ERROR: lazy loading failed for package 'psych'
* removing '.../Documents/R/win-library/4.0/psych'
The downloaded source packages are in
'C:...Temp\Rtmpe405Ws\downloaded_packages'
<U+2714> Package 'psych' successfully installed.
Warning message:
In utils::install.packages("psych", repos = "https://cran.rstudio.com/") :
installation of package 'psych' had non-zero exit status
What's happen with asbio instalation here in R-3.5.3? Please.
There is a binary version available but the source version is later:
binary source needs_compilation
asbio 1.6-1 1.7 FALSE
installing the source package ‘asbio’
tentando a URL 'https://cran.csiro.au/src/contrib/asbio_1.7.tar.gz'Hi
Content type 'application/x-gzip' length 1789938 bytes (1.7 MB)
downloaded 1.7 MB
* installing *source* package 'asbio' ...
** package 'asbio' successfully unpacked and MD5 sums checked
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error : object 'hcl.colors' is not exported by 'namespace:grDevices'
ERROR: lazy loading failed for package 'asbio'
* removing 'C:/Program Files/R/R-3.5.3/library/asbio'
* restoring previous 'C:/Program Files/R/R-3.5.3/library/asbio'
In R CMD INSTALL
The downloaded source packages are in
‘C:\Users\rivad\AppData\Local\Temp\RtmpchxkNb\downloaded_packages’
Warning message:
In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) :
installation of package ‘asbio’ had non-zero exit status
Thank you
I am facing issues while installing the RWeka package. I tried installing rJava but even that is not being installed, can someone help here with the issue? You can follow the code for the error message
> install.packages("RWeka")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/1911120/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
RWeka 0.4-42 0.4-43 FALSE
installing the source package ‘RWeka’
trying URL 'https://cran.rstudio.com/src/contrib/RWeka_0.4-43.tar.gz'
Content type 'application/x-gzip' length 451318 bytes (440 KB)
downloaded 440 KB
* installing *source* package 'RWeka' ...
** package 'RWeka' successfully unpacked and MD5 sums checked
** using staged installation
**********************************************
WARNING: this package has a configure script
It probably needs manual configuration
**********************************************
** R
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Execution halted
ERROR: lazy loading failed for package 'RWeka'
* removing 'C:/Users/1911120/Documents/R/win-library/3.6/RWeka'
Warning in install.packages :
installation of package ‘RWeka’ had non-zero exit status
I can't install the package "biotools" with following message.
I would appreciate it if you could answer my question.
> install.packages("biotools")
also installing the dependency ‘rpanel’
installing the source packages ‘rpanel’, ‘biotools’
trying URL 'https://cran.rstudio.com/src/contrib/rpanel_1.1-4.tar.gz'
Content type 'application/x-gzip' length 716333 bytes (699 KB)
==================================================
downloaded 699 KB
trying URL 'https://cran.rstudio.com/src/contrib/biotools_3.1.tar.gz'
Content type 'application/x-gzip' length 55301 bytes (54 KB)
==================================================
downloaded 54 KB
* installing *source* package ‘rpanel’ ...
** package ‘rpanel’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't find package BWidget.
Error : unable to load R code in package ‘rpanel’
ERROR: lazy loading failed for package ‘rpanel’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rpanel’
Warning in install.packages :
installation of package ‘rpanel’ had non-zero exit status
ERROR: dependency ‘rpanel’ is not available for package ‘biotools’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/biotools’
Warning in install.packages :
installation of package ‘biotools’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/51/tj1ztt6j3s9crhb71hl0n6qm0000gn/T/RtmpRjR4TK/downloaded_packages’