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

Materiais do curso

Course materials

Course Slides CSV data files R scripts
PDF slides CSV files R scripts
Slides powerpoint

Other materials

  1. ASOR package

Instructions

In the following $ is the LINUX prompt and > is the R prompt

  1. Open a terminal window where you can type LINUX commands
  2. create a working directory called Rmodelling for the course and get into the directory:
    $ mkdir Rmodelling
    $ cd Rmodelling
  3. download the zipped files above (csv.zip, scripts.zip, slides.zip) copying them to the working directory
  4. unzip the files with the following commands:
    Rmodelling$ unzip csv.zip 
    Rmodelling$ unzip scripts.zip 
    Rmodelling$ unzip slides.zip
  5. copy two files from the CSV directory to the working directory:
    Rmodelling$ cp CSV/.RData .
    Rmodelling$ cp CSV/makeInputData .
  6. Start R inside the Rcourse directory — this will make Rcourse your working directory. You can do this in two different ways:
    • Running R directly from the LINUX terminal simply by typing R:
      Rmodelling$ R
    • running from inside the editor xemacs — open xemacs and stard R from it with ESC SHIFT-X SHIFT-R
      Rmodelling$ xemacs &
  7. From inside R run the makeInputData.R script
    > source("makeInputData.R")
  8. 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")

QR Code
QR Code eventos:venables2007:materiais (generated for current page)