Questions tagged [rmysql]

An R package for interfacing with MySQL and MariaDB databases.

RMySQL is an package providing an interface to and databases. RMySQL uses the interface which is also used by the packages , , , and .

Repositories

Other resources

Related tags

418 questions
0
votes
1 answer

R dbBuildTableDefinition mysql rmysql error writing a table

I am working on R installed on Linux/Ubuntu system. I want to write a table to a database. Why doesn't it work? I was able to drop tables and also able to display data present in a table. In short my dbGetQuery and dbRemoveTable work perfectly. …
user2543622
  • 5,760
  • 25
  • 91
  • 159
0
votes
1 answer

Connecting to a database through RMySQL package in R 3.0.2

I'm trying to connect to the ucsc genome server and then trying to select a database hg19 in it. Method I already know(works perfectly fine): hg19 <- dbConnect(MySQL(),user="genome",db="hg19",host="genome-mysql.cse.ucsc.edu") Alternative Method I…
Aman
  • 143
  • 7
0
votes
1 answer

Unable to install RMySQL package

I'm trying to install RMySQL on Windows 8.1. I already have MySQL Server 5.1 and R 3.0.3 installed. They're both added to the system path, and can be invoked from anywhere by typing mysql -u root -p or R in the command prompt. I followed the…
wrahool
  • 1,101
  • 4
  • 18
  • 42
0
votes
1 answer

R library RMySQL doesn't start

I have installed R3.0.1. Rtools is also installed. MySQL version 5.7 is installed. I want to connect R to MySQL, and I am trying to do that through RMySQL package in R. While the installation of RMySQL is finally done after looking at various SO…
mitrabhanu
  • 389
  • 1
  • 2
  • 13
0
votes
1 answer

R Programming - Japanese Characters Insert into MySQL

I want to insert a tab-delimted file, which is conatining both japanese and english characters with special charcters. I am using RMySQL to do is. One of a solution i tried giving below error: dbWriteTable(con, "japan_test2", d, append = T,…
Vijayan
  • 21
  • 7
0
votes
0 answers

RMySQL fails to install on 32 bit Windows 7 system

I know that this problem has been discussed many times in this forum and I have followed all the steps explained at the page: adding RMySQL package to R fails (on Windows)? and http://martin.von-gagern.net/howtos/20110728-rmysql/ My OS is is Windows…
Tavpritesh
  • 45
  • 6
0
votes
1 answer

dbWriteTable in RMySQL error in name pasting

i have many data.frames() that i am trying to send to MySQL database via RMySQL(). # Sends data frame to database without a problem dbWriteTable(con3, name="SPY", value=SPY , append=T) # stock1 contains a character vector of stock names... stock1…
Rime
  • 912
  • 2
  • 11
  • 39
0
votes
0 answers

"Undefined Reference" installing RMySQL on Windows 7

Running R3.1, Rtools 3.1 on Windows 7 Professional. Sys.getenv('MYSQL_HOME') [1] "C:/Program Files/MySQL/MySQL Server 5.6" When I execute: install.packages("RMySQL", type = "source") I get a long list of error…
Mike H
  • 21
  • 1
  • 3
0
votes
1 answer

doParallel() and mySQL in R: Database not receiving data

I am using RMySQL() to send data from R to a MySQL database. The problem is that the database does not receive any data.... I am using doParallel() since i am running over 4500 iterations.... could it be because i try to send the data to the…
Rime
  • 912
  • 2
  • 11
  • 39
0
votes
0 answers

RMySQL, Shiny and PHP cloud

I'm trying to develop R shiny application using MySQL database. I'm trying to use PHP cloud and its MySQL database. And my Shiny application is in shiny cloud environment. I'm deploying my application using R Studio. So how I can connect RMySQL to…
Thisara Watawana
  • 344
  • 4
  • 15
0
votes
1 answer

Why does the MySQL Connection ignore the SET NAMES utf8 directive in R?

I have connected to a MySQL database from R and ran the "set names utf8" directive. library(RMySQL) con<-dbConnect(MySQL(), user='john', password='secret', dbname='awesome', host='myhost') dbSendQuery(con, "SET NAMES UTF8; ") This usually does the…
Dr. Mike
  • 2,451
  • 4
  • 24
  • 36
0
votes
0 answers

Trouble connecting to Amazon RDS using RMySQL using SSL

Following up on a previous answer to this question, I'm using RMySQL to connect to my Amazon RDS instance. I can connect without SSL, but would prefer to connect over SSL using the provided certificate for my EC2 instance. This method seems to work…
Jason French
  • 394
  • 2
  • 15
0
votes
1 answer

Error in R.NET "Error: package 'RMySQL' is not installed for 'arch = i386' "

When I am running an Rscript using the C# code I got the error that I mentioned in subject. Actually the RMySQL package is correctly installed in my system (Windows 7 64 bit)and I am able to run the script from Rconsole directly. But when calling…
Rameez
  • 601
  • 1
  • 8
  • 22
0
votes
1 answer

package ‘RMySQL’ is not available (for R version 2.15.3)

I have tried installing RMySQL for three versions of R, but I'm running into same warning message, that RMySQL is not available for that version. Please, help me out. Thanks. install.packages("RMySQL",type="source") Warning in…
0
votes
2 answers

Empty where clauses in mysql (while I am using RMySql dbGetQuery)

I want to do something really similar to these: When mysql WHERE clause is empty, return all rows Possible to have PHP MYSQL query ignore empty variable in WHERE clause? I want the where clause to be ignored if the variable I am subsetting by is…
Alex
  • 15,186
  • 15
  • 73
  • 127