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: l...@stat.uiowa.edu Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.