Displaying 20 results from an estimated 5000 matches similar to: "Numerical print format and loading with RMySQL"
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
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
2009 May 05
1
RMySQL insert statements?
Heya Folks,
I can not find anything on executing insert statement through RMySQL,
can someone please enlighten me?
All i've found so far on getting data into a database is the write
table functionality. Reading all data into memory appending additional
information and writing that into a table is fine on my test
environment, but won't be possible on the production environment
because of
2003 Nov 11
0
Installing and Loading RMySQL on OS X 2.8
Hello,
I have trouble installing and loading the RMySQL package on OS X 2.8.
The package seems to install from source fine (using R package manager
from within the R environment). I have the following error when I try
to load the package:
loading package: RMySQL
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2009 Aug 07
1
RMySQL - overwrite record, not table
Hi, useR-
In RMySQL, how do I overwrite records? (equivalent to "replace" query).
For example, suppose that dat2 is a newer data.frame than dat1.
con <- dbConnect(MySQL())
res <- dbWriteTable(con, "DBname", dat1, row.names=F, append=T, replace=T)
res <- dbWriteTable(con, "DBname", dat2, row.names=F, append=T, replace=T)
This would not update/replace the
2004 May 24
1
RMySQL problem
Hi,
I'm using R 1.9.0 with RMySQL 0.5-4 and MySQL 3.23.55 on a suse 8.2 box.
I have a simulation study and (as usual for newbies in simulation, I
guess) I have a lot of data that I want to store in MySQL. I want to
write an R script that reads data from RData files and writes it to a
MySQL database.
I read some R documents (R Data Import/Export and DSC papers) but I'm
finding
2006 May 23
1
RMySQL on Mac OS 10.4
I have been having trouble getting RMySQL to work on Mac OS 10.4. It
was working fine for me about a year ago but I didn't touch it for a
while and several upgrades of R, MySQL, and OS X later, it is not
working.
I first had the problem that others have been having getting the
error discussed in https://stat.ethz.ch/pipermail/r-sig-mac/2005-
November/002435.html saying that
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)
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
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
2007 Jun 06
1
Question: RMySQL bulk load/update one column, dbWriteTable()?
Hi,
I have a question reading using RMySQL trying to load one R vector into a
table column. To be more specifically, the table is there populated. Now I
add a new column and want to populate this.
Can some colleagues on this list teach me how to do this? I know how to
write one R object/table into MYSQL table using dbWriteTable. But in this
situation, I just want to do one column.
Thanks
2006 May 17
1
RMySQL loading error
i was able to install DBI and RMySQL cleanly. I get the error below on
"library('RMySQL')".
The file it is complaining about is located in /usr/lib/mysql/, where is
R trying to load it from? Tried a symlink into /usr/local/lib/mysql to
no avail. thx. -P
Loading required package: DBI
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared
2008 Apr 11
1
SQL INSERT using RMySQL
Hi All,
I've finally gotten around to database access using R. I'm happily
extracting rows from a MySQL database using RMySQL, but am having
problems appending rows to an existing table.
What I *want* to do is to append rows to the table, allowing the
database to automatically generate primary key values. I've only
managed to add rows by using
dbWriteTable( con,
2007 Sep 27
1
RMySQL NA/NULL value storage error
Greetings all,
I am running R 2.5.1, RMySQL 0.6 , and DBI 0.2-3 on Windows XP
Like others, I am having trouble with NA/Null value conversions between R
and a MySQL database via DBI, but I could not find my exact problem in the
archives. Most of the time NA values in R get transferred correctly to the
database and back again, unless (apparently) if they are in the last column
of the table being
2004 Jan 14
2
RMySQL : Not loading
Hello,
I'm tearing my hair out over this. Any help will be very much
appreciated. It's been two long nights battling with RMySQL.
> library(RMySQL)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/usr/local/lib/R/library/RMySQL/libs/RMySQL.so":
dlcompat: dyld: /usr/local/lib/R/bin/R.bin Undefined symbols:
_getopt_long
2008 Dec 10
1
Registry problem when loading RMySQL
Hi all,
I am exploring the possibility of using R in my meteorological
verification project. I have installed R on my Windows (XP) desktop
machine and have also installed the RMySQL and verification packages.
However, I run into problems when I try to load RMySQL. I get the
following error:
Error in fun(...) : MySQL is not installed according to a Registry
search
Error : .onLoad failed in
2013 May 16
1
connect to local mySQL database
Hi,
I would like to access a local mysql database.
In python using the sqlite3 library it is quite straightforward. I just have to pass the path to the sqlite-file;
sqlite3.connect('.../xy.sqlite')
Is there something similar in R (or specifically in the RMySQL package)?
It seems like I have to use the MySQL function in the RMySQL package in order to ...
"initializes a MySQL
2007 Sep 10
1
I can't do it again on an other PC : R+RMySQL ->error loading dll
Hello,
Some weeks ago, thanks to you, I managed to install R, to connect to a local
MySQL Database and to launch some queries with a script written with Tinn-R.
My script is now ok and would like to test it with the "real" database.
I did the same installation of R, DBI package and RMySQL package I did on my
PC (I wrote everything I did in order to make it easy ...) but when I type
2003 Feb 16
3
RMySQL installation and loading errors
Hi R users,
I have been trying to install and use RMySQL on Windows98 for
MySQL3.23.55-max using the pulldown menu. I am getting the following errors.
I read the doc and some archived mails about a similar problem on unix like
systems. Still can't get it to work. Some info below that may indicated where
the problem is:
* The directory RMySQL\libs is empty---I was not expecting this.
*
2008 Nov 06
1
RMySql inserts \r when using dbWriteTable
I am using R 2.8 and the latest versions of RMySQL on a Windows XP 64 bit
machine.
I was wondering if someone could help me figure out how to use dbWriteTable
without inserting \r into my table. Consider the following code snippet,
which is
run after I connect to my database.
myDFOut = dbReadTable(conn, "myDF")
print(myDFOut)
myDFIn = data.frame(x=paste("x", 1:5, sep =