Displaying 20 results from an estimated 238 matches for "dbconnection".
Did you mean:
dbiconnection
2003 Oct 11
1
DBI Interface broken
Hi, I'm trying to use R's DBI interface but it appears to be broken. I am using R 1.8.0 on Linux, and have just installed DBI 0.1-6 through the command 'install.packages("DBI")'.
Installation went fine, but now when I try to do a simple dbConnect(), it won't do anything besides complaining about an internal error:
> library(DBI)
> dbConnect(anything)
Error
2009 Sep 09
1
ROracle ubuntu64 issue
Hi,
i have R on ubuntu64
i got ROracle database connection issues as seen below
at a loss do to what next
> library(ROracle)
Loading required package: DBI
> m <- dbDriver("Oracle")
> con <- dbConnect(m, username="EPICEDF", password="ps39000b",
dbname="EPICD2007", address="10.1.16.40")
Error in oraNewConnection(drv, ...) :
unused
2006 Nov 13
0
segfault in RMySQL dbConnect error handling
Hi there. I see in a post from 2002 that you got the following
problem with RMySQL:
> con <- dbConnect(m)
Process R segmentation fault at Wed Aug 28 08:21:11 2002
I have the same problem today:
drv=dbDriver("MySQL")
dbConnect(drv) # or with pretty much any other failing options
Program received signal SIGSEGV, Segmentation fault.
0x00002b28d60c9fa0 in strlen () from
2005 Feb 22
1
Rdbi and ODBC
I have been using RODBC for a while with no complaints (R 2.0.1
patched under WinXP), then I saw a link
(http://grass.itc.it/statsgrass/r_and_dbms.html) showing that Rdbi
claims to run a query in 5 seconds that takes RODBC 4.3 minutes. That
was hard enough for me to believe that I wanted to try some tests
myself, but I cannot get Rdbi to connect to my ODBC database.
Here is what works for RODBC
2009 Feb 18
0
Segmentation Fault occured while connecting to the database
Hi All,
Can anyone help me please?I don't know much about segmentation faults.I
understand what it is,but why my script's throwing the error i don't know.
This is my main function:----
*main<-function()*
*{*
* dbName<-"xyz_database"*
* hostName<-"xyz.com"*
* con<-myDbconnect(dbName,hostName) *
*
2009 Feb 23
0
Segmentation Fault still exists
Hi All,
Sorry to bother everyone again.Ofcourse Prof Ripley ,Yihui and Uwe had
replied to my email.But this segmentation fault error was not solved.I agree
with Prof Ripley,as he said my R and all other configurations,are very
old.But what i don't understand is ,i was able to run analysis till few days
before,and why suddenly this error.
*The configuartions i use:---*
*R-version
*
*>
2007 Oct 04
0
RMySQL dbConnect
Hello, I have a problem..
I'm trying to make R communicate with MySQL, but I always receive an error..
My code is:
library(DBI)
library(RMySQL)
drv <- dbDriver("MySQL")
conn<-dbConnect(drv,username="####",password="####",dbname="prova",host="localhost")
and I receive this message:
Errore in function (classes, fdef, mtable) :
2008 Aug 15
1
dbConnect
Hi everybody,
I'm having a problem with connecting to my MySQL database.
Each time I try to connect
library(RMySQL)
m <- dbDriver("MySQL")
con <- dbConnect (m, host="my_host",username="my_username",
password="my_password", dbname="name_of_db")
it says
Fehler in mysqlNewConnection(drv, ...) :
RS-DBI driver: (could not connect
2007 Dec 14
2
connecting RMySQL to and external server
Dear list,
I learned how to connect R to a local MySQL server, using:
drv <- dbDriver("MySQL")
con <- dbConnect(drv, user="root", password="mypass", dbname="mydb")
Is it possible to connect R in this way to an external server (on a different
machine, with a different IP)?
I read the documentation on ?dbConnect (and everything I could find on the
2012 Aug 09
0
RMySQL dbConnect issues
Hello,
I have access to my database via command line and through workbench, and
have access on the grant tables:
mysql> SELECT host,user,password,select_priv,insert_priv FROM user;
+------+-------+-------------------------------------------+-------------+-------------+
| host | user | password | select_priv
| insert_priv |
2004 May 24
1
ROracle on RHEL 3 x86_64
Hello,
I am trying to configure my system with ROracle. I am running RHEL 3 AS x86_64. I have the Oracle client 9.2.0.4 x86_64. I have successfully compiled and run both R-1.8.1 and R-1.9.0 (tried ROracle on both installations). I am using DBI 1.8 and ROracle 0.5-4. I have used both the default Redhat installed gcc 3.2.3 and gcc 3.4. I am able to compile ROracle successfully with the
2004 Jul 14
3
ROracle - fetch gives empty dataframe
Dear R-users,
I was able to make ROracle package to connect to the DB (Oracle91,
64bit, on Solaris). But after executing siple SQL query, "fetch"
commaned gives me an empty dataframe.
### RORACLE INSTALATION PROCEDURE ###
R CMD INSTALL --configure-args='--enable-extralibs' --enable-oracle32=no
~/tmp/ROracle_0.5-5.tar.gz #since we have 64bit Oracle9i instalation
PROBLEM:
2016 Mar 15
2
Rsqlite
Estimados
Anteriormente usé sin problemas Rsqlite, pero encuentro un error, comparto el código ¿alguno tiene idea sobre que puede llegar a ser?
library(RSQLite)
con <- dbConnect('SQLite', dbname='/Users/Javier_2/Desktop/SQLiteJavier.db')
// o ? en lugar de ? , el error persiste
> con <- dbConnect("SQLite",
2001 Mar 19
3
generic database access methods
...UseMethod("dbReconnect")
#
# The conn object should store the options passed to dbConnect so that
# it can reestablish the connection.
#
dbReconnect.default <- function(conn) stop("Invalid connection object")
#
# User passed something other than a defined connection class
#
dbConnectionOK <- function(conn) UseMethod("dbConnectionOK")
#
# Returns TRUE if the connection object is valid and the connection
# can be used to communicate with the database backend.
#
dbConnectionOK.default <- function(conn) FALSE
#
# User passed something other than a defined connection c...
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
2003 Oct 11
2
Problem in 'methods' package (PR#4525)
Full_Name: Fernando Henrique Ferraz Pereira da Rosa
Version: 1.8.0
OS: Linux 2.4.21
Submission from: (NULL) (200.206.211.169)
After installing R 1.8.0, the R DBI interface stopped working. I tracked it
down as a problem in the 'methods' package, that comes in the default
installation.
Somehow the function '.valueClassTest' which is defined on package
'methods',
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
2006 Jun 19
4
share model definition
I want to share everything about a model except the db connection. Is
this a reasonable way to do it?
module NotebookDefinition
--
Posted via http://www.ruby-forum.com/.
2011 Jan 04
2
RSQLite to input dataframe
Dear r helpers,
At first, I apologize for raising a query which seems to be a stupid interpretation on my part. I am trying to learn SQLite.
Following is an example given in the RSQLite.zip file (Page # 4)
drv <- dbDriver("SQLite")
tfile <- tempfile()
con <- dbConnect(drv, dbname = tfile)
data(USArrests)
dbWriteTable(con, "arrests", USArrests)
On the similar
2008 Apr 23
2
ROracle error at step 1
Hi
I Can't connect to the Oracle database, any tips? Has anybody actually
got ROracle up and running on windows?
>> unable to find an inherited method for function "dbConnect",
for signature "OraDriver"
I can happily connect to the same database through RODBC. Oracle client,
version 9.2 installed, amongst others.
Sean
> library(DBI)
> library(ROracle)