Hansy Hansy - 10 days ago 5x
R Question

How to export a predefined function using snowfall?

I was trying to run some simulations in 4 cores using snowfall package. I have used

library and its
function to simulate some multivariate data within a user defined function. I called snowfall package in another user defined function, and used
to export all the variables in global environment. But it gave an error saying
"could not find function "rmvn"

Then I used
to export it seperately, but then it gives an error saying,
"Unknown/unfound variable rmvn in export"

I wonder where I have made the mistake. Any hint will be appreciated.


If you want to load a library use:


If you want to source a file use: