Hadleyverse is a term ( that may be a CRAN view someday) that describes a collection of packages created by Dr Hadley Wickham
What to look for sustaining your growing business-
Using RMySQL from Ubuntu
- Install MySQL
sudo apt-get install mysql-server
- Check if Server is Running
sudo netstat -tap | grep mysql
I use the MySQL command line to check it
To connect
mysql -h localhost -u root -p
To see databases
mysql>show databases;
To see tables
mysql> show tables from mysql;
To quit mysql
mysql> \q
- Install and load RMySQL from within R
install.packages(“RMySQL”)
library(RMySQL)
- I connect using this
mydb = dbConnect(MySQL(),
user=’root’,
password=’XXX’,
host=’localhost’,
port = 8018,
dbname=’mysql’)
- I write sql queries using this
> dbGetQuery(mydb, "select * from servers") [1] Server_name Host Db Username Password [6] Port Socket Wrapper Owner <0 rows> (or 0-length row.names) > dbGetQuery(mydb, "select * from db") [1] Host Db [3] User Select_priv [5] Insert_priv Update_priv [7] Delete_priv Create_priv [9] Drop_priv Grant_priv [11] References_priv Index_priv [13] Alter_priv Create_tmp_table_priv [15] Lock_tables_priv Create_view_priv [17] Show_view_priv Create_routine_priv [19] Alter_routine_priv Execute_priv [21] Event_priv Trigger_priv <0 rows> (or 0-length row.names)
Source-
https://help.ubuntu.com/12.04/serverguide/mysql.html
https://mkmanu.wordpress.com/2014/07/24/r-and-mysql-a-tutorial-for-beginners/
Sponsored: PAW Boston keynotes, agenda and workshops announced
|
BOSTON Seaport World Trade Center Sept. 27 – Oct. 1, 2015 Keynote Speakers: DEAN ABBOTT Co-Founder & Chief Data Scientist of SmarterHQ Chief Data Scientist Hopper Chief Data Scientist The New York Times Co-located Events: |
Predictive Analytics World for Business announces Boston program
Predictive Analytics World (PAW) for B usiness covers a wide range of business applications for predictive analytics across industry sectors including marketing, credit scoring, insurance, fraud detection, web optimization, and much more. What’s on the Agenda?
Why Attend?
Super Early Bird Rates |
Decisionstats interviews John Sall, co-founder SAS for StatisticsViews.com
We just interviewed the legendary John Sall, co -founder of SAS Institute. What can I say? Mr Sall is awesome and shows us why here
6. Do you still write code? Describe what keeps you motivated in coding.
I do still write code. It’s something I enjoy, and I’m good at it. I like to express myself in code. Writing code helps me to understand the development process so that I can make better judgments about it.










