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.
Related
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
Trying to install pmml package using R Studio on Red Hat. I get the following output:
================================================
downloaded 136 KB
* installing *source* package 'pmml' ...
** package 'pmml' successfully unpacked and MD5 sums checked
** R
** data
** inst
** preparing package for lazy loading
Error : object 'str_interp' is not exported by 'namespace:stringr'
ERROR: lazy loading failed for package ?pmml?
* removing '/usr/lib64/R/library/pmml'
Warning in install.packages :
installation of package 'pmml' had non-zero exit status
You have outdated stringr package. Install the new stringr package from CRAN with:
install.packages(c("stringr"))
I tried to develop hands-on materials for R with dashDB.
I want to use ggmap package to work with geospatial data, so I typed "install.packages("ggmap")" on RStudio provided by Bluemix.
I got the following result. I found the pre-installed package "ggplot" was older than that ggmap required.
install.packages("ggmap")
:
Loading required package: rpart
Loading required package: rpart.plot
Loading required package: ggplot2
* installing *source* package ‘ggmap’ ...
** package ‘ggmap’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error : package ‘ggplot2’ 1.0.1 is loaded, but >= 2.0.0 is required by ‘ggmap’
ERROR: lazy loading failed for package ‘ggmap’
* removing ‘/mnt/blumeta0/home/dash101482/R/x86_64-redhat-linux-gnu-library/3.2/ggmap’
Warning in install.packages :
installation of package ‘ggmap’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmps0c2yk/downloaded_packages’
Cloud anyone please tell me how to solve or avoid this error?
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)
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.