Introduction to Statistics
September 30
Responsible: A. Belikov
Werkcollege tasks
You can download a copy of the tasks as a pdf copy.
And additional manual how to set connection to MySQL from R as a pdf.
Some solutions for tasks are here.
Additional tasks in the classification are here.
Necessary materials to werkcollege
Train and test datasets
Test dataset: test.csv
Train dataset:
How to add library to R
How to start using mysql from R
You do not need to do this any more, RMySQL is installed in default Rlib path, /Users/users/belikov/local/lib64/R/library
You can check your R_LIBS path in R
R> .libPaths() |
[1] "/Users/users/belikov/local/lib64/R/library" |
Please, note that you should remove old version of RMySQL from your R libraries
- Download additional libraries you need for R: Rlib.tgz
- Unpack in your home directory, for example, /Users/users/<your_name> with command
tar -xzvf Rlib.tgz (directory Rlib will be created)
- include the path to these libraries in the search path of R: setenv R_LIBS /usr/lib/R/library:/Users/users/<your_name>/Rlib
- check in R that you can load this library with command library(RMySQL)