Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
| Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
| software:art:install [2007/12/11 10:31] – paulojus | software:art:install [2007/12/11 19:10] (atual) – paulojus | ||
|---|---|---|---|
| Linha 24: | Linha 24: | ||
| ==== Install other tools ==== | ==== Install other tools ==== | ||
| - | root$ sudo apt-get install g++ libpq-dev gfortran xemacs21 ess | + | root$ sudo apt-get install g++ libpq-dev gfortran xemacs21 ess lapack3 |
| ==== Get the tools to install aRT dependencies ==== | ==== Get the tools to install aRT dependencies ==== | ||
| Linha 38: | Linha 38: | ||
| Ainda neste último passo, após a atualização dos programas do Ubuntu é automaticamente feita o download e compilação do TerraLib/ | Ainda neste último passo, após a atualização dos programas do Ubuntu é automaticamente feita o download e compilação do TerraLib/ | ||
| - | Create | + | If **terralib/ |
| - | $ sudo ln -s / | + | make[1]: Saindo do diretório `/ |
| - | $ source / | + | |
| + | Then create | ||
| + | | ||
| + | |||
| + | If you see the mesage:\\ | ||
| + | ./ | ||
| + | |||
| + | Then add the enviroment variable manually by adding the folowwing lines to your ''/ | ||
| + | TERRALIBDIR=/ | ||
| + | LD_LIBRARY_PATH=$TERRALIBDIR/ | ||
| + | export LD_LIBRARY_PATH | ||
| + | |||
| + | and load the environmental variables with: (new user sessions will load this automatically): | ||
| + | | ||
| ==== Installing R packages: aRT and sp ==== | ==== Installing R packages: aRT and sp ==== | ||
| Linha 64: | Linha 77: | ||
| You will be prompt for the DBMS root password. After typing it in you will the the mysql prompt '' | You will be prompt for the DBMS root password. After typing it in you will the the mysql prompt '' | ||
| - | > grant all privileges on *.* to aluno@localhost | + | |
| + | mysql> quit | ||
| - | Other user and permissions can be set. However we will use **aRT** tools to do this!!! Even the above instructions could be se from **aRT** (using the aRT function '' | + | Other user and permissions can be set. However we will use **aRT** tools to do this!!! Even the above instructions could be se from **aRT** (using the aRT function '' |
| ==== Testing the installation ==== | ==== Testing the installation ==== | ||
| Linha 83: | Linha 97: | ||
| aRT version 1.4-2 (2007-12-07) is now loaded | aRT version 1.4-2 (2007-12-07) is now loaded | ||
| --------------------------------------------- | --------------------------------------------- | ||
| + | |||
| + | Now try to connect the DBMS: \\ | ||
| + | > con <- openConn() | ||
| + | > con | ||
| + | Object of class aRTconn | ||
| + | | ||
| + | DBMS: " | ||
| + | User: " | ||
| + | Password: "" | ||
| + | Port: 3306 | ||
| + | Host: "" | ||
| + | |||
| + | If this works then **great**!! You are ready to use aRT. You can experiment woth several example scripts at the [[http:// | ||
| + | > vignette(package=" | ||
| + | |||
| + | Vignettes in package ' | ||
| + | aRTconn | ||
| + | aRTintro | ||
| + | aRTsp | ||
| + | aRTtable | ||