Skip to content

RVLE Port for vle 1.1

rtrepos edited this page Apr 25, 2014 · 12 revisions

RVLE is a port of VLE on the software R. It offers the possibility to launch simulations of VLE models from R and to get results into the format of R structures.

Table of content:

### Get source code

You can get sources from either the git repository

git clone https://github.com/vle-forge/rvle.git
cd rvle/
git checkout -b v1.1 origin/v1.1 

### Generate binary on Win32

It is assumed that you used the standard procedure described [here] (Get-vle-from-sources-for-vle-1.1#buildwin32) to build vle. Use a MinGW shell, not that we use the windows prompt for vle .

export PATH=/C/MinGW/msys/1.0/bin:/c/Program\ Files/R/R-3.1.0/bin/:/c/Rtools/bin:/c/gtkmm/bin:/c/natifvle/install/vle/bin:$PATH
export PKG_CONFIG_PATH=/c/gtkmm/lib/pkgconfig:/C/MinGW/lib/pkgconfig:/c/natifvle/install/vle/lib/pkgconfig
export BOOST_ROOT=/C/natifvle/install/boost

R

install.packages("RUnit") q()

cd /c/natifvle/rvle
./autogen.sh
./configure
cd ..
R CMD INSTALL --build rvle