Contact Us

Use the form on the right to contact us.

You can edit the text in this area, and change where the contact form on the right submits to, by entering edit mode using the modes on the bottom right. 

#4200-6270 University Blvd.
Vancouver, BC
Canada

Functional morphologist and evolutionary biologist

Blog

Filtering by Tag: R Code

A Hassle-Free Way to Verify that R Packages are Installed and Loaded

Vikram Baliga

Say you have an R script shared between you and several colleagues. You may not be sure that each user with whom you're collaborating has installed all the packages the script will require. This code below provides an easy way to check whether specific packages are in the default Library. If they are, they're simply loaded. If any packages are missing, they're installed (with dependencies) into the default Library and are then loaded.

Read More