Displaying 13 results from an estimated 13 matches for "dbobjectid".
2013 Oct 09
1
No warning for conflicting methods?
It would be really nice if R warned you when packages had conflicting
methods. For example (and this took me a couple of hours to track
down), RMySQL and RPostgreSQL both define setMethod("print",
"dbObjectId"), so that:
library(RMySQL)
getMethod("print", "dbObjectId")
library(RPostgreSQL)
getMethod("print", "dbObjectId")
Obviously it's a bad idea to associate methods with classes that you
don't own, but it would be great if R could give some warni...
2012 Mar 24
2
RC / methods package
...I think this is being caused by the new methods package in RC.)
In the RC (March 24) some of my packages are generating a Note
Note: Method with signature "MySQLConnection#integer" chosen for
function "coerce",
target signature "TSMySQLConnection#integer".
"dbObjectId#integer" would also be valid
This is coming from a call to dbGetQuery() in package DBI. The method
with the signature "TSMySQLConnection#integer" is generated
automatically because TSMySQLConnection inherits from
MySQLConnection. (More details below.)
Is there a way to pass this...
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
...is issue.
if possible, please include my email address in any reply.
best
jon mcauliffe
jon at mcauliffe.com
(1)
> showMethods('show')
Function: show (package methods)
object="ANY"
object="classGeneratorFunction"
object="classRepresentation"
object="dbObjectId"
object="envRefClass"
object="function"
(inherited from: object="ANY")
object="genericFunction"
object="genericFunctionWithTrace"
object="MethodDefinition"
object="MethodDefinitionWithTrace"
object="MethodSelectionRe...
2008 Aug 27
1
S4 coercion
...a get
rid of the warning?
Paul Gilbert
> TSdelete("vec", con)
Error: (converted from warning) Ambiguous method selection for "coerce",
target "TSPostgreSQLConnection#integer" (the first of the signatures
shown will be used)
PostgreSQLConnection#integer
dbObjectId#integer
> traceback()
15: doWithOneRestart(return(expr), restart)
14: withOneRestart(expr, restarts[[1]])
13: withRestarts({
.Internal(.signalCondition(simpleWarning(msg, call), msg,
call))
.Internal(.dfltWarn(msg, call))
}, muffleWarning = function() NULL)
12: .sign...
2012 Sep 18
2
problem with vignettes when S4 classes in packages overlap
...o reported by Sebastian P. Luque with
library(maptools)
library(trip)
in the vignette as below ).
I am writing a vignette which loads RMySQL and RPostgreSQL. This
produces the warning:
Loading required package: DBI
Warning in .simpleDuplicateClass(def, prev) :
A specification for class ?dbObjectId? in package ?RPostgreSQL? seems
equivalent to one from package ?RMySQL? and is not turning on duplicate
class definitions for this class
This can be reproduced by running
R CMD Sweave --pdf Atest.Stex
where the file Atest.Stex has the lines
\documentclass{article}
\usepackage{Sweave}
\begin...
2007 Mar 20
1
RMySQL load error
...de -I/usr/local/include/mysql
-I/usr/local/include -fpic -O2 -g -std=gnu99 -c RS-MySQL.c -o RS-MySQL.o
gcc -shared -Wl,-O1 -o RMySQL.so RS-DBI.o RS-MySQL.o -L/usr/local/lib/mysql
-lmysqlclient -lz -L/usr/lib64/R/lib -lR
** R
** inst
** save image
Loading required package: DBI
[1] "dbObjectId"
[1] "format"
[1] "show"
[1] "print"
[1] "MySQLObject"
[1] "MySQLDriver"
[1] "dbUnloadDriver"
[1] "dbGetInfo"
[1] "dbListConnections"
[1] "summary"
[1] "MySQLConnection"
[1] "dbC...
2003 Nov 11
0
Installing and Loading RMySQL on OS X 2.8
...hed) yes
checking for mysql.h... (cached) no
checking for /usr/local/include/mysql/mysql.h... (cached) no
checking for /usr/include/mysql/mysql.h... (cached) yes
creating ./config.status
creating src/Makevars
** libs
make: `RMySQL.so' is up to date.
** R
** inst
** save image
[1] TRUE
[1] "dbObjectId"
[1] "format"
[1] "show"
[1] "print"
[1] "MySQLObject"
[1] "MySQLDriver"
[1] "dbUnloadDriver"
[1] "dbGetInfo"
[1] "dbListConnections"
[1] "summary"
[1] "MySQLConnection"
[1] "dbConnect"...
2005 Mar 09
1
RMySQL installed but not availalable
...> -I/opt/gnome/
> include -fPIC -c RS-MySQL.c -o RS-MySQL.o
> gcc -shared -L/usr/local/lib -L/opt/gnome/lib -o RMySQL.so RS-DBI.o
> RS-MySQL.o -
> lmysqlclient -lz -L/usr/lib/R/lib -lR
> ** R
> ** inst
> ** save image
> Loading required package: DBI
> [1] "dbObjectId"
> [1] "format"
> [1] "show"
> [1] "print"
> [1] "MySQLObject"
> [1] "MySQLDriver"
> [1] "dbUnloadDriver"
> [1] "dbGetInfo"
> [1] "dbListConnections"
> [1] "summary"
> [1] &q...
2010 Mar 04
1
mysqlWriteTable . error in your SQL syntax?
...MySQL driver for R. This version
complies with the database interface definition as implemented
in the package DBI 0.2-2.
LazyLoad: true
Depends: R (>= 2.8.0), methods, DBI (>= 0.2-2), utils
License: GPL-2
URL: http://biostat.mc.vanderbilt.edu/RMySQL
Collate: S4R.R zzz.R MySQLSupport.R dbObjectId.R MySQL.R
Packaged: Tue Apr 7 15:19:44 2009; hornerj
Repository: CRAN
Date/Publication: 2009-04-14 17:26:56
Built: R 2.10.1; x86_64-unknown-linux-gnu; 2010-01-16 19:42:24 UTC;
unix
Vladimir Morozov
Sr. Computational Biologist
ALS Therapy Development Institute
215 First Street, Cambridge...
2005 Aug 23
1
ROracle installation problem
...: Leaving directory `/tmp/R.INSTALL.10940/ROracle/src'
** R
** inst
** save image
[1] TRUE
Loading required package: DBI
[1] FALSE
Warning message:
There is no package called 'DBI' in: library(package, character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
[1] "dbObjectId"
Creating a new generic function for "format" in "ROracle"
[1] "format"
[1] "show"
Creating a new generic function for "print" in "ROracle"
[1] "print"
Error in reconcilePropertiesAndPrototype(name, slots, prototype, super...
2002 Dec 13
0
Problem with RMySQL 0.5-0 under RH7.3
...b/R/include -I/usr/include/mysql -I/usr/local/include
-D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -m486 -fno-strength-reduce -g -c
RS-MySQL.c -o RS-MySQL.o
gcc -shared -L/usr/local/lib -o RMySQL.so RS-DBI.o RS-MySQL.o -L/usr/lib/mysql
-lmysqlclient -lz
** R
** inst
** save image
[1] TRUE
[1] "dbObjectId"
Creating a new generic function for "format" in package
RMySQL
[1] "format"
[1] "show"
Creating a new generic function for "print" in package
RMySQL
[1] "print"
Error in getProperties(ClassDef) : "slots" is not a valid slot for this...
2007 Dec 21
0
RMySQL installation
...l latex example
dbGetInfo-methods text html latex example
dbListTables-methods text html latex example
dbNextResult-methods text html latex example
dbNextResult text html latex example
dbObjectId-class text html latex example
dbReadTable-methods text html latex example
dbSendQuery-methods text html latex example
dbSetDataMappings-methods text html latex example
fetch-methods...
2009 Feb 09
0
ROracle - ORA-02005: implicit (-1) length not valid for this bind or define datatype
...ext html latex example
dbDataType-methods text html latex example
dbDriver-methods text html latex example
dbGetInfo-methods text html latex example
dbListTables-methods text html latex example
dbObjectId-class text html latex example
dbPrepareStatement-methods text html latex example
dbReadTable-methods text html latex example
dbSendQuery-methods text html latex example
dbSetDataMappings-methods text...