install staDA package - r

I tried to install the package statDA without success.These are the last rows of the message I received in RStudio:
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (geoR)
ERROR: dependency ‘MBA’ is not available for package ‘StatDA’
* removing ‘/home/matteo/R/i686-pc-linux-gnu-library/3.0/StatDA’
Warning in install.packages :
installation of package ‘StatDA’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpwirNxx/downloaded_packages’
I also tried to install the MBA package but actually the same error appeared.
I'm on a Ubuntu (12.04) machine running R 3.0.

Related

Error message when installing package expss

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!

Error to install gdalcubes in R on ubuntu 20.04.3

When i install gdalcubes on ubuntu 20.04 with R, i have this error :
installing to /home/obstetar/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-gdalcubes/00new/gdalcubes/libs
** R
** 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
munmap_chunk(): invalid pointer
Aborted (core dumped)
ERROR: loading failed
removing ‘/home/obstetar/R/x86_64-pc-linux-gnu-library/4.1/gdalcubes’
Warning in install.packages :
installation of package ‘gdalcubes’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmp6dZFPa/downloaded_packages’

ERROR: lazy loading failed for package ‘ENMTools’

I am trying to install ENMtools in R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Linux Mint 20.1
But get the following error:
installing to /home/alonso/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-rgeos/00new/rgeos/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
DONE (rgeos)
installing source package ‘ENMTools’ ...
** package ‘ENMTools’ 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
double free or corruption (!prev)
Aborted (core dumped)
ERROR: lazy loading failed for package ‘ENMTools’
removing ‘/home/XXX/R/x86_64-pc-linux-gnu-library/3.6/ENMTools’
Warning in install.packages :
installation of package ‘ENMTools’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpWvRhkI/downloaded_packages’
Any help would be much appreciated

Installing R package gsubfn

I am trying to install the latest version of gsubfn from source file on my CentOS machine. It installs with out any issues as follows:
> install.packages("/home/ravishankarr/PraaS/gsubfn_0.6-6.tar.gz", repos = NULL, type="source")
* installing *source* package 'gsubfn' ...
** package 'gsubfn' successfully unpacked and MD5 sums checked
** R
** demo
** 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
* DONE (gsubfn)
However, when I load this package, I get the following message:
> library(gsubfn)
Loading required package: proto
Could not load tcltk. Will use slower R code instead.
What does this warning message mean? Does this slow down the codes using this package? If so, is there a way to get rid of this? Would appreciate any help on this.

Installation of R package (tar.gz) in windows

I have a serious problem about R package installation in windows where I haven't got the administrator priveleges. For example, to install ggplot2 I did :
install.packages("C:/Users/Rasengan/Downloads/ggplot2_1.0.0.tar.gz", repos = NULL, type="source")
I get this error message :
ERROR: dependencies 'plyr', 'gtable', 'reshape2', 'scales', 'proto' are not available for package 'ggplot2'
* removing 'C:/Program Files/R/R-3.1.1/library/ggplot2'
Warning messages:
1: running command '"C:/PROGRA~1/R/R-31~1.1/bin/i386/R" CMD INSTALL -l "C:\Program Files\R\R-3.1.1\library" "C:/Users/Rasengan/Downloads/ggplot2_1.0.0.tar.gz"' had status 1
2: In install.packages("C:/Users/Rasengan/Downloads/ggplot2_1.0.0.tar.gz", :
installation of package ‘C:/Users/Rasengan/Downloads/ggplot2_1.0.0.tar.gz’ had non-zero exit status
So the problem come from the pakage which depends ggplot2, what I tried is to install the different packages ('plyr', 'gtable', 'reshape2', 'scales', 'proto') one by one but the process is endless because 'plyr' depended of many or packages ...
Please could you help me, because I need shiny, ggplot2 and rCharts for my work.
Thank you in advance!
PS: the proto package doesn't depend of an other package, so I installed it easly :
> install.packages("C:/Users/Rasengan/Downloads/proto_0.3-10.tar.gz", repos = NULL, type="source")
* installing *source* package 'proto' ...
** package 'proto' successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
'proto.Rnw'
'protoref.Rnw'
** testing if installed package can be loaded
* DONE (proto)

Resources