close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 11 (modified by pradeep, 40 hours ago) (diff)

--

R Projects

A set of R-packages are developed to use TOL from the R framework.

Download and installation details are shown below: #Installation

R Packages

Currently there are three R-packages:

  • tolBasis: Contains the basis of TOL in R.
  • tolRlink: Links to TOL kernel via tolRlink.dll (or tolRlink.so).
  • tolKit: Kit of TOL utilities with an R-API.

tolBasis

tolBasis is the main package for using TOL from R. It is the basis on which TOL in R developments are supported.

There is not necessary a TOL software installation to be used.

It imports the fundamental definitions and utilities of the Time Oriented Language (TOL) such as: datings, time series, lag polynomials, etc.

For more information see: tolBasis.

tolRlink is the package responsible for connecting to the TOL kernel. This package links to TOL via the library tolRlink.dll (or tolRlink.so).

Therefore it requires an installation of TOL compatible (release 3.3 or posterior).

It contains methods for load and initialize TOL, evaluate TOL code, obtain TOL objects, send R objects to TOL, etc.

For more information see: tolRlink.

tolKit

tolKit is a package with some TOL utilities adapted to be used in R as usual.

This package requires the previous packages: tolBasis and tolRlink.

Current version imports TOL funcionts: Estimate and CalcForecasting.

For more information see: tolKit.

Installation

There are different ways to install these developments:

  • From CRAN repositories (currently only tolBasis is available),
  • Downloading the source (tar.gz file) and compiling it locally.

Dependencies

The R-packages depend on other R-packages:

  • tolBasis depends on: lubridate and polynom:
    install.packages("lubridate")
    install.packages("polynom")
    
  • tolRlink needs tolBasis and also depends on: base64enc:
    install.packages("base64enc")
    
  • tolKit only depends on: tolRlink

Installation from CRAN

The package tolBasis is already available at CRAN: tolBasis and can be installed as usual:

install.packages("tolBasis")

Installation from source

The packages can be installed from source using

# change <package_url> for the url of each package
install.packages(<package_url>, repos=NULL, type="source")

The current urls of source files (tar.gz) are:

Remember that in order to compile tolRlink a compatible TOL installation is required.