big5 與 unicode 的問題一直很麻煩, 所以找了網路上的解決方法
修改安裝目錄下的 _vimrc 這個檔案.
let $LANG="zh_TW.UTF-8" set langmenu=zh_tw.utf-8 set encoding=utf8 "reload menu with UTF-8 encoding source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim
let $LANG="zh_TW.UTF-8" set langmenu=zh_tw.utf-8 set encoding=utf8 "reload menu with UTF-8 encoding source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim
rm(list=ls()) library(snow) myfun <- function(ii) { set.seed(ii*100) ret = mean(rnorm(10000)) ret } cluster = makeCluster(4,type="MPI") ### Normal tt0 = Sys.time() aa = sapply(1:100000,myfun) tt1 = Sys.time() bb = parSapply(cluster,1:100000,myfun) tt2 = Sys.time() stopCluster(cluster) cat(sprintf(" - %.4f, %.4f\n",difftime(tt1,tt0,units="secs"),difftime(tt2,tt1,units="secs")))