Displaying 14 results from an estimated 14 matches for "allgenerics".
2010 Jan 21
1
Rgeneric.py assists in rearranging generic function definitions
I've attached a script I wrote that pulls all the setGeneric definitions
out of a set of R files and puts them in a separate file, default
allGenerics.R. I thought it might help others who find themselves in a
similar situation.
The "situation" was that I had to change the order in which files in my
package were parsed; the scheme in which the generic definition is in
the "first" file that has the corresponding setMethod bre...
2002 May 21
4
setClass() and packages
Where should the setClass() ('methods' package) calls be placed in a
package? I try to follow a one-class-one-file principe, but since
setClass("ClassA", "ClassB") has to come a after setClass("ClassB", [snip])
it is not possible to fully follow this rule. So the best I can do now is to
put all setClass() calls in a file named "000.R" (I know this
2005 Dec 29
1
trouble with S4 methods for group "Summary"
Hello. This question concerns the Methods package. I have created a
new class and am trying to set a method for it for S4 group generic
"Summary". I have run into some signature problems. An example:
> setClass("track", representation(x="numeric", y="character"))
[1] "track"
> setGeneric("max", group="Summary")
2012 Apr 12
1
R-2.15.0 and Exporting Methods Converted To S4 Generic
...r production packages no longer builds under R-2.15.0
with the following message.
** testing if installed package can be loaded
Error: Function found when exporting methods from the namespace
'SuperCurve' which is not S4 generic: 'image'
Possibly relevant clues follow:
## From R/AllGenerics.R
if (!isGeneric("image")) {
setGeneric("image",
function(x, ...) standardGeneric("image"))
}
We have done the same for many S3 generics, converting them
to S4 and adding specific method-combinations as such...
## From various other R files...
setM...
2011 Mar 01
1
changes in recent R-devel revisions?
Hi,
I have a BioC infra-structure package that works fine (I can build,
check and load it successfully) on revision r53950. The very same
package fails on r54591 with the error below:
Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source
= keep.source) :
cyclic name space dependency detected when loading ?oligoClasses?,
already loading ?oligoClasses?
I don't see anything
2010 Feb 06
1
Posting an 'S4-creating Package Problem'...
Hello R-Team,
May you help me to post a 'S4-creating Package Problem'?
Thanks already now for supporting.
The problem sounds like:
Hello R forum,
while compiling my R-package these 'Warnings' occur:
...
Warnung in matchSignature(signature, fdef, where) :
in the method signature for function "plot" no definition for class:
"prediction"
Warnung in
2010 Nov 10
1
S4 package warning
Hello everyone. R-2.12.0, suse linux 11.3.
I am debugging a package that uses S4 methods
and R CMD check gives the following warning:
> Warning in methods::findMethods(g, env) :
> non-generic function 'mdm' given to findMethods()
> See the information on DESCRIPTION files in the chapter 'Creating R
> packages' of the 'Writing R Extensions' manual.
I
2008 Oct 20
2
R 2.8.0 is released
...getVirtual(),
mlistMetaName(), removeMethodsObject() and seemsS4Object() are
defunct.
o Use of a non-integer .Random.seed is now an error. (R itself
has never generated such values, but user code has, and
R >= 2.6.0 has given a warning.)
o methods::allGenerics() is deprecated.
o In package installation, SaveImage: yes is now ignored, and
any use of the field will give a warning.
o unserialize() no longer accepts character strings as input.
o The C macro 'allocString' has been removed -- use 'mkChar' and...
2008 Oct 20
2
R 2.8.0 is released
...getVirtual(),
mlistMetaName(), removeMethodsObject() and seemsS4Object() are
defunct.
o Use of a non-integer .Random.seed is now an error. (R itself
has never generated such values, but user code has, and
R >= 2.6.0 has given a warning.)
o methods::allGenerics() is deprecated.
o In package installation, SaveImage: yes is now ignored, and
any use of the field will give a warning.
o unserialize() no longer accepts character strings as input.
o The C macro 'allocString' has been removed -- use 'mkChar' and...
2009 Apr 17
0
R 2.9.0 is released
...to
specify restricted models.
o A new function smoothScatter has been added to package
'graphics'. It is appropriate for very dense scatter plots
and uses density estimation and color to reflect density of
plotting.
DEPRECATED & DEFUNCT
o allGenerics() is defunct.
o Use of allocVector(CHARSXP ...) is defunct and gives an error.
o The compatibility define for graphics structure NewDevDesc in
GraphicsDevice.h has been removed.
o Support for versioned installs (R CMD INSTALL
--with-package-versions
and install....
2009 Apr 17
0
R 2.9.0 is released
...to
specify restricted models.
o A new function smoothScatter has been added to package
'graphics'. It is appropriate for very dense scatter plots
and uses density estimation and color to reflect density of
plotting.
DEPRECATED & DEFUNCT
o allGenerics() is defunct.
o Use of allocVector(CHARSXP ...) is defunct and gives an error.
o The compatibility define for graphics structure NewDevDesc in
GraphicsDevice.h has been removed.
o Support for versioned installs (R CMD INSTALL
--with-package-versions
and install....
2020 Apr 24
0
R 4.0.0 is released
...FCPIFCPLAGS, nor CXX98 and similar.
* Either PCRE2 or PCRE1 >= 8.32 (Nov 2012) is required: the
deprecated provision for 8.20-8.31 has been removed.
* Defunct functions mem.limits(), .readRDS(),
.saveRDS(),..find.package(), and .path.package() from package
base and allGenerics(), getAccess(), getAllMethods(),
getClassName(), getClassPackage(), getExtends(), getProperties(),
getPrototype(), getSubclasses(), getVirtual(), mlistMetaName(),
removeMethodsObject(), seemsS4Object(), traceOff(), and traceOn()
from methods have been removed.
C-LEVEL FAC...
2020 Apr 24
0
R 4.0.0 is released
...FCPIFCPLAGS, nor CXX98 and similar.
* Either PCRE2 or PCRE1 >= 8.32 (Nov 2012) is required: the
deprecated provision for 8.20-8.31 has been removed.
* Defunct functions mem.limits(), .readRDS(),
.saveRDS(),..find.package(), and .path.package() from package
base and allGenerics(), getAccess(), getAllMethods(),
getClassName(), getClassPackage(), getExtends(), getProperties(),
getPrototype(), getSubclasses(), getVirtual(), mlistMetaName(),
removeMethodsObject(), seemsS4Object(), traceOff(), and traceOn()
from methods have been removed.
C-LEVEL FAC...
2020 Apr 24
0
R 4.0.0 is released
...FCPIFCPLAGS, nor CXX98 and similar.
* Either PCRE2 or PCRE1 >= 8.32 (Nov 2012) is required: the
deprecated provision for 8.20-8.31 has been removed.
* Defunct functions mem.limits(), .readRDS(),
.saveRDS(),..find.package(), and .path.package() from package
base and allGenerics(), getAccess(), getAllMethods(),
getClassName(), getClassPackage(), getExtends(), getProperties(),
getPrototype(), getSubclasses(), getVirtual(), mlistMetaName(),
removeMethodsObject(), seemsS4Object(), traceOff(), and traceOn()
from methods have been removed.
C-LEVEL FAC...