You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Chapter11.rmd
+5
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@ library(vars)
7
7
library(xlsx)
8
8
9
9
# load foreach and doParallel packages to do parallel computing.
10
+
# I can do parallel computation using %dopar% binary operator in foreach package with parallel backend in doParallel package. I can get result far faster than when I used loop.
11
+
# If I use %do% instead of %dopar%, I can't use parallel computation even if I don't need to designate '.packages' option in foreach function.
12
+
# '.packages' option specifies the required R package to be loaded to use the function that I want to use repeatedly.
0 commit comments