Wiki

Clone wiki

bio3d / How to download and install the development version

There are several ways to download and install the development version of Bio3D:

1. Use devtools

The simplest method is to install directly from bitbucket using the R function "install_bitbucket()" from the devtools package.

library(devtools)
install_bitbucket("Grantlab/bio3d", subdir="ver_devel/bio3d/")
help(package="bio3d")

2. Download and install manually

Click Downloads and then click Tags (for released versions) or Branches (for versions under development). Download will start after clicking on a compressed method shown on the rightmost column. This will download the source code of the Bio3D package along with additional development utilities.

Build and install from source

Once downloaded and uncompressed enter the main directory of Bio3D, and then

$ cd ver_devel

Type following commands to build and install:

$ R CMD build bio3d
$ R CMD INSTALL bio3d_XXX.tar.gz

where XXX is the version number of Bio3D you have built.

3. Clone the package using git

If you have Git, the distributed version control system, on your local machine. On the command line, type

$ git clone git@bitbucket.org:Grantlab/bio3d

This will download the latest and greatest source code of the package to your working current directory. As above navigate to the directory "ver_devel/" and build then install:

$ cd ver_devel
$ R CMD build bio3d
$ R CMD INSTALL bio3d_XXX.tar.gz

where XXX is the version number of Bio3D you have built.

Updated