search for: drvname

Displaying 13 results from an estimated 13 matches for "drvname".

Did you mean: devname
2008 Jun 30
2
Using ODBC/RODBC with DBI
...would like the following code to work, but it doesn't: library(DBI) library(RODBC) m <- dbDriver("RODBC") # Example for dbConnect(DBI), causes error m <- dbDriver("ODBC") # Example for DBIDriver-class(DBI), causes error The errors are: Error in do.call(as.character(drvName), list(...)) : could not find function "RODBC" (substitute "ODBC" for "RODBC" to get the second error) I've successfully used RODBC without using the DBI interface, and I've successfully used the DBI interface with SQLite. Am I doing something wrong here or...
2007 Jun 14
2
connecting to DB2 database
...driver <- dbDriver("DB2") conn <- dbConnect(driver,"server","uname","pword") data <- dbSendquery(conn, "select etc.") } When I run the function, i get the error > data <- getData() Error in do.call(as.character(drvName), list(...)) : could not find function "DB2" Can anyone help me here? Thank you Zava -------------------------------------------------------- This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}
2004 Jan 09
1
R and Postgresql (DBI)
Hi, I'm running Debian (Sid), Postgres (7.3.4) and R (1.8.1). I get the following error when I tri to use DBI >library("DBI") > p <- dbDriver("PostgreSQL") Error in do.call(as.character(drvName), list(...)) : couldn't find function "PostgreSQL" Is there any other package I need in order to interface between R and Postgres ? thanks Ian __________________________________
2007 Feb 15
1
Unable to connect to PostgreSQL
Hi R users, I am a beginner trying to connect to PostgreSQL using R When I give the following command drv<-dbDriver("PostgreSQL") I am getting the following error Error in do.call(as.character(drvName), list(...)) : could not find function "PostgreSQL" I have installed PostgreSQL 8.1 in my system. I am currently using R 2.3.1. Any help would be welcome Thanks Ravi [[alternative HTML version deleted]]
2007 Oct 31
2
DBI Package
...s. I have some problems with DBI package, I want to connect to PostgreSQL database but I don't know the way to do it. I was reading the DBI manual and I tried write in my R Console the next command: pg <- dbDriver("PostgreSQL") But R says: Error en do.call(as.character(drvName), list(...)) : no se pudo encontrar la funciĆ³n "PostgreSQL" I don't know what's happen, I would like to receive some help about this topic, I was looking for in the internet but there's few documentation about this package. Thanks in advance. Best regards. Pdt: So...
2007 Aug 15
1
Problem Connecting to Oracle with R from Windows XP
Hello, I installed RGui 2.5.1 and package DBI on Windows XP and tried to connect to Oracle database which is on a Linux server. When I tried to use dbDriver("Oracle"), I got an error as follows: > drv <- dbDriver("Oracle") Error in do.call(as.character(drvName), list(...)) : could not find function "Oracle" > Could anyone tell me how to connect to Oracle with R from Windows XP? Do I need to configure any environment variables? Do I need to configure ODBC? Do I need to install any other packages? I have Oracle client 10g insta...
2014 Sep 12
1
requireNamespace() questions
...ts RMySQL, RPostgreSQL, RSQLite. The function uses dbDriver() in DBI which uses do.call(). If I use requireNamespace() in place of require() I get > requireNamespace("RMySQL") Loading required namespace: RMySQL > m <- dbDriver("MySQL") Error in do.call(as.character(drvName), list(...)) : could not find function "MySQL" > require("RMySQL") Loading required package: RMySQL > m <- dbDriver("MySQL") > Is there a different way to handle this without altering the search path? The function do.call() does not seem to work wi...
2009 Nov 05
1
Error when adding package RMySQL (PR#14044)
...or : .onLoad failed in 'loadNamespace' for 'RMySQL' Error: package/namespace load failed for 'RMySQL' > MySQL() Error: could not find function "MySQL" > con <- dbConnect(dbDriver("MySQL"), dbname = "mysql") Error in do.call(as.character(drvName), list(...)) : could not find function "MySQL" Error in is(object, Cl) : error in evaluating the argument 'drv' in selecting a method for function 'dbConnect' > version _ platform i386-pc-mingw32 arch...
2004 Jul 14
3
ROracle - fetch gives empty dataframe
...con) character(0) > rs <- dbSendQuery(con, "desc * from si_r where id=498") > d <- fetch(rs, n= -1) > dim(d) [1] 0 3 str(d) data.frame': 0 obs. of 3 variables: $ ID : int $ DAY: chr $ R : num #### seems like connections has been established > dbGetInfo(ora) $drvName [1] "Oracle (ProC/C++)" $connectionIds $connectionIds[[1]] <OraConnection:(14939,0)> $fetch_default_rec [1] 500 $managerId <OraDriver:(14939)> $length [1] 10 $num_con [1] 1 $counter [1] 1 $clientVersion [1] "0.5-4" Maybe it is something stupid (and I need ju...
2004 Jul 14
0
ROracle - fetch gives...(corrected SQL code)
...on, "select * from si_r where id=498") ^^^^^^ CORRECTION > d <- fetch(rs, n= -1) > dim(d) [1] 0 3 str(d) data.frame': 0 obs. of 3 variables: $ ID : int $ DAY: chr $ R : num #### seems like connection has been established > dbGetInfo(ora) $drvName [1] "Oracle (ProC/C++)" $connectionIds $connectionIds[[1]] <OraConnection:(14939,0)> $fetch_default_rec [1] 500 $managerId <OraDriver:(14939)> $length [1] 10 $num_con [1] 1 $counter [1] 1 $clientVersion [1] "0.5-4" Maybe it is something stupid (and I need ju...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...+1892,7 @@ static void sm501_free_init_fb(struct sm501fb_info *info, fb_dealloc_cmap(&fbi->cmap); } -static int __devinit sm501fb_start_one(struct sm501fb_info *info, +static int sm501fb_start_one(struct sm501fb_info *info, enum sm501_controller head, const char *drvname) { @@ -1922,7 +1922,7 @@ static int __devinit sm501fb_start_one(struct sm501fb_info *info, return 0; } -static int __devinit sm501fb_probe(struct platform_device *pdev) +static int sm501fb_probe(struct platform_device *pdev) { struct sm501fb_info *info; struct device *dev = &pdev-&gt...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...+1892,7 @@ static void sm501_free_init_fb(struct sm501fb_info *info, fb_dealloc_cmap(&fbi->cmap); } -static int __devinit sm501fb_start_one(struct sm501fb_info *info, +static int sm501fb_start_one(struct sm501fb_info *info, enum sm501_controller head, const char *drvname) { @@ -1922,7 +1922,7 @@ static int __devinit sm501fb_start_one(struct sm501fb_info *info, return 0; } -static int __devinit sm501fb_probe(struct platform_device *pdev) +static int sm501fb_probe(struct platform_device *pdev) { struct sm501fb_info *info; struct device *dev = &pdev-&gt...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...+1892,7 @@ static void sm501_free_init_fb(struct sm501fb_info *info, fb_dealloc_cmap(&fbi->cmap); } -static int __devinit sm501fb_start_one(struct sm501fb_info *info, +static int sm501fb_start_one(struct sm501fb_info *info, enum sm501_controller head, const char *drvname) { @@ -1922,7 +1922,7 @@ static int __devinit sm501fb_start_one(struct sm501fb_info *info, return 0; } -static int __devinit sm501fb_probe(struct platform_device *pdev) +static int sm501fb_probe(struct platform_device *pdev) { struct sm501fb_info *info; struct device *dev = &pdev-&gt...