Displaying 20 results from an estimated 10000 matches similar to: "No warning for conflicting methods?"
2012 Sep 18
2
problem with vignettes when S4 classes in packages overlap
( A similar problem is also 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
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
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
hello,
if i load the RSQLite package in addition to the RPostgreSQL package,
i get various errors when trying to use RPostgreSQL functions. here is
an example transcript showing one such error:
==========================================================
R version 2.15.0 (2012-03-30)
[...]
> packageVersion('RPostgreSQL')
[1] 0.3.2
> packageVersion('RSQLite')
[1] 0.11.1
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
2010 Mar 04
1
mysqlWriteTable . error in your SQL syntax?
Hi,
Can somebody advice on weird mysqlWriteTable bug.
> mysqlWriteTable(conn, 'comparison',design2, row.names = F, overwrite=T)
Error in mysqlExecStatement(conn, statement, ...) :
RS-DBI driver: (could not run statement: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"condition"
2014 Sep 12
1
requireNamespace() questions
I am trying to follow directions at
http://cran.r-project.org/doc/manuals/r-patched/R-exts.html#Suggested-packages
regarding handling suggested packages with requireNamespace() rather
than require(), and I have some questions.
1/ When I do requireNamespace() in a function is the loading of the
namespace only effective within the function?
2/ At the link above in the manual it says "Note
2010 Sep 21
1
trouble compiling RMySQL (and others) for 64 bit windows.
I have a 64 bit machine running 64 bit windows 7 pro, 64 bit MySQL, and 64
bit R 2.11.1.
I have also installed RTools for 64 bit windows for this version of R
(archive name is oldWin64toolchain.zip; the install path for its contents
is C:\RTools, if that matters). I can open up a commandline window and
invoke any of the programs in both bin directories (both added to the system
path).
There are
2014 Jan 07
1
Why do methods of "initialize" have no "srcref" attribute as other S4 mehtods?
For documentation we use a system that generates Rd files from special
comments in the code. (inlinedocs).
It is crucial to be able to get the defining source code for objects like
methods to extract the comments from it.
Here is an R session that shows how this works for several kinds of methods
and (at the end of the session) how if fails for methods of "initialize"
>
2011 Mar 18
1
help regarding RPostgreSQL and R 2.12.2
Hi R-team,
While using R 2.12.2, I came across a problem that it doesn't have RPostgreSQL package in the list of "install packages".
As my original code was written in R 2.11.1, I could use the RPostgreSQL package.
I am moving to R 2.12.2 to use the newly added package "xtable" in newer version R 2.12.2.
Please help me to solve this problem and tell me if the RPostgreSQL
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
2011 Aug 02
1
Modelo Regresión Lineal
Hola Juan.
La regresión lineal es un método muy difundido y estoy seguro que con
una breve búsqueda en internet podrás encontrar excelentes manuales en
español.
Puedes adelantar con saber que la función básica para regresiones
lineales es lm() (de linear model) y para las variables que mencionas
podrías utilizar:
ajuste<-lm(razco_pr~razco_ps+razco_pc, data=tusdatos)
summary(ajuste)
2012 Aug 05
2
setMethod sometimes fails to set package slot when signature has trailing 'ANY'
after this
setClass("A")
setGeneric("bar", function(x, y) standardGeneric("bar"))
setMethod(bar, signature(x="A", y="A"), function(x, y) {})
setMethod(bar, signature(x="A", y="ANY"), function(x, y) {})
the method for signature c("A", "A") contains package information
> str(getMethod(bar,
2004 Sep 22
1
S4 methods and polymorophism
Hello R Power Users,
There is a rather large introduction you may skip to go directly to
my question about S4 classes.
I am working on some toy code to help me get in through S4 classes.
Doing this homework, I have some questions about S4 classes. I have
carefully read available help and some additional material such as Robert
Gentleman's slides and special attention to "Programming
2009 Sep 30
1
unable to load shared library (Symbol not found: _PQbackendPID)
I can't get the RPostgreSQL library to load on OSX and have no idea
where it's going wrong...
> library( RPostgreSQL )
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library '/Users/hamannj/Library/R/2.9/library/
RPostgreSQL/libs/i386/RPostgreSQL.so':
dlopen(/Users/hamannj/Library/R/2.9/library/RPostgreSQL/libs/i386/
RPostgreSQL.so, 6):
2006 May 22
2
confused by inheritance...
Hi r-devels,
I am stuck in some S4 inheritance problem:
setClass("A",representation(a="numeric"))
setClass("A1",representation(b="numeric"),contains="A")
setClass("A2",representation(c="numeric"),contains="A1")
if(!isGeneric("foo")){
setGeneric("foo", function(x,y,z, ...)
2002 Dec 13
0
Problem with RMySQL 0.5-0 under RH7.3
I have upgraded R on my Linux box from 1.5.1 to 1.6.1 using the binary
distributions for redhat 7.x.
My machine is runing:
Linux 2.4.18-3
Red Hat Linux release 7.3 (Valhalla)
After upgrading R, I executed upgrade.packages()
During the upgrading of the different packages there was an error on RMySQL.
Here is a dump of the upgrading messages:
2010 Jul 21
1
Package RPostgreSQL_0.1-6.tar.gz has been checked and built
Hi Dirk
I think there are problems with pg_config, the configure script of
RPostgreSQL checks for pg_config and got ¡°checking for pg_config...
/usr/bin/pg_config¡±. In Solaris 10u7 X64, three versions of PostgreSQL are
installed, there are in /usr/postgres/8.2(8.2.9) and
/usr/postgres/8.3(8.3.3), the corresponding bin files are in
/usr/postgres/<version>/bin and
2012 Jun 04
2
Error while trying to install RPostgreSQL.
Hi,
I am getting the following error while trying to install RPostgreSQL.
I tried all three methods(install.packages("RPostgreSQL", type =
"source"),install.packages("RPostgreSQL") & R CMD INSTALL
RPostgreSQL_0.3-1.tar.gz ) , but none of them is working.
++++++++++++++++++ Error++++++++++++++++++++++++
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I
2012 Nov 22
1
problems with RPostgreSQL compilation
Hello,
I am trying to install RPostgreSQL, but without success at the moment, getting an errormessage - see below.
My OS is Fedora 17, R version 2.15.2, PostgreSQL 9.2.1 with Postgis 2.0.1 spatial extension.
Thank You for any help, advice or hint in advance.
Regards
Tomas
> install.packages("RPostgreSQL", dependencies=TRUE)
trying URL