[R] Problem with package SNOW on MacOS X 10.5.5
luke at stat.uiowa.edu
luke at stat.uiowa.edu
Sun Jan 4 21:06:21 CET 2009
I don't see this on my setup (OS X 10.5.6, R 2.8.0, snow 0.3-3). As
snow does not use a name space it is possible that something else you
have loaded is masking a snow internal function. Another possibility
might be that your worker processes are picking up different versions
of R or snow. You might look at what traceback() says and/or use
clusterEvalQ to query the workers for R and snow versions.
luke
On Wed, 31 Dec 2008, Greg Riddick wrote:
> Hello All,
>
> I can run the "lower level" functions OK, but many of the higher level
> (eg. parSApply) functions are generating errors.
>
> When running the example (from the snow help docs) for parApply on
> MacOSX 10.5.5, I get the
> following error:
>
>
> cl <- makeSOCKcluster(c("localhost","localhost"))
> sum(parApply(cl, matrix(1:100,10), 1, sum))
>
> Error in do.call("fun", lapply(args, enquote)) :
> could not find function "fun"
>
>
>
> Any ideas? Do I possibly need MPI or PVM to run the "Apply" functions?
>
> Thanks,
>
>
--
Luke Tierney
Chair, Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa Phone: 319-335-3386
Department of Statistics and Fax: 319-335-3017
Actuarial Science
241 Schaeffer Hall email: luke at stat.uiowa.edu
Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu
More information about the R-help
mailing list