On 11/12/2010 02:31 PM, Patrick Leyshock wrote:
> Hello,
>
> I've created this class:
>
> setClass("example",
>representation (
> size = "numeric",
> id= "character"
>)
> )
>
> Suppose I create a new instance of this class:
>
>> x <- new("example", 4, "id_value"
Perhaps you could help me make some sense of this. Here is a printout
of my sessions.
---
toys$R -q
> library(test2)
> gpualloctest()
testing allocation on gpu
C Finished
Collecting Garbage
done.
> q()
Save workspace image? [y/n/c]: n
*** caught segfault ***
address 0x7f12ec1add50, cause 'memory
Hello,
I've created this class:
setClass("example",
representation (
size = "numeric",
id= "character"
)
)
Suppose I create a new instance of this class:
> x <- new("example", 4, "id_value")
This creates an S4 object with two slots. Am I correct in thinking that
On Fri, 12 Nov 2010, Andrew Redd wrote:
I have a package that I'm developing that I need to unload the
library. Long story short I figured out that the leaving the compiled
code loaded lead to a segmentation fault, but unloading the code will
fix it. I've read the documentation and it appears
I have a package that I'm developing that I need to unload the
library. Long story short I figured out that the leaving the compiled
code loaded lead to a segmentation fault, but unloading the code will
fix it. I've read the documentation and it appears that there are
several ways to do this? Wh
Thanks for the windows fix.
There seems to be a new problem on unix.
I added a line in system2() to print out what "command" is before
.Internal(system(command, intern))
is called:
dhcp151078:R-latest dtenenba$ svn diff
src/library/base/R/unix/system.unix.R
Index: src/library/base/R/unix/system
> Robin Hankin
> on Wed, 10 Nov 2010 09:53:30 + writes:
> 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 fun