Dear group, does anybody know how to export libraries/functions to all nodes when launching snow? I want to use a function from fBasics (dstable) for a rGenoud optimization routine, but I fail "making the function accessible" to the nodes created. I know how it works for variables, I know how it works in snowfall(which cant be used in that case), but I dont know how it culd work in snow. Help appreciated! Lui
See ?clusterEvalQ Uwe Ligges On 01.07.2011 16:11, Lui ## wrote:> Dear group, > > does anybody know how to export libraries/functions to all nodes when > launching snow? I want to use a function from fBasics (dstable) for a > rGenoud optimization routine, but I fail "making the function > accessible" to the nodes created. I know how it works for variables, I > know how it works in snowfall(which cant be used in that case), but I > dont know how it culd work in snow. > > Help appreciated! > > Lui > > ______________________________________________ > R-help at 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.
Hello Uwe, thanks a lot! That solved the "problem" Have a nice weekend! Viele Gr??e Lui 2011/7/1 Uwe Ligges <ligges at statistik.tu-dortmund.de>:> See ?clusterEvalQ > > Uwe Ligges > > On 01.07.2011 16:11, Lui ## wrote: >> >> Dear group, >> >> does anybody know how to export libraries/functions to all nodes when >> launching snow? I want to use a function from fBasics (dstable) for a >> rGenoud optimization routine, but I fail "making the function >> accessible" to the nodes created. I know how it works for variables, I >> know how it works in snowfall(which cant be used in that case), but I >> dont know how it culd work in snow. >> >> Help appreciated! >> >> Lui >> >> ______________________________________________ >> R-help at 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. >