Displaying 20 results from an estimated 4000 matches similar to: "my RMySQL connections are so SLOW"
2003 Apr 24
1
RMySQL
Dear laurent,
> This is what I did to make the connection :
> > drv <- dbDriver("MySQL")
> > con <- dbConnect(drv)
Here's the error.
You should give the database name.
drv <-dbConnect(drv, dbname="dfghdfgsdfgsdfgsdfgsdfgsdfgsdf")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Then I should be able to send requests. But when I
2003 Oct 23
1
Can you create a MySQL database with RMySQL?
Is it possible to create a database in MySQL via RMySQL?
Also, is the format for the authorization field
'userName/password at databasename'? I saw an example like this somewhere
in the documenation, but I haven't found the actual specification.
Thanks,
Barnet Wagman
2009 Jan 19
1
[Win] Hangup RGui with RMySQL (PR#13453)
Full_Name: Apfel Schmied
Version: 2.8.1 (2008-12-22)
OS: WinXP SP2
Submission from: (NULL) (134.106.122.139)
RMySQL Version: 0.7-2
DBI Version: 0.2-4
MySQL Version: 5.1.30 (Enviroment Variable MYSQL_HOME is set)
Updated R from 2.60 to 2.8.1. Now Gui.exe hangs up (100% CPU Useage) when
requesting data from a mysql database.
Example Code:
2007 Mar 20
1
RMySQL load error
I'm having trouble getting RMySQL to load. I was able to build it and install
it (RMySQL_0.5-11.tar.gz). I was also able to build and install mysql-5.0.37.
I've read many postings about this but have not found a mention of my
particular problem (some closely related). I get the "unable to load shared
library, no such file" error, but all the files do exist, RMySQL.so and
2009 Jan 12
1
RMySQL crashes R
This is similar to another current post about RMySQL crashing R, except on
the other post it crashed on connection to the database. I can successfully
connect, and even can do dbListTables(). But, if I send a query or anything
to actually see the data, R crashes to desktop.
I have tried this on two computers, one Vista, one XP. Both crashed. I am
running 2.8.1, and am using the correct
2005 Mar 09
1
RMySQL installed but not availalable
I don't use MySQL but I have seen messages like this before. They often have replies which indicate that you need to follow the instructions more closely. I suggest you search the list for these previous posts as I'm sure there is help there, somewhere!
Tom
> -----Original Message-----
> From: Adriano von Sydow [mailto:pdasilva at xtra.co.nz]
> Sent: Thursday, 10 March 2005 5:13
2007 Feb 23
1
help with RMySQL
Hi R users,
I am using RMySQL to connect to a database in MySQL.
I have 3 questions.
1)When I give the following command
dbListTables(con)
I get the output
stack imbalance in .Call, 142 then 143
stack imbalance in <-, 140 then 141
stack imbalance in {, 138 then 139
stack imbalance in standardGeneric, 126 then 127
stack imbalance in class, 121 then 122
stack imbalance in
2005 Mar 18
6
Basic questions about RMySQL
Hello,
Please forget me if I am asking something that is well documented. I have read documentation but there are points that are not clear for me. I am not expert in R nor Databases, but if someone direct me to a tutorial, I will appreciate it..
1. In my understanding, I can install and use RMySQL withouth having to install MySQL in my PC, to have access to and to create new tables . Is this
2002 Sep 12
1
DBI / MySQL problems
Hi.
I frequently use RMySQL package to interface R with MySQL databases. I was
having a try with package DBI and I got the following error:
> library(RMySQL)
> library(DBI)
> drv <- dbDriver("MySQL")
> ch <- dbConnect(drv, dbname="mydb", user="myuser", password="mypasswd")
> ibm <- dbGetQuery(ch,"select * from table where
2007 Feb 18
1
dbi, rodbc, rmysql, charset problem
Dear List
In my short life as a beginning R-user i've encountered a following
problem that i'm unable to solve myself:
I have a database in MySQL containing table and field names as well as
some data containing Polish accentuated characters (like ????),
utf8-encoded. It works just fine with just any external query browser i
can find, jdbc, odbc, native, whatever. Also mysql is happy
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 <-
2003 May 19
3
how to run R as a daemon
Hi all,
Using R a as a real-time application called by Php for a website, I
would like to run one R process only, which would manage user
connections. For the time each user who asks for an analysis causes a
new R process to start, which is not suitable in prevision of many
users. R needs about 30 seconds to run the script which makes the
analysis. The problem is that this waiting time is n
2003 Nov 18
2
readline not found
Hi all,
I just upgraded to R-1.8.0. Everything worked fine but command line
editing does not work. This clearly indicates that readline has not been
found in the compilation process.
How could I explicitely indicate where to find it ?
I use a Red Hat 8.0 system. I checked the FAQ which says readline-devel
is also needed, but I have it already installed. Perhaps should I add
the configure
2007 Jul 16
1
S4 coerce
(I am not sure if this is a bug or a request for a more understandable
warning, or possible something obvious I should be posting on r-help.)
I am trying to coerce an new class object to be a DBIConnection and it
does not work the way I think it should:
R version 2.5.1 (2007-06-27) ...
> require("RMySQL") # or require("RSQLite")
Loading required package: RMySQL
Loading
2003 May 07
3
how to order a dataframe ?
Hi,
I've got a problem which seemed simple to me at first view, but which I
haven't managed to solve yet. I have a dataframe, or a matrix, and I
would like to order it along with one of the variables/columns. I tried
to use order() but it remained quite unclear to me. How should I proceed ?
Thanks in advance (I guess that's not very difficult a question for most
of you)
Laurent
2007 Dec 18
2
R brakes when submitting a query to MySQL
Hello,
I would like to retrieve data stored in MySQL database, so I installed
RMySQL package.
I can successfully connect with the my database using the following code
> dvr<-dbDriver("MySQL")
> con2<-dbConnect(dvr,group="exbardiv")
> mysqlDescribeConnection(con2)
<MySQLConnection:(972,0)>
User: mmorag
Host: localhost
Dbname: exbardiv
2003 Sep 09
1
No joy installing R with shared libs
>> Can some kind soul please give me a fool proof recipe for building R
>> and RSPython so that it actually works?
> I don't have a recipe, but one thought to help debug the process: Try
> installing RPy [1]. RPy also provides access to R via Python and uses
> the libR.so library. If you can install and "import rpy" without
> problem then it must be
2005 Dec 15
2
Why is bubbles() creating empty png graphs?
This code below produces empty XXX.png files - if I use plot(), it works
and if I enter the commands
png(filename=fn)
bubble(positions, do.sqrt=FALSE, main=q)
dev.off()
manually, it works as well.
I am lost - any help appreciated.
The weird thing is that it worked before I made some changes... (I don't
have a copy of the working version...).
R version:
platform i686-pc-linux-gnu
arch
2003 Jul 23
1
S3 and S4 classes
Hi helpers,
I've been programming in R for a few months now but I still have doubts
about my code - I would like it to be completely S4-compatible. The
current code works fine but is probably 'unclean'.
I read the interesting article in the last R News and it helped me
understand the difference on the whole between S3 and S4 classes, but I
need a practical example. Could anyone
2003 Aug 19
2
R-1.7.1 gets installed without default packages & without readline
Hi all,
Trying to install R-1.7.1 on a RedHat 8.0 platform, I have a few problems.
R gets installed without default packages (but base and ctest) : make
script fails at the end of the procedure (configure is made
successfully). This is the (translated) log I have :
/gcc -I../../../../include /usr/include/mysql -D__NO_MATH_INLINES
-mieee-fp -fPIC -g -O2 -c ansari.c -o ansari.o
gcc: cannot