Search code examples
rinstallationbioconductor

How do I instruct R to install all Bioconductor packages that are not already installed?


Apparently installing all Bioconductor packages is not that troublesome

install all Bioconductor software packages

biocLite(all_group())

However if you want to install only those packages that are not available and installed on your computer then what is the right thing to do?


Solution

  • You can fairly easily work with

    IP <- installed.packages()
    

    and

    AP <- available.packages()
    

    and then feed these into setdiff() to compute differences.