search for: checkfortcltk

Displaying 1 result from an estimated 1 matches for "checkfortcltk".

2013 Feb 02
1
best practice for packages using mclapply to avoid tcltk
...o use mclapply to parallelize computations and need to figure out what should be done. It appears tcltk cannot be safely unloaded, so the best we can do is check for the presence of tcltk and stop if it is found before mclapply() is used. I wish you would please review my suggestion below. Maybe checkForTcltk() could be used in the parallel package. Otherwise, we are letting people run with scissors. There's a warning about this in ?mclapply It is _strongly discouraged_ to use these functions in GUI or embedded environments, because it leads to several processes sharing the same GUI which...