search for: valueclasstest

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

2003 Oct 11
2
Problem in 'methods' package (PR#4525)
...az 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', is not being defined. To ilustrate how this breaks DBI, try this in a 1.8.0 R install (with DBI installed): > library(DBI) > con <- dbConnect(dbDriver("MySQL"), dbname = "test") Error in dbConnect(dbD...
2003 Nov 12
0
RMySQL & couldn't find function ".valueClassTest"
...;""""""""""""""""""""""""""""""""""""""" The following are some workarounds: append the line export(.valueClassTest) to the file $R_HOME/src/library/methods/NAMESPACE where $R_HOME refers to the directory where you have R 1.8.0 installed. """""""""""""""""""""""""""""...
2003 Oct 11
1
DBI Interface broken
...'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 in dbConnect(anything) : couldn't find function ".valueClassTest" > dbConnect standardGeneric for "dbConnect" defined from package "DBI" defined with value class: "DBIConnection" function (drv, ...) .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect") <...
2009 Feb 23
0
Segmentation Fault still exists
...*** caught segfault *** address 0x55, cause 'memory not mapped' Traceback: 1: .Call("RS_MySQL_newConnection", drvId, con.params, groups, default.file, PACKAGE = .MySQLPkgName) 2: mysqlNewConnection(drv, ...) 3: .class1(object) 4: .class1(object) 5: is(object, Cl) 6: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect") 7: dbConnect(drv, user = "xyz", password = "xyz", dbname = dbName, host = hostName) 8: myDbconnect(dbName, hostName) 9: main() 10: eval.with.vis(expr, envir, enclos) 11: eval.with.vi...
2009 Sep 09
1
ROracle ubuntu64 issue
...", dbname="10.1.16.40") *** caught segfault *** address (nil), cause 'memory not mapped' Traceback: 1: .Call("RS_Ora_newConnection", drvId, con.params, max.results, PACKAGE = .OraPkgName) 2: oraNewConnection(drv, ...) 3: is(object, Cl) 4: is(object, Cl) 5: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect") 6: dbConnect(m,...... [[alternative HTML version deleted]]
2003 Oct 19
1
Running RMySQL with SuSE 8.2?
...ion will work with the SuSE 8.2 rpms of R and DBI? The package installs without complaint, but when I try to run con <- dbConnect(dbDriver("MySQL"),dbname="test") I get the error Error in dbConnect(dbDriver("MySQL")) : couldn't find function ".valueClassTest" (This is my first attempt to access a an rdms from R, so I could be doing something else wrong.) Any ideas as what might be generating this error, or as to combinations of rpms that will work under SuSE 8.2 would be appreciated. (I took a stab at compiling RMySQL from src, but I don'...
2003 Dec 10
1
How to start RMySQL
...P. I download the RMySQL.zip from the internet and used the Packages installer in the RGui to install RMySQL. I also installed DBI packages. I ran the following and got the error. > mgr<-dbDriver("MySQL") Error in dbDriver("MySQL") : couldn't find function ".valueClassTest" What did I do wrong? Thanks in advance. Jeff. [[alternative HTML version deleted]]
2009 Feb 18
0
Segmentation Fault occured while connecting to the database
...*address 0x55, cause 'memory not mapped'* * * *Traceback:* * 1: .Call("RS_MySQL_newConnection", drvId, con.params, groups, default.file, PACKAGE = .MySQLPkgName)* * 2: mysqlNewConnection(drv, ...)* * 3: .class1(object)* * 4: .class1(object)* * 5: is(object, Cl)* * 6: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect")* * 7: dbConnect(drv, user = "xyz", password = "xyz", dbname = dbName, host = hostName)* * 8: myDbconnect(dbName, hostName)* * 9: main()* *10: eval.with.vis(expr, envir, enclos)* *1...
2009 Jun 04
2
RPostgreSQL segfault with LEFT JOIN
...ber 0 is out of range 0..-1 *** caught segfault *** address (nil), cause 'memory not mapped' Traceback: 1: .Call("RS_PostgreSQL_exec", conId, statement, PACKAGE = .PostgreSQLPkgName) 2: postgresqlExecStatement(conn, statement, ...) 3: is(object, Cl) 4: is(object, Cl) 5: .valueClassTest(standardGeneric("dbSendQuery"), "DBIResult", "dbSendQuery") 6: dbSendQuery(conn, q) ---------------------------------------------------------------------------------------------------- Here are the details on my R install: --------------------------------------...
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
According David Jame's response to my earlier question, there is a problem with setGeneric.setMethod in R 1.8.0 that affects DBI and RMySQL. Is there a fix for this? David Jame's refers to an 'R-patched version' but I haven't seen anything like this on CRAN. Would going back to an older version of R solve the problem? Thanks, Barnet Wagman "David James wrote:
2003 Nov 24
0
Re: [RMySQL] unable to establish connection since R-1.8.0 upgrade
...gt; library(RMySQL) > > dbConnect("MySQL") > Error in initialize(value, ...) : Invalid names for slots of class > MySQLDriver: Id > > This is the error I have after having added to the NAMESPACE file of the > "methods" package the line : > export(.valueClassTest) > > following John Chambers' piece of advice (see > http://maths.newcastle.edu.au/~rking/R/devel/03b/0861.html). > > Before adding that line I had the same problem Fernando mentionned (see > previous link). > > My settings are : > > Red Hat Linux 8.0 > R-...
2003 Dec 11
0
SV: How to start RMySQL
...P. I download the RMySQL.zip from the internet and used the Packages installer in the RGui to install RMySQL. I also installed DBI packages. I ran the following and got the error. > mgr<-dbDriver("MySQL") Error in dbDriver("MySQL") : couldn't find function ".valueClassTest" What did I do wrong? Thanks in advance. Jeff. [[alternative HTML version deleted]] ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
2006 Nov 13
0
segfault in RMySQL dbConnect error handling
...db) c *** caught segfault *** address 0x8d, cause 'memory not mapped' Traceback: 1: .Call("RS_MySQL_newConnection", drvId, con.params, groups, default.file, PACKAGE = .MySQLPkgName) 2: mysqlNewConnection(drv, ...) 3: .class1(object) 4: .class1(object) 5: is(object, Cl) 6: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect") 7: dbConnect(drv) Possible actions: 1: abort (with core dump) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: It appears that it is crashing while handling an e...