Skip to content

Installation of Rvcg

zarquon42b edited this page Jul 29, 2013 · 9 revisions
Installation of the R-package "Rvcg":
  1. Make sure to work with the latest version of R and install dependencies (type the following commands into your R terminal):

    install.packages("Rcpp")

  • Download the version suitable for your OS from here. Either the compiled package (for Windows and OS X) or the source tarball (Linux).

  • Installation command from within R:

      install.packages("Path_to_downloaded_package_Rvcg[Version_OS]",repos=NULL)
    
  • check if the package can be loaded:

      load package: library(Rvcg)
    

Installation of the-R package "Rvcg" using devtools::

install prerequisites
  1. install devtools from within R (Ubuntu/Debian users will have to install libcurl4-gnutls-dev beforehand):

     install.packages("devtools")
    
  2. Install build environment

    • Windows: Install latest version of Rtools During installation of Rtools make sure to install the toolchain, and to select "Edit the system path" (and confirming the installers suggestions).
    • OSX: Install XCODE
install release

run the following command in R:

    require(devtools)
    install_url("https://github.com/zarquon42b/Rvcg/archive/0.3.zip")
install latest development snapshot

run the following command in R:

    require(devtools)
    install_url("https://github.com/zarquon42b/Rvcg/archive/master.zip")