Stacks Image 20108

For Academics

Installing packages

Sometimes a package is needed that is not part of the R installation. It is easy to install it, and all its dependencies.

The easiest way to install it is:

install.packages("package_name", dependencies=TRUE)

dependencies=TRUE looks for other packages required by the package to be installed, and installs them too.

The computer needs to be online for the command to work. If there is an error message, go to Preferences > Startup and choose a different 'default CRAN mirror'.

If it still doesn't work, you can try to find the package from 'Packages & Data > Package Installer'. For example BioConductor packages are installed from there.

If the package is not found in a binary package, you can try adding

, type="source"

in the install command.

Installation only needs to happen once. The next time you want to use the package, you can just load it by

library(package_name)

Update all packages

update.packages(ask=FALSE, checkBuilt=TRUE)
Previous Post 4 / 21 Post

Tag:

Sex chromosome papers RSS


Whole-genome resequencing reveals chromosomal fusion-driven early stages of XY chromosomes evolution in the darkbarbel catfish (Tachysurus vachellii)
Link

Osteological Sex Estimation Versus Proteomic Sex "Determination": What Effect Do Our Techniques Have on the Way We View the People of the Past?
Link

The genome sequence of the Little Owl, Athene noctua (Scopoli, 1769) (Strigiformes: Strigidae)
Link