Não foi possível enviar o arquivo. Será algum problema com as permissões?
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anterior Revisão anterior Próxima revisão | Revisão anterior Próxima revisão Ambos lados da revisão seguinte | ||
eventos:venables2007:materiais [2007/09/10 16:29] paulojus |
eventos:venables2007:materiais [2007/09/10 22:36] paulojus |
||
---|---|---|---|
Linha 12: | Linha 12: | ||
* {{eventos:venables2007:asor_1.0.zip|.zip file}} (for windows install) | * {{eventos:venables2007:asor_1.0.zip|.zip file}} (for windows install) | ||
- Text: {{eventos:venables2007:exegeses.pdf|Exegeses in Linear Models}} | - Text: {{eventos:venables2007:exegeses.pdf|Exegeses in Linear Models}} | ||
+ | |||
+ | ===== Instructions ===== | ||
+ | |||
+ | In the following ''$'' is the LINUX prompt and ''>'' is the R prompt | ||
+ | |||
+ | - Open a ''terminal window'' where you can type LINUX commands | ||
+ | - create a working directory called ''Rmodelling'' for the course and get into the directory:<code> | ||
+ | $ mkdir Rmodelling | ||
+ | $ cd Rmodelling | ||
+ | </code> | ||
+ | - download the zipped files above (csv.zip, scripts.zip, slides.zip) copying them to the working directory | ||
+ | - unzip the files with the following commands:<code> | ||
+ | Rcourse$ unzip csv.zip | ||
+ | Rcourse$ unzip scripts.zip | ||
+ | Rcourse$ unzip slides.zip | ||
+ | </code> | ||
+ | - copy two files from the CSV directory to the working directory:<code> | ||
+ | Rcourse$ cp CSV/.RData . | ||
+ | Rcourse$ cp CSV/makeInputData . | ||
+ | </code> | ||
+ | - 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'':<code> | ||
+ | Rcourse$ R | ||
+ | </code> | ||
+ | * running from inside the editor ''xemacs'' --- open ''xemacs'' and stard R from it<code> | ||
+ | Rcourse$ xemacs & | ||
+ | </code> | ||
+ | - From inside ''R'' run the ''makeInputData.R'' script<code R> | ||
+ | > source("makeInputData.R") | ||
+ | </code 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:<code R> | ||
+ | > source("inputData.R") | ||
+ | </code R> | ||
+ | |||
+ | |||
+ | |||
+ |