WPI Worcester Polytechnic Institute

Computer Science Department

Knowledge Discovery and Data Mining Research Group 

Miscellaneous Notes on R 

These notes are based on several online R resources

Useful R Resources

Data Files

The following data files are used to illustrate how to upload data onto R (note that R can handle many different input data formats): Store them in a folder that is accessible to R. To see the work directory that R is using, type:
> getwd()

Different ways to upload data onto R:

For a complete description of R's data upload functions, see R's manual under: "Reading data from files".

Below, some examples are included. Use "help " on the Command Window to learn more about each .

Using the DATA FRAME structure in R:

Data Preprocessing in R:

R Weka Interface

[Return to the WPI Homepage]  [Return to the CS Homepage]