gdata problem

187 views
Skip to first unread message

laiaju...@gmail.com

unread,
Apr 27, 2022, 1:33:31 PM4/27/22
to dartR
Hi all, I was doing a relly good job with dartR today, I tried to instal SeqArrays and Radiator and now I cant chage the dartR library nor the SeqArrays, please somebody could help me? A lot of packages now have this error: I already re installed and updated the R, restarted the computer 5 times. Deleted all and reinstall, without success.

install.packages("devtools")
library(devtools)
install.packages("BiocManager")
BiocManager::install(c("SNPRelate", "qvalue"))
install_github("green-striped-gecko/dartR")

 library(dartR)
Loading required package: adegenet
Loading required package: ade4

   /// adegenet 2.1.5 is loaded ////////////

   > overview: '?adegenet'
   > tutorials/doc/questions: 'adegenetWeb()'
   > bug reports/feature requests: adegenetIssues()


Loading required package: ggplot2
Loading required package: dplyr

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

Registered S3 method overwritten by 'pegas':
  method      from
  print.amova ade4
Registered S3 method overwritten by 'GGally':
  method from  
  +.gg   ggplot2
Error: package or namespace load failed for ‘dartR’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘gdata’

 install.packages("gdata")
Installing package into ‘C:/Users/User/Desktop/data_sci/packrat/lib/x86_64-w64-mingw32/4.2.0’
(as ‘lib’ is unspecified)

   package ‘gdata’ is available as a source package but not as a binary

Warning in install.packages :
  package ‘gdata’ is not available as a binary package for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

Jose Luis Mijangos

unread,
Apr 27, 2022, 10:40:06 PM4/27/22
to dartR
Hi Laia,

Regarding your problem with R and R-studio, can you try:

devtools::install_github("r-gregmisc/gdata”)

Then restart your R session and try loading again dartR.

Let me know how it goes.

Cheers,
Luis

laiaju...@gmail.com

unread,
Apr 27, 2022, 10:41:08 PM4/27/22
to dartR
Hi Luis,
Thank you so much, DartR is working again. 
Cheers,
Laia

Reply all
Reply to author
Forward
0 new messages