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.

Changes between Version 1 and Version 2 of Rprojects


Ignore:
Timestamp:
Jan 29, 2016, 9:05:23 AM (9 years ago)
Author:
Pedro Gea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Rprojects

    v1 v2  
    66#!div style="width:15%; float:left; clear:none; margin-right:1em; background:#ffb; border:1px solid #b00; padding-left:1em; padding-right:1em"
    77[wiki:WikiStart Home] [[BR]] [[BR]]
    8 '''Software''' [[BR]] [wiki:Download Download] [[BR]] [wiki:Installation Installation] [[BR]] [wiki:Documentation Documentation] [[BR]] [wiki:Packages Packages] [[BR]] [[BR]]
    9 '''TOL Project''' [[BR]] [wiki:TolDevelopment Development] [[BR]] [wiki:TolPeople Contributors] [[BR]] [[BR]]
    10 '''Others''' [[BR]] [wiki:Rprojects R-Projects] [[BR]] [https://mmm.tol-project.org MMS] [[BR]] [wiki:TolGrid TOLGrid]
     8'''TOL''' [[BR]] [wiki:Software Software] [[BR]] [wiki:Download Download] [[BR]] [wiki:Installation Installation] [[BR]] [wiki:Packages Packages] [[BR]] [wiki:OTAN OTAN] [[BR]] [[BR]]
     9'''TOL Project''' [[BR]] [wiki:About About TOL] [[BR]] [wiki:Manuals Manuals] [[BR]] [wiki:Development Development] [[BR]] [wiki:Rprojects R-Projects] [[BR]] [[BR]]
     10'''Other Links''' [[BR]] [wiki:TracGuide Trac Guide] [[BR]] [wiki:WikiTree Wiki Tree] [[BR]] [https://mms.tol-project.org MMS] 
    1111}}}
    1212{{{
    13 #!div style="margin-left:20%; margin-right:0%; padding-left:2em; padding-right:2em"
     13#!div style="margin-left:20%; margin-right:20%; padding-left:2em; padding-right:2em"
    1414{{{
    1515#!comment
     
    2323Download and installation details are shown below: [#Installation]
    2424
    25 == R-Packages ==
     25== R Packages ==
    2626
    2727Currently there are three R-packages:
     
    3333=== tolBasis ===
    3434
    35 {{{tolBasis}}} is the main package for using TOL from R. It is the basis on which TOL in R developments are supported.
     35{{{tolBasis}}} is the main package for using TOL from R. It is the basis on which ''TOL in R'' developments are supported.
    3636
    3737There is not necessary a TOL software installation to be used.
     
    5555{{{tolKit}}} is a package with some TOL utilities adapted to be used in R as usual.
    5656
    57 This package needs to the previous packages: {{{tolBasis}}} and {{{tolRlink}}}.
     57This package requires the previous packages: {{{tolBasis}}} and {{{tolRlink}}}.
    5858
    5959Current version imports TOL funcionts: {{{Estimate}}} and {{{CalcForecasting}}}.
     
    6565
    6666There are different ways to install these developments:
    67  * install the compiled packages (zip files for Windows)
    68  * download the source (tar.gz file) and compile it.
    69 
    70 The package {{{tolBasis}}} is already available at CRAN: [https://cran.r-project.org/web/packages/tolBasis/index.html tolBasis] and can be installed as usual:
    71 {{{
    72 #!ruby
    73 install.packages("tolBasis")
    74 }}}
     67 * as usual from CRAN repositories (currently only tolBasis is available),
     68 * downloading and installing the compiled packages (zip files for Windows),
     69 * downloading the source (tar.gz file) and compiling it locally.
    7570
    7671=== Dependencies ===
     
    9186}}}
    9287
    93  * {{{tolKit}}} only depends on: {{{tolLink}}}
     88 * {{{tolKit}}} only depends on: {{{tolRlink}}}
    9489
    95 === Installation from ZIP files (Windows) ===
     90=== Installation from CRAN ===
    9691
    97 --La mejor manera actualmente de instalar los paquetes en Windows es descargar los paquetes ya compilados e instalarlos en R.
     92The package {{{tolBasis}}} is already available at CRAN: [https://cran.r-project.org/web/packages/tolBasis/index.html tolBasis] and can be installed as usual:
     93{{{
     94#!ruby
     95install.packages("tolBasis")
     96}}}
    9897
    99 --Los paquetes en formato ZIP (con los binarios para Windows) se pueden descargar desde:
    100  * [export:tolp/Rprojects/tolBasis_1.0.zip tolBasis_1.0.zip]
    101  * [export:tolp/Rprojects/tolLink_1.0.zip tolLink_1.0.zip]
    102  * [export:tolp/Rprojects/tolKit_1.0.zip tolKit_1.0.zip]
     98=== Installation from compiled packages (Windows) ===
    10399
    104 --Para instalar los archivos ZIP podemos usar la opción {{{"Instalar paquete(s) a partir de archivos zip locales..."}}} del menú {{{"Paquetes"}}}.
     100The compiled packages for Windows (ZIP files) can be downloaded from:
     101 * [export:tolp/Rprojects/tolBasis_1.1.zip tolBasis_1.1.zip]
     102 * [export:tolp/Rprojects/tolRlink_1.0.zip tolRlink_1.0.zip]
     103 * [export:tolp/Rprojects/tolKit_1.1.zip tolKit_1.1.zip]
    105104
     105To install them in R, can be use the option {{{"install package(s) from local zip files..."}}} from menu {{{"Packages"}}} or use R sentences as:
     106{{{
     107#!ruby
     108# change <filename> for the route of each zip file
     109install.packages(<filename>, repos=NULL)
     110}}}
    106111
    107112=== Installation from source ===
    108113
     114The packages can be installed from source using
     115{{{
     116#!ruby
     117# change <package_url> for the url of each package
     118install.packages(<package_url>, repos=NULL, type="source")
     119}}}
    109120
    110 --Para descargar el código utilizamos SVN:
     121The current urls of source files (tar.gz) are:
     122
     123 * [https://www.tol-project.org/svn/tolp/Rprojects/tolBasis_1.1.tar.gz]
     124 * [https://www.tol-project.org/svn/tolp/Rprojects/tolRlink_1.0.tar.gz]
     125 * [https://www.tol-project.org/svn/tolp/Rprojects/tolKit_1.1.tar.gz]
     126
     127
     128For other versions see directly the folder: [https://www.tol-project.org/svn/tolp/Rprojects svn:Rprojects]
     129
     130
     131=== Downloading source ===
     132
     133SVN can be used for download the developping source of these packages:
    111134
    112135{{{
     
    114137}}}
    115138
    116 --Cámbiese la ruta de destino por la que considere.
     139Change the destination folder for your choice.
    117140
    118 --Para instalar los paquetes desde el código, estableceremos el directorio de trabajo con la ruta donde descargamos los paquetes
    119 y los instalaremos como sigue:
     141Remember that in order to compile {{{tolRlink}}} a compatible TOL installation is required.
    120142
    121 {{{
    122 #!ruby
    123 setwd("c:/users/<user>/svn/tolp/Rprojects")
    124 # Cambiese la ruta adecuadamente
    125 install.packages("tolBasis", repos=NULL, type="source")
    126 install.packages("tolLink", repos=NULL, type="source")
    127 install.packages("tolKit", repos=NULL, type="source")
    128 }}}
    129143
    130 --Nótese que para compilar {{{tolLink}}} necesitamos una instalación válida (acorde a nuestro sistema) de TOL-GNU.
    131 
    132 --En la instalación de TOL-GNU asegúrese también de instalar las librerías y las cabeceras para C/C++.
    133 Éstas se buscarán en el directorio de instalación según la ruta especificada en la variable de entorno: {{{TOLGNU_ROOT}}}.
    134 Véase el archivo: {{{tolLink/src/Makevars}}}
    135