Não foi possível enviar o arquivo. Será algum problema com as permissões?
Essa é uma revisão anterior do documento!
Tabela de conteúdos
Materiais do curso
Course materials
Course Slides | CSV data files | R scripts |
---|---|---|
PDF slides | CSV files | R scripts |
Slides powerpoint | – | – |
Other materials
- ASOR package (already installed in the C3SL servers)
- .tar.gz file (for linux install)
- .zip file (for windows install)
Instructions
The course will be run in the LM (Laboratório Multiterminal) run by C3SL (Contro de computação científica e Softaware Livre). The LM provides LINUX terminals connected with servers. The user working area is common meaning you can user whatever terminal and/or server to get access to your account.
In the following instructions the LINUX prompt is $
and the R prompt is >
.
- Open a Linux
terminal window
for issuing LINUX commands - create a working directory called, for example,
Rmodelling
for use in this course move to it:$ mkdir Rmodelling $ cd Rmodelling
- download the zipped files above (csv.zip, scripts.zip, slides.zip) copying them to the working directory
- unzip the files with the commands below. This will create the subdirectories
CSV
,Scripts
andSlides
:Rmodelling$ unzip csv.zip Rmodelling$ unzip scripts.zip Rmodelling$ unzip slides.zip
- copy two files from the CSV directory to the working directory:
Rmodelling$ cp CSV/.RData . Rmodelling$ cp CSV/makeInputData.r .
- Start
R
inside theRcourse
directory — this will makeRcourse
your working directory. You can do this in two different ways:- Running
R
directly from theLINUX terminal
simply by typingR
:Rmodelling$ R
- running from inside the editor
xemacs
using the ESS (Emacs Speaks Statistics) package. To do so openxemacs
and stard R from it withESC SHIFT-X SHIFT-R
Rmodelling$ xemacs &
- From inside
R
run themakeInputData.r
script> source("makeInputData.r")
- The script will automatically generate another script file called
inputData.R
which reads all the data needed for the course. This script file should be run with:> source("inputData.R")