Hello:
I have written some an elementary S4 classes around a matrix to strengthen
control of some key attributes. When I run a fairly elementary function
(f) on the matrix outside the class it runs instantaneously (elapsed
system.time = 0) but when I setMethod f on myClass -- returning an
On Fri, 30 Apr 2010, Dominick Samperi wrote:
The R docs say that there are two methods that the C programmer can
allocate memory, one where R automatically frees the memory on
return from .C/.Call, and the other where the user takes responsibility
for freeing the storage. Both methods involve
On Fri, 30 Apr 2010, Daniel Murphy wrote:
Hello:
I have written some an elementary S4 classes around a matrix to strengthen
control of some key attributes. When I run a fairly elementary function
(f) on the matrix outside the class it runs instantaneously (elapsed
system.time = 0) but when I
We are planning to phase in some major changes to the R build process
on Windows shortly, so expect problems and temporary unavailability of
binary builds of R and of packages, and if you are building from
sources, check out the latest version of the R-admin manual (in the
sources) for the
I'm really sorry that I had to disturb you (for nothing) because
everything looks fine now ( why ??). After I build again the package
with search() in the Rsq.2.array examples, I didn't get any Error.
The only things that I changed it's the directory where is build the package.
The package
Brian's answer was pretty exhaustive - just one more note that is indirectly
related to memory management: C++ exception handling does interfere with R's
error handling (and vice versa) so in general STL is very dangerous and best
avoided in R. In addition, remember that regular local object
On Apr 30, 2010, at 4:20 AM, Prof Brian Ripley wrote:
We are planning to phase in some major changes to the R build process on
Windows shortly, so expect problems and temporary unavailability of binary
builds of R and of packages, and if you are building from sources, check out
the latest
Some easy way to find out what has changed would be desirable here.
On Fri, Apr 30, 2010 at 9:03 AM, Simon Urbanek
simon.urba...@r-project.org wrote:
On Apr 30, 2010, at 4:20 AM, Prof Brian Ripley wrote:
We are planning to phase in some major changes to the R build process on
Windows
Maybe Duncan could apply the same script that's being used for RNEWS
to the manuals? An RSS feed of changes to the manuals would be really
useful.
Hadley
On Fri, Apr 30, 2010 at 8:16 AM, Gabor Grothendieck
ggrothendi...@gmail.com wrote:
Some easy way to find out what has changed would be
On 30/04/2010 10:22 AM, hadley wickham wrote:
Maybe Duncan could apply the same script that's being used for RNEWS
to the manuals? An RSS feed of changes to the manuals would be really
useful.
My script is very NEWS specific. The manuals would be harder. You
could get the diffs from svn
On Fri, Apr 30, 2010 at 10:39 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 30/04/2010 10:22 AM, hadley wickham wrote:
Maybe Duncan could apply the same script that's being used for RNEWS
to the manuals? An RSS feed of changes to the manuals would be really
useful.
My script is very
My script is very NEWS specific. The manuals would be harder. You could
get the diffs from svn pretty easily, but displaying them would be trickier:
do you display the diffs in the .texi source, or convert to HTML and
display the diffs there, or what? How much context around them? Not
On 30/04/2010 10:48 AM, Gabor Grothendieck wrote:
On Fri, Apr 30, 2010 at 10:39 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 30/04/2010 10:22 AM, hadley wickham wrote:
Maybe Duncan could apply the same script that's being used for RNEWS
to the manuals? An RSS feed of changes to the
Hello dear members of R-devel mailing list and Kevin Buhr (the author of
the polygon function),
After some private e-mails, I was informed this is the place to post this
feature request. I hope I am correct.
I would like to use a command like this:
plot(c(1,8), 1:2, type=n)
polygon(1:7,
Hi Folks,
I am creating a multi-threaded C++ application that initializes RInside in
one of the child thread.
I would also like to access support interfaces like Rcpp::Environment in the
remaining child threads, so that I could access any R function associated
with the
environment initialized.
Simon,
Just to be sure that I understand, are you suggesting that the R-safe way to do
things is to not use STL, and to not use C++ memory management and
exception handling? How can you leave a function in an irregular way without
triggering a seg fault or something like that, in which case there
Dominick,
On Apr 30, 2010, at 1:40 PM, Dominick Samperi wrote:
Just to be sure that I understand, are you suggesting that the R-safe way to
do things is to not use STL, and to not use C++ memory management and
exception handling? How can you leave a function in an irregular way without
On Fri, Apr 30, 2010 at 11:01 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 30/04/2010 10:48 AM, Gabor Grothendieck wrote:
On Fri, Apr 30, 2010 at 10:39 AM, Duncan Murdoch murd...@stats.uwo.ca
wrote:
On 30/04/2010 10:22 AM, hadley wickham wrote:
Maybe Duncan could apply the same
On 30/04/2010 2:11 PM, Gabor Grothendieck wrote:
On Fri, Apr 30, 2010 at 11:01 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 30/04/2010 10:48 AM, Gabor Grothendieck wrote:
On Fri, Apr 30, 2010 at 10:39 AM, Duncan Murdoch murd...@stats.uwo.ca
wrote:
On 30/04/2010 10:22 AM, hadley
Thanks for the clarification Simon,
I think it is safe (R-safe?) to say that if there are no exceptions or errors
on either side, then it is highly likely that everything is fine.
When there are errors or exceptions, it is probably NOT safe to try to
recover. Better to terminate the R session,
Dominick,
On Apr 30, 2010, at 2:51 PM, Dominick Samperi wrote:
Thanks for the clarification Simon,
I think it is safe (R-safe?) to say that if there are no exceptions or errors
on either side, then it is highly likely that everything is fine.
I think so - at least on the exceptions
Indeed. As I said, using heap objects (explicit initialization) does solve
that issue, but you have to be again wary of other libraries which may still
use static initializers.
I just did a little test and found, in the case of gcc/g++, that a
main C main program linked with a C++ library
Dear List,
I have a Date vector, and converting to character causes Rnbsp;2.11
tonbsp;crash on one machine running Win2008 x64 and another running Win7 x64.
The code runs fine on R 2.10.
For example,
x lt;-nbsp;as.Date(rep(1:15000, 10), '1970-01-01')
y lt;- as.character(x)
At this point,
I think the following three calls to na.action() should
return the same thing, but the last returns NULL.
d - data.frame(x=c(1,2,NA,NA,5), y=log(1:5),
row.names=LETTERS[1:5])
na.action(na.exclude(d))
C D
3 4
attr(,class)
[1] exclude
na.action(model.frame(y~x, data=d,
On 30/04/2010 6:23 PM, Nicholas Hirschey wrote:
Dear List,
I have a Date vector, and converting to character causes Rnbsp;2.11
tonbsp;crash on one machine running Win2008 x64 and another running Win7 x64. The
code runs fine on R 2.10.
For example,
x lt;-nbsp;as.Date(rep(1:15000, 10),
25 matches
Mail list logo