Package R

From VLE

Jump to: navigation, search


rvle, R-Package for VLE

Description

RVLE, is an R Package, to call VLEs API from R. This package alllows to open packages, to read VPZ, assign experimental conditions to the models, call the simulator, buid experimental frames and capture result of simulation into matrix or dataframe. RVLE is now part of the VLE, sources are on Git, package on sourceforge.

Usage

FAQ

  • The current PATH is changed by RVLE when you open a package ($VLE_HOME/pkgs/current_package/output).

Installation

First, download RVLE from the Git repository:

git clone git://vle.git.sourceforge.net/gitroot/vle/rvle
# For a version compatible with VLE 0.8
git checkout -b branch08 origin/master0.8.0
# For a version compatible with VLE 1.0 don't change anything
  • Unix/Linux
    • Install VLE 0.8 or 1.0 (See download page)
    • Install R (package r-base-core and r-base-dev)
    • Install g++, pkg-config (all dependencies of VLE)
    • And from a terminal:
R CMD INSTALL rvle
  • Win32
    • Install VLE 0.8 or 1.0 (for example in c:\program files\vle-x.y)
    • Install R (for example in c:\program files\R\R-X.y.z) 2.12
    • Install Rtools (for example in c:\rtools) 2.12
    • Install Mingw32 (for example in c:\mingw with msys)
    • And from an Msys terminal (for example, rxvt):
export PATH=/c/program\ files/R/R-2.12/bin:/c/rtools/perl/bin:/c/rtools/bin:c/mingw/bin:$PATH
tar zxf rvle_xxxx.tar.gz
cd rvle
autoconf
./configure
R CMD INSTALL rvle

Installation

Use cases

First use case

Second use case

Third use case

Fourth use case

History

References

http://www.r-project.org/

This page was last modified on 7 December 2010, at 11:55. This page has been accessed 3,125 times.