Wojciech Niemczyk Wojciech Niemczyk - 1 month ago 10
R Question

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?

Answer

You can fairly easily work with

IP <- installed.packages()

and

AP <- available.packages()

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