setMKLthreads(1)
> system.time(for(i in 1:n.simu) func1())
user system elapsed
69.482.42 71.91
>
> setMKLthreads(8)
> system.time(for(i in 1:n.simu) func1())
user system elapsed
179.06 17.90 41.70
Jason Liao
[[alter
.
Jason
-Original Message-
From: David M Smith [mailto:da...@revolution-computing.com]
Sent: Thursday, April 23, 2009 6:05 PM
To: Jason Liao
Cc: r-help@r-project.org
Subject: Re: [R] My surprising experience in trying out REvolution's R
We've taken a look at this in a bit more deta
I care a lot about R's speed. So I decided to give REvolution's R
(http://revolution-computing.com/) a try, which bills itself as an
optimized R. Note that I used the free version.
My machine is a Intel core 2 duo under Windows XP professional. The code
I run is in the end of this post.
First,
Hello, everyone! I have spent two hours to get what I wanted in a simple
situation and have not been successful. The set up is extremely simple
x = c(1,2,4,8)
y = c(1,2,3,4)
plot(x, y)
What I need, however, is for the 4 points of 1,2,4,8 to be spaced evenly, not
by their numerical scale. Also,
the R-help archives and can not find anything except
when the arguments are matrices. Thanks for any lead.
Jason
Jason Liao, http://www.geocities.com/jg_liao
Associate Professor of Biostatistics
Drexel University School of Public Health
1505 Race Street, Mail Stop 1033
Bellet Building, 6th
Simple solution provide by Prof. Ripley is to modify the relevant code as
follows (he posted in the R-development group):
SDh <- function(x, h, n, d) .C(stats:::R_band_phi4_bin,
as.integer(n),
as.integer(length(x)), as.double(d), x, as.double(h),
u = double(1))$u
TDh
understand well. Can anyone tell me how to modify the source code of an R
function and still make it part of an existing package?
Thanks.
Jason Liao, http://www.geocities.com/jg_liao
Associate Professor of Biostatistics
Drexel University School of Public Health
245 N. 15th Street, Mail Stop
7 matches
Mail list logo