Questions tagged [r-library]

33 questions
0
votes
1 answer

Cannot load R package GLM3r on my macbook with Apple M1 chip

I am trying to install GLM3r in my mac Pro M1(12.6) I use this code : devtools::install_github("GLEON/GLM3r", ref = "GLMv.3.1.0a3") and I got this error : Downloading GitHub repo GLEON/GLM3r@GLMv.3.1.0a3 ── R CMD build ✔ checking for file…
0
votes
1 answer

Trouble installing GasFluxes Package in R Studio

I plan on using the package gasfluxes I installed it install.packages("gasfluxes") which returns trying URL 'http://cran.rstudio.com/bin/macosx/contrib/4.2/gasfluxes_0.4-4.tgz' Content type 'application/x-gzip' length 586415 bytes (572…
0
votes
0 answers

R-library does not exist

I am trying to load packages in Rstdio. When I use the command line to load packages "R -e "library('XXXXX')", or Run the command library(XXXXX) in Rstdio console, I am able to load the package. But when I try to run a .R file that laods the same…
0
votes
0 answers

Library of alternativeFunction() in R

I am trying to read 2 different types of files, using the alternativeFunction(). So if the first file in .txt format could not be found, I could try with the second type in .csv format, but R tells me that the function is not found. Does anyone know…
0
votes
0 answers

Unable to load libraries

I recently updated R and Rstudio and since then have not been able to load any libraries, including ggplot2, tidyverse. Just for clarity, let me share the messages I get when I install tidyverse and try to load the…
0
votes
1 answer

R libraries cannot be installed

I have a new computer in the same network as the old one. In the new one, I first installed RStudio, then the latest version of R (I hope the order does not matter). Now, the new R installation gets "unable to access index for repository" error for…
Peter
  • 31
  • 3
0
votes
1 answer

I am getting an error when running `R CMD build` on a `forgeBSgenomeDataPkg` directory

I needed to create a custom BSgenome library. I believe I've completed all the steps correctly. Mostly advice from https://www.bioconductor.org/packages/devel/bioc/vignettes/BSgenome/inst/doc/BSgenomeForge.pdf and…
rdv
  • 41
  • 4
0
votes
1 answer

Failing to load a library in R

I have just installed the package LiftOver from Bioconductor (https://www.bioconductor.org/packages/release/workflows/html/liftOver.html) however when I try to load the library I get the following error > library(liftOver) Loading required package:…
AvniKaur
  • 39
  • 1
  • 6
0
votes
1 answer

plot KML library load fail, unable to load shared object

Not sure if relevant, but I'm getting this error after a recent update to Mac OS Monterey Version 12.5.1. After trying library(plotKML) I get the following: Error: package or namespace load failed for ‘plotKML’ in dyn.load(file, DLLpath = DLLpath,…
0
votes
0 answers

object 'rlang_tilde_eval' not found after library updates

I have been using the combcoint library for quite some time. Today I installed some new packages in R for my work and since then I have been getting an error, when I try to run the function bayerhanck. The error itself: Error in p_value_Fisher_bc ~…
totnan
  • 67
  • 6
0
votes
1 answer

package installation error with 'mapview' package

I am trying to install the 'mapview' package in R. I tried restarting R, clearing the environment, terminating all the sessions, and restarting and with a totally new session.But I keep getting same error message: Error in loadNamespace(i,…
0
votes
0 answers

Problem with loading lmSupport package in R

I am having some difficulties loading a R package lmSupport. No problem with the installation but once I try to load it this error message shows up: Error: package or namespace load failed for ‘lmSupport’ in .doLoadActions(where, attach): error in…
cliu
  • 933
  • 6
  • 13
0
votes
0 answers

Getting error with forecast library in R, what to do? I have re-installed the library but this error keeps coming

library(forecast) Error: package or namespace load failed for ‘forecast’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 0.4.6 is already loaded, but >= 0.4.7 is required In addition: Warning message: package…
Shivam
  • 1
  • 2
0
votes
0 answers

Why is pcgsolve function not running in R?

I've installed the package cPCG with succes, yet my computer(s) will not recognise the functin pcgsolve (the peconditioned conjugate gradient method). Every time I try to use it, it says Error in pcgsolve(A) : could not find function "pcgsolve" It…
Britta
  • 135
  • 1
  • 1
  • 8
0
votes
1 answer

Rmakrdown not using most recent version of package functions to generate github markdown (md) file?

I'm using an Rmd to generate github markdown file. When I make changes to the package locally, build from source, then run knit -> knit to github document, the .md file generated still uses the previous versions of the package. Is there something…
stevec
  • 41,291
  • 27
  • 223
  • 311