Problem with installing "biocLite" and "Monocle" with R 4.2.0
1
0
Entering edit mode
a_d_ho • 0
@3a5f71d6
Last seen 10 months ago
Germany

Enter the body of text here

Code should be placed in three backticks as shown below

Warning in install.packages :
  package 'biocLite' is not available 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
> 

I have tried updating R and RStudio, and deleting the older versions, re-loading the new versions of both R and R-Studio. For a whole week I have tried different ways and have failed. 

Can someone please help? 


sessionInfo( )
biocLite • 1.9k views
ADD COMMENT
1
Entering edit mode
Mike Smith ★ 6.6k
@mike-smith
Last seen 8 hours ago
EMBL Heidelberg

Where are you getting the instructions to use biocLite() from? That method of installing Bioconductor packages is very out of date and hasn't been supported for quite a few years.

To install a package you should use the package BiocManager and the function install(). For example on the monocle landing page the installation instructions are:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("monocle")

That will install BiocManager if you don't have it already, and then install monocle.

ADD COMMENT

Login before adding your answer.

Traffic: 547 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6