Question: Can't install Genesis
0
gravatar for winstondunnmd
8 weeks ago by
winstondunnmd0 wrote:

I have difficulty installing the Genesis package. Please kindly advise.

BiocManager::install("GENESIS") Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.0 (2019-04-26) Installing package(s) 'GENESIS' trying URL 'https://bioconductor.org/packages/3.9/bioc/bin/windows/contrib/3.6/GENESIS_2.14.3.zip' Content type 'application/zip' length 3276719 bytes (3.1 MB) downloaded 3.1 MB

package ‘GENESIS’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\winst\AppData\Local\Temp\RtmpGEHmlD\downloaded_packages installation path not writeable, unable to update packages: boot, cluster, foreign, nlme

installation genesis • 104 views
ADD COMMENTlink modified 8 weeks ago by Mike Smith4.0k • written 8 weeks ago by winstondunnmd0
Answer: Can't install Genesis
0
gravatar for Mike Smith
8 weeks ago by
Mike Smith4.0k
EMBL Heidelberg / de.NBI
Mike Smith4.0k wrote:

There doesn't seem to be any errors here, the installation of GENESIS looks like it worked fine.

If you're worried by the part that says:

installation path not writeable, unable to update packages: boot, cluster, foreign, nlme

this is likely because R was installed using administrator privileges, but you're currently running R as a regular user. A small number of packages are installed along with R (these are known as 'base packages') and this message is telling you that they can't be updated as they were created by an administrator. However you can almost certainly ignore the message and things will work fine with the versions that are currently there.

ADD COMMENTlink written 8 weeks ago by Mike Smith4.0k

However, I can't load the library and other functions of Genesis.

library(GENESIS) Error: package or namespace load failed for ‘GENESIS’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘RSQLite’

Is there a way to install using administrator privileges?

ADD REPLYlink written 8 weeks ago by winstondunnmd0

That message is saying there's a package missing that GENESIS requires, in this case it's RSQLite. R should install any dependencies during installation, but it's easily possible to get this messed up. You could try installing RSQLite manually using BiocManager::install('RSQLite'), however there's a fair chance some other package will be missing.

I would suggest running BiocManager::valid() and then looking at the output sections that says:

create a valid installation with 

  BiocManager::install(c( 
  ...

Copying the code in this output should install any packages that are either missing or outdated.


Regarding running R as an administrator, you really don't need to do that. R will automatically create a folder you do have permission to write to and use that to install new package. On windows it's probably something like C:\Users\winst\Documents\R\win-library\3.6\ It's just that I will try to use the one created during installation first. This guide gives a little more detail and shows you how to set the default if you're using RStudio https://www.accelebrate.com/library/how-to-articles/r-rstudio-library

ADD REPLYlink written 8 weeks ago by Mike Smith4.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 188 users visited in the last hour