Displaying 8 results from an estimated 8 matches for "isclass".
Did you mean:
sclass
2011 Jun 23
1
Class not found when search in .onLoad
Hi,
I am facing with a strange behaviour of isClass and extends when these
are called in .onLoad in both R 2.12.1 and R 2.13.0. This is preventing
my package from doing some object initializations at a proper place
(i.e. in .onLoad).
Suppose one defines two S4 classes in a package, and that one needs to
check the inheritance between these two w...
2003 Sep 07
1
Problem Installing Open H.323 Channel Driver
...3.h:72: parse error before `::'
ast_h323.h:72: no method `H323_G7231Capability::Class'
ast_h323.h:72: warning: control reaches end of non-void function
`GetClass(unsigned int)'
ast_h323.h: At top level:
ast_h323.h:72: virtual outside class declaration
ast_h323.h:72: non-member function `IsClass(const char *)' cannot have
`const' method qualifier
ast_h323.h: In function `BOOL IsClass(const char *)':
ast_h323.h:72: no method `H323_G7231Capability::Class'
ast_h323.h:72: warning: control reaches end of non-void function
`IsClass(const char *)'
ast_h323.h: At top level:
ast...
2006 Feb 06
3
decomposed.ts class and method
Dear R People:
In the function "decompose", the object has the class of "decomposed.ts".
(from package stats)
I would like to see the class definition and the method for the plotting.
However, when I use
isClass("decomposed.ts")
I get "FALSE".
When I check getMethods("plot")
there is no method for plot on decomposed.ts
Any suggestions, please?
Thanks in advance!
R Version 2.2.1 Windows
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical S...
2009 Jun 30
1
S4 class redefinition
.....)
2. create objects of class foo.
3. execute the same setClass("foo", ...) again (source the same file).
4. objects from step 2 are now NULL.
Is that the expected behavior (I ran under R 2.7.1)?
Assuming it is, it's kind of unfortunate. I can wrap my setClass code
like this
if (! isClass("foo")) setClass("foo", ....)
to avoid this problem. I've seen this in other code; is that the
standard solution?
I thought that loading a library was about the same as executing the
code in its source files (assuming R only code). But if this were true
my saved objects...
2004 Aug 25
1
Pixmap problem
Hi,
I'm having trouble writing .pnm images which I think is due to a problem
with my colour space. The pixmap object seems to be looking for 72 of 8
colours (one per cell?) which doesn't seem healthy...
> library(pixmap)
> x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8))
> x
Pixmap image
Type : pixmapIndexed
Size : 6x12
Resolution : 1x1
2008 Mar 30
1
package.skeleton.S4
...exit(Sys.setlocale("LC_CTYPE", curLocale), add = TRUE)
if (Sys.setlocale("LC_CTYPE", "C") != "C"){warning("cannot turn off
locale-specific chars via LC_CTYPE")}else{}
### Remove non existing object from the list
have <- sapply(list, isClass, where = environment)
if (any(!have))
warning(sprintf(ngettext(sum(!have), "class '%s' not found",
"class '%s' not found"), paste(sQuote(list[!have]),
collapse = ", ")), domain = NA)
list <- list[have]
if (...
2011 Jul 08
0
R 2.13.1 is released
...duced bad links. (PR#14608)
? Command completion will no longer be broken if tail.default() is
redefined by the user. (Problem reported by Henrik Bengtsson.)
? LaTeX rendering of markup in titles of help pages has been
improved; in particular, \eqn{} may be used there.
? isClass() used its own namespace as the default of the where
argument inadvertently.
? Rd conversion to latex mis-handled multi-line titles (including
cases where there was a blank line in the \title section).
--
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Pl...
2011 Jul 08
0
R 2.13.1 is released
...duced bad links. (PR#14608)
? Command completion will no longer be broken if tail.default() is
redefined by the user. (Problem reported by Henrik Bengtsson.)
? LaTeX rendering of markup in titles of help pages has been
improved; in particular, \eqn{} may be used there.
? isClass() used its own namespace as the default of the where
argument inadvertently.
? Rd conversion to latex mis-handled multi-line titles (including
cases where there was a blank line in the \title section).
--
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Pl...