R-package providing mesh manipulation routines from VCGLIB
C++ R C QMake CMake GLSL Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
data
inst
man
src
.Rbuildignore
DESCRIPTION
NAMESPACE
README.md

README.md

Rvcg

Rvcg is an R-package providing methods for manipulations on triangular meshes by using the API of the VCGLIB library.

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" (latest development code) 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 Rvcg
  • Run the following command in R:

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