[R-sig-hpc] multicore 0.1-4 for Windows
davidr at rhotrading.com
davidr at rhotrading.com
Tue Aug 11 16:18:43 CEST 2009
I understand that the support for Windows is experimental,
so I thought I'd just try it out.
Maybe I don't understand some things.
Can someone explain what's going on here?
Is this as expected, and what am I doing wrong?
(I am on Windows XP SP2, and have 8 cores. SessionInfo below.)
> install.packages('multicore',,'http://www.rforge.net/')
trying URL
'http://www.rforge.net/bin/windows/contrib/2.9/multicore_0.1-4.zip'
Content type 'application/zip' length 90538 bytes (88 Kb)
opened URL
downloaded 88 Kb
package 'multicore' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Documents and Settings\davidr\Local
Settings\Temp\Rtmpv52Ozb\downloaded_packages
updating HTML package descriptions
> library(multicore)
> mclapply(1:10, sqrt, mc.cores=1)
[[1]]
[1] 1
[[2]]
[1] 1.414214
[[3]]
[1] 1.732051
[[4]]
[1] 2
[[5]]
[1] 2.236068
[[6]]
[1] 2.449490
[[7]]
[1] 2.645751
[[8]]
[1] 2.828427
[[9]]
[1] 3
[[10]]
[1] 3.162278
> mclapply(1:10, sqrt, mc.cores=2)
[[1]]
[1] 1
[[2]]
[1] 1.732051
[[3]]
[1] 2.236068
[[4]]
[1] 2.645751
[[5]]
[1] 3
> sessionInfo()
R version 2.9.1 (2009-06-26)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] multicore_0.1-4
loaded via a namespace (and not attached):
[1] tools_2.9.1
Thanks for any insight,
David L. Reiner
Rho Trading Securities, LLC
This e-mail and any materials attached hereto, including, without limitation, all content hereof and thereof (collectively, "Rho Content") are confidential and proprietary to Rho Trading Securities, LLC ("Rho") and/or its affiliates, and are protected by intellectual property laws. Without the prior written consent of Rho, the Rho Content may not (i) be disclosed to any third party or (ii) be reproduced or otherwise used by anyone other than current employees of Rho or its affiliates, on behalf of Rho or its affiliates.
THE RHO CONTENT IS PROVIDED AS IS, WITHOUT REPRESENTATIONS OR WARRANTIES OF ANY KIND. TO THE MAXIMUM EXTENT PERMISSIBLE UNDER APPLICABLE LAW, RHO HEREBY DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS AND IMPLIED, RELATING TO THE RHO CONTENT, AND NEITHER RHO NOR ANY OF ITS AFFILIATES SHALL IN ANY EVENT BE LIABLE FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, CONSEQUENTIAL, SPECIAL AND PUNITIVE DAMAGES, LOSS OF PROFITS AND TRADING LOSSES, RESULTING FROM ANY PERSON'S USE OR RELIANCE UPON, OR INABILITY TO USE, ANY RHO CONTENT, EVEN IF RHO IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF SUCH DAMAGES WERE FORESEEABLE.
More information about the R-sig-hpc
mailing list