Use python to call R for data analysis-preparation
Introduction to 0. R
R is a free software without any guarantee. Under certain conditions, you can freely spread it and use 'license () 'or 'license ()' to see the detailed conditions of distribution.
R is a cooperation plan, and many people have contributed to it. Use 'contributors () 'to view the details of the collaborators. Use 'citation () 'will show you how to correctly reference the R or R package in the publication, use 'demo ()' to view some demonstration programs, and use 'help () 'to read online help files, or use 'help. start () 'use the HTML browser to view the Help file.
Exit R with 'q.
Demo (graphics)
You can view which types of charts can be drawn by R and display various characters.
Demo (Hershey)
Exit
Q ()
1. Install R
Update source to fedoraproject
Sudo rpm-Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Install R
Sudo yum install R
2. Install rpy2
Pip install rpy2
2. Usage
R usage
R dancing with python