Displaying 20 results from an estimated 2000 matches similar to: "RMySQL/methods problem"
2002 Mar 20
1
RMySQL integer range bug (PR#1400)
Full_Name: Matthias Piksa
Version: 1.4.1
OS: Redhat 7.1 2.96-85
Submission from: (NULL) (131.220.6.43)
There is a bug when retrieving values out of MySQL (3.23.36) which are of type
UNSIGNED INTEGER(10). The values can vary between 0 and 2^32 but R only accepts
those below 2^31-1. Anything above goes as 2^31-1.
thats what one gets:
print(quickSQL(con,"select ip_dst from iphdr where
2002 Aug 09
2
RMySQL fetch defaults to N=500?
It appears that fetch() gets only the first 500 rows by default. I
don't see this in the documentation, but
timeinfo <- fetch(rs)
gets only 500 rows where
timeinfo <- fetch(rs,n=-1)
gets (correctly) 736 for the same query. Is this an undocumented
feature? I played with this data for an alarming amount of time
before I realized that I was missing a third of the data. I
2002 Oct 16
5
Database newbee problem...
Hi all,
This is a potentially very stupid question about MySQL <-> R
interaction, but I have not been able to solve it.
I'm just trying to connect R to my MySQL databse, and gets this:
> library(RMySQL)
Loading required package: methods
> m <- dbDriver("MySQL")
> con <- dbConnect(m,group="testdb")
Process R segmentation fault at Wed Oct 16 07:04:30
2008 Sep 15
2
S4 coercion responsibility
Should functions or the user be responsible for coercing an S4 object
argument containing the proper object (and thus should below be
considered a bug in the packages or not)?
The example is with RSQLite but the same thing happens with RMySQL, and
other DBI packages.
> library("RSQLite") Loading required package: DBI
> m <- dbDriver("SQLite")
> con <-
2002 Aug 28
0
segfault in RMySQL
Hi all,
I have experimented a segmentation fault error using
RMySQL_0.4-6 library in R 1.5.1.
Look the sequence:
-------------------------------------------
> library(RMySQL)
> m <- dbManager("MySQL")
> m
<MySQLManager:(1137)>
> describe(m)
<MySQLManager:(1137)>
Driver name: MySQL
Max connections: 10
Conn. processed: 0
Default records per
2003 Mar 17
1
RMySQL Install Problem
Hey all,
I asked my server administrator to install the RMySQL package for me
however he was unable to and received the below errors. I searched the
archives for some of the words in the error mesage but found no answers.
Does anyone have any ideas what might be going wrong? This is R 1.6.2 on a
linux box.
Thanks,
Fred
> install.packages("RMySQL")
trying URL
2004 Sep 22
3
RMySQL and Blob
Dear R experts,
Does RMySQL package handle Blob datatype in a MySQL database? Blob can represent an image, a sound or some other
large and complex binary objects. In an article published by R-database special interest group, named "A common database interface (DBI)" (updated June 2003), it's mentioned in "open issues and limitations" that "We need to carefully plan
2003 Nov 24
1
RMySQL valid field names
I'm having some problems with valid field names when using RMySQL to interface
R (version 1.7.0, under RedHat9.0), to MySQL (4.1.0-alpha). I think I've
spotted the problem and a solution (which is working for me), but I wanted to
share this with you as I may be missing something.
(Note: I'm aware that this is an old R version, but I've checked the code of
the lastest version of
2003 Nov 25
1
1.8.1. RMySQL Win2K Writing-Table Problem?
Hi,
i getting following error and don't know doing
something wrong.
>mysqlWriteTable(con,"model1",model1,overwrite=T)
Error in "[.data.frame"(value, from:to, drop = FALSE) :
undefined columns selected
In addition: Warning message:
drop argument will be ignored in: "[.data.frame"(value, from:to, drop =
FALSE)
Exactly the same code, database and data
2002 Dec 18
1
A little problem handling logicals in RMySQL under R1.6.1
There is a little problem in handling logicals in RMySQL:
# here is the MySQL connection
> con
<MySQLConnection:(1816,0)>
# here is the data frame
> print(a<-data.frame(x=c(TRUE,FALSE),y=c(FALSE,TRUE)))
x y
1 TRUE FALSE
2 FALSE TRUE
# as promised, the two data frame columns are identified as logicals and
# the field types are set to tinyint
> field.types <-
2007 Jun 02
1
setClass with a slot of RODBC
Hi - I tried to get some answer before but there seems to have no one response. My question is that I have a class like below definition:
setClass("DBManager",
representation(channel="RODBC"))
My purpose of the conn slot is to hold a channel to database connection which is returned by a command like:
channel <- odbcConnect("DB", uid="user",
2010 Jul 15
1
RMySQL Load Error: package/namespace load failed for 'RMySQL'
Hi,
I am brand new to the world of R, so please bare with me while I goof my way
through a question.
I am attempting to trial using R with MySQL.
The MySQL server is on a Linux box and I am using the Windows (32bit XP)
version of R.
I have installed RMySQL successfully, however when I load it I get the
error:
Error : .onLoad failed in loadNamespace() for 'RMySQL', details:
call:
2007 Aug 09
2
RMySQL loading error
Hi,
I am having problems loading RMySQL.
I am using MySQL 5.0, R version 2.5.1, and RMySQL with Windows XP.
When I try to load rMySQL I get the following error:
> require(RMySQL)
Loading required package: RMySQL
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
'C:/PROGRA~1/R/R-25~1.1/library/RMySQL/libs/RMySQL.dll':
LoadLibrary
2005 Aug 10
1
RMySQL not loading on Mac OS X
Hi,
I have a problem loading RMySQL 0.5-5 on Mac OS 10.4.2 running R 2.1.1.
I installed RMySQL using:
export PKG_CPPFLAGS="-I/usr/local/mysql/include"
export PKG_LIBS="-L/usr/local/mysql/lib -lmysqlclient"
R CMD INSTALL /Users/gwo/Desktop/RMySQL_0.5-5.tar.gz
The installation seemed to work ok, but when I load RMySQL in R I get
an error message:
>library(RMySQL)
2006 Oct 16
3
Install RMySQL with R 2.4.0
I just installed RMySQL 0.5-9 with R 2.4.0 on Windows XP and got the
following error message when trying to run a script with RMySQL:
Error in library(RMySQL) : 'RMySQL' is not a valid package -- installed
< 2.0.0?
Any ideas?
Thanks,
Frank
2012 Nov 23
1
Failed to install RMySQL,help!
I had installed R and MySQL ,then I input :
> install.packages('RMySQL',type='source')
show the message below, Why? Why shows "ERROR: configuration failed for
package 'RMySQL'"?
??URL?http://mirrors.xmu.edu.cn/CRAN/src/contrib/RMySQL_0.9-3.tar.gz'
Content type 'application/x-gzip' length 165363 bytes (161 Kb)
???URL
downloaded 161 Kb
*
2004 Mar 14
2
Troubles installing RMySQL on Win2K
What do I need to do to load the RMySQL library on Win 2K using version 1.8.1
I have Mysql v4.0.16 up and running on the local machine with several
databases running fine.
Using RGUI I have loaded RMySQL and an appropriate directory structure has
appeared under
C:\Program Files\R\rw1081\library\RMySQL
I have added C:\Program Files\R\rw1081\library\RMySQL\inst\libs to my path
variable so that
2006 May 09
3
Using DBI and RMySQL
Dear All,
I am having a bit of problem using the DBI and RMySQL
package. I have already installed DBI but now I want
to connect to MySQL. So how do I do it. The CRAN
package repository does not have RMySQL windows binary
to install from?
Regards,
Indrajit Sen Gupta
Business Analyst
Mu Sigma Business Solutions Pvt Ltd
#21/1-1, Nawab Towers
Cunningham Road
Bangalore 560 052, India
Tel: +91 80
2010 Nov 13
1
RMySQL on Windows 2008 64 Bit -Help!
Dear Group,
I'm having lots of problems getting RMySQL on a 64 bit machine. I followed
all instructions available but couldn't get it working yet! Please help.
See the output below.
I did a install of RMySQL binary from the revolution cran source. It seems
to have unpacked fine but gives this error when I call RMySQL
Error: package 'RMySQL' is not installed for 'arch=x64'
2005 Jan 29
2
Database Connection Problem with RMySQL package
Folks,
I failed to create a connection to the database under MySQL DBMS in
the R system via RMySQL's method dbConnection(...).
My setup is as follows:
Microsoft Windows XP 5.1.2600
MySQL 4.1.9
R 2.0.1
DBI 0.1-8
RMySQL 0.5-5
Both of DBI and RMySQL packages were downloaded from bell lab:
http://stat.bell-labs.com/RS-DBI/download/index.html
My case in R is as follows:
> library(DBI)