Hi again,

I am looking for some way to alternately use 2 related functions,
based on some ifelse() condition.

For example, I have 2 functions mclapply() and lapply()

However, mclapply() function has one extra parameter 'mc.cores' which
lapply doesnt not have.

I know when mc.cores = 1, these 2 functions are essentially same,
however I am looking for more general way to control them within
ifelse() constion

Can someone please help me how can I use them within ifelse() condition.

Thanks for your pointer

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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