Can't install Genesis
Entering edit mode
Last seen 3.8 years ago

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 '' 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

Genesis Installation • 1.1k views
Entering edit mode
Mike Smith ★ 6.0k
Last seen 1 day ago
EMBL Heidelberg

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.

Entering edit mode

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?

Entering edit mode

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 


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


Login before adding your answer.

Traffic: 158 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6