When I run these two lines
install.packages(highcharter)
library(highcharter)
I get this error
package �highcharter� was built under R version 3.6.3Error: package or namespace load failed for ‘highcharter’ in readRDS(ffile):
unknown input format
How to fix it?
Related
I've recently run into an error that I have not encountered before in RStudio. I'm currently using the newest version of R, 4.1.2. I've installed a package called "redist" and when I load the package in RStudio, I get the following error:
Error: package or namespace load failed for ‘redist’:
.onLoad failed in loadNamespace() for 'units', details:
call: udunits_init(path)
error: no database found!
The following code snippet ist what I used to install and run the package.
install.packages("redist", dependencies = TRUE)
library(installr)
I'm not really sure where to look for this error or how to fix this. Has anyone run into something similiar or does anyone have any advice on what to do?
Messing around with some things, I've come upon a solution that works, even though this may be related to the package itself.
Before loading the redist package, it's necessary to load the udunits2 package. Loading the library then works.
I am trying to load clusterProfiler, but regardless of how I install the package or whether I un-install or re-install, I continue to get the below error when I attempt to load it. I have also recently installed and loaded patchwork. Appreciate any tips.
Error: package or namespace load failed for ‘clusterProfiler’:
object ‘patchworkGrob’ is not exported by 'namespace:patchwork'
I had the same issue, and I solved it by loading the library(patchwork) before loading clusterProfiler.
Hope it helps~
I have been experiencing the problem of not being able to load package libraries in R. The packages install fine via instal.packages(), but I get the error
Error: package or namespace load failed for ‘adegenet’ in library.dynam(lib, package, package.lib):
shared object ‘httpuv.so’ not found
Error: package ‘adegenet’ could not be loaded
When I attempt to load the package 'adegenet' (and any other packages).
I recall this behaviour started to occur when I used remove.packages() to remove shiny in order to install the development version on GitHub (shiny-Incubator).
I am unsure as to what is going on. Any ideas on how to restore everything? I updated to the most recent R version, but this did not fix things.
It seems that during your uninstallation procedure you managed to remove a component of httpuv and/or Rcpp. This should get things working again:
install.packages(c("Rcpp", "httpuv"))
I'm trying to install the package quantstrat, however I always get following errors trying this:
--Error : object ‘importDefaults’ is not exported by 'namespace:quantmod'
Failed with error: ‘package ‘FinancialInstrument’ could not be loaded’
Now, when I tried to load the package FinancialInstrument, R throws the following error:
--Error : object ‘importDefaults’ is not exported by 'namespace:quantmod'
I am not sure what to do to get the package quantstrat loaded. I am using the R version 3.0.0 on windows 64 bit system. Any help would be very much appreciated.
I tried for installing the PROcess package by following way:
>install.packages("/home/R-Packages/PROcess.tar.gz",repos=NULL)
Then following error occurs:
ERROR: dependency ‘Icens’ is not available for package ‘PROcess’
Then I have tried to install the Icens packages:
>install.packages("Icens")
Then following error occurs:
package ‘Icens’ is not available (for R version 2.15.3)
So Can anyone help me out of this problem and suggest some way so that I can able to install the PROcess packages.
The Icens package has been moved from CRAN to another repository: Bioconductor. The Bioconductor page of Icens states that it can be installed using the following command:
source("http://bioconductor.org/biocLite.R")
biocLite("Icens")