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,

-- 
Gregory Riddick, PhD.
CRTA Research Fellow

National Institutes of Health
National Cancer Institute, Neuro-Oncology Branch
9030 Old Georgetown Road
Building 37, Room 1142
Bethesda, MD 20892-8202

Phone: 301-443-2490

______________________________________________
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.

Reply via email to