[問題] homebrew安裝Rmpi
[問題類型]:
效能諮詢(我想讓R 跑更快)
[軟體熟悉度]:
入門(寫過其他程式,只是對語法不熟悉)
[問題敘述]:安裝Rmpi (Mac OSX 10.9)
[程式範例]:
我基本上follow下面這個網址的說明安裝Rmpi:
http://tinyurl.com/kh28mjk
其中第一部有說到要安裝Xcode跟homebrew,
所以我又根據下面這個網址的指示安裝:
http://tinyurl.com/8lqpohx
Xcode我之前就有裝,
我忘了之前有裝過homebrew,
所以裝homebrew的時候終端機console顯示
It appears Homebrew is already installed. If your intent is to reinstall
you should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
所以我就照做了,
重新安裝也很順利,
但執行brew doctor時出現一堆Warning:
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/mann
Warning: Broken symlinks were found. Remove them with `brew prune`:
/usr/local/bin/gitk
/usr/local/bin/git-upload-pack
/usr/local/bin/git-upload-archive
/usr/local/bin/git-subtree
/usr/local/bin/git-shell
/usr/local/bin/git-remote-hg
/usr/local/bin/git-remote-bzr
/usr/local/bin/git-receive-pack
/usr/local/bin/git-cvsserver
/usr/local/bin/git-credential-osxkeychain
/usr/local/bin/git
/usr/local/etc/bash_completion.d/git-prompt.sh
/usr/local/etc/bash_completion.d/git-completion.bash
/usr/local/lib/perl5/site_perl/Git.pm
/usr/local/lib/perl5/site_perl/Git/SVN.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Utils.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Ra.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Prompt.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Migration.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Memoize/YAML.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Log.pm
/usr/local/lib/perl5/site_perl/Git/SVN/GlobSpec.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Fetcher.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Editor.pm
/usr/local/lib/perl5/site_perl/Git/IndexInfo.pm
/usr/local/lib/perl5/site_perl/Git/I18N.pm
/usr/local/lib/perl5/site_perl/5.16.2/darwin-thread-multi-2level/auto/Git/.packlist
/usr/local/share/zsh/site-functions/git-completion.bash
/usr/local/share/zsh/site-functions/_git
/usr/local/share/man/man7/gitworkflows.7
/usr/local/share/man/man7/gittutorial.7
/usr/local/share/man/man7/gittutorial-2.7
/usr/local/share/man/man7/gitrevisions.7
/usr/local/share/man/man7/gitnamespaces.7
/usr/local/share/man/man7/gitglossary.7
/usr/local/share/man/man7/gitdiffcore.7
/usr/local/share/man/man7/gitcvs-migration.7
/usr/local/share/man/man7/gitcredentials.7
/usr/local/share/man/man7/gitcore-tutorial.7
/usr/local/share/man/man7/gitcli.7
/usr/local/share/man/man5/gitweb.conf.5
/usr/local/share/man/man5/gitrepository-layout.5
/usr/local/share/man/man5/gitmodules.5
/usr/local/share/man/man5/gitignore.5
/usr/local/share/man/man5/githooks.5
/usr/local/share/man/man5/gitattributes.5
/usr/local/share/man/man3/Git::SVN::Utils.3pm
/usr/local/share/man/man3/Git::SVN::Ra.3pm
/usr/local/share/man/man3/Git::SVN::Prompt.3pm
/usr/local/share/man/man3/Git::SVN::Memoize::YAML.3pm
/usr/local/share/man/man3/Git::SVN::Fetcher.3pm
/usr/local/share/man/man3/Git::SVN::Editor.3pm
/usr/local/share/man/man3/Git::I18N.3pm
/usr/local/share/man/man3/Git.3pm
/usr/local/share/man/man1/gitweb.1
/usr/local/share/man/man1/gitremote-helpers.1
/usr/local/share/man/man1/gitk.1
/usr/local/share/man/man1/git.1
/usr/local/share/man/man1/git-write-tree.1
/usr/local/share/man/man1/git-whatchanged.1
/usr/local/share/man/man1/git-web--browse.1
/usr/local/share/man/man1/git-verify-tag.1
/usr/local/share/man/man1/git-verify-pack.1
/usr/local/share/man/man1/git-var.1
/usr/local/share/man/man1/git-upload-pack.1
/usr/local/share/man/man1/git-upload-archive.1
/usr/local/share/man/man1/git-update-server-info.1
/usr/local/share/man/man1/git-update-ref.1
/usr/local/share/man/man1/git-update-index.1
/usr/local/share/man/man1/git-unpack-objects.1
/usr/local/share/man/man1/git-unpack-file.1
/usr/local/share/man/man1/git-tag.1
/usr/local/share/man/man1/git-symbolic-ref.1
/usr/local/share/man/man1/git-svn.1
/usr/local/share/man/man1/git-submodule.1
/usr/local/share/man/man1/git-stripspace.1
/usr/local/share/man/man1/git-status.1
/usr/local/share/man/man1/git-stash.1
/usr/local/share/man/man1/git-stage.1
/usr/local/share/man/man1/git-show.1
/usr/local/share/man/man1/git-show-ref.1
/usr/local/share/man/man1/git-show-index.1
/usr/local/share/man/man1/git-show-branch.1
/usr/local/share/man/man1/git-shortlog.1
/usr/local/share/man/man1/git-shell.1
/usr/local/share/man/man1/git-sh-setup.1
/usr/local/share/man/man1/git-sh-i18n.1
/usr/local/share/man/man1/git-sh-i18n--envsubst.1
/usr/local/share/man/man1/git-send-pack.1
/usr/local/share/man/man1/git-send-email.1
/usr/local/share/man/man1/git-rm.1
/usr/local/share/man/man1/git-revert.1
/usr/local/share/man/man1/git-rev-parse.1
/usr/local/share/man/man1/git-rev-list.1
/usr/local/share/man/man1/git-reset.1
/usr/local/share/man/man1/git-rerere.1
/usr/local/share/man/man1/git-request-pull.1
/usr/local/share/man/man1/git-replace.1
/usr/local/share/man/man1/git-repack.1
/usr/local/share/man/man1/git-remote.1
/usr/local/share/man/man1/git-remote-testgit.1
/usr/local/share/man/man1/git-remote-fd.1
/usr/local/share/man/man1/git-remote-ext.1
/usr/local/share/man/man1/git-relink.1
/usr/local/share/man/man1/git-reflog.1
/usr/local/share/man/man1/git-receive-pack.1
/usr/local/share/man/man1/git-rebase.1
/usr/local/share/man/man1/git-read-tree.1
/usr/local/share/man/man1/git-quiltimport.1
/usr/local/share/man/man1/git-push.1
/usr/local/share/man/man1/git-pull.1
/usr/local/share/man/man1/git-prune.1
/usr/local/share/man/man1/git-prune-packed.1
/usr/local/share/man/man1/git-patch-id.1
/usr/local/share/man/man1/git-parse-remote.1
/usr/local/share/man/man1/git-pack-refs.1
/usr/local/share/man/man1/git-pack-redundant.1
/usr/local/share/man/man1/git-pack-objects.1
/usr/local/share/man/man1/git-p4.1
/usr/local/share/man/man1/git-notes.1
/usr/local/share/man/man1/git-name-rev.1
/usr/local/share/man/man1/git-mv.1
/usr/local/share/man/man1/git-mktree.1
/usr/local/share/man/man1/git-mktag.1
/usr/local/share/man/man1/git-mergetool.1
/usr/local/share/man/man1/git-mergetool--lib.1
/usr/local/share/man/man1/git-merge.1
/usr/local/share/man/man1/git-merge-tree.1
/usr/local/share/man/man1/git-merge-one-file.1
/usr/local/share/man/man1/git-merge-index.1
/usr/local/share/man/man1/git-merge-file.1
/usr/local/share/man/man1/git-merge-base.1
/usr/local/share/man/man1/git-mailsplit.1
/usr/local/share/man/man1/git-mailinfo.1
/usr/local/share/man/man1/git-ls-tree.1
/usr/local/share/man/man1/git-ls-remote.1
/usr/local/share/man/man1/git-ls-files.1
/usr/local/share/man/man1/git-log.1
/usr/local/share/man/man1/git-instaweb.1
/usr/local/share/man/man1/git-init.1
/usr/local/share/man/man1/git-init-db.1
/usr/local/share/man/man1/git-index-pack.1
/usr/local/share/man/man1/git-imap-send.1
/usr/local/share/man/man1/git-http-push.1
/usr/local/share/man/man1/git-http-fetch.1
/usr/local/share/man/man1/git-http-backend.1
/usr/local/share/man/man1/git-help.1
/usr/local/share/man/man1/git-hash-object.1
/usr/local/share/man/man1/git-gui.1
/usr/local/share/man/man1/git-grep.1
/usr/local/share/man/man1/git-get-tar-commit-id.1
/usr/local/share/man/man1/git-gc.1
/usr/local/share/man/man1/git-fsck.1
/usr/local/share/man/man1/git-fsck-objects.1
/usr/local/share/man/man1/git-format-patch.1
/usr/local/share/man/man1/git-for-each-ref.1
/usr/local/share/man/man1/git-fmt-merge-msg.1
/usr/local/share/man/man1/git-filter-branch.1
/usr/local/share/man/man1/git-fetch.1
/usr/local/share/man/man1/git-fetch-pack.1
/usr/local/share/man/man1/git-fast-import.1
/usr/local/share/man/man1/git-fast-export.1
/usr/local/share/man/man1/git-difftool.1
/usr/local/share/man/man1/git-diff.1
/usr/local/share/man/man1/git-diff-tree.1
/usr/local/share/man/man1/git-diff-index.1
/usr/local/share/man/man1/git-diff-files.1
/usr/local/share/man/man1/git-describe.1
/usr/local/share/man/man1/git-daemon.1
/usr/local/share/man/man1/git-cvsserver.1
/usr/local/share/man/man1/git-cvsimport.1
/usr/local/share/man/man1/git-cvsexportcommit.1
/usr/local/share/man/man1/git-credential.1
/usr/local/share/man/man1/git-credential-store.1
/usr/local/share/man/man1/git-credential-cache.1
/usr/local/share/man/man1/git-credential-cache--daemon.1
/usr/local/share/man/man1/git-count-objects.1
/usr/local/share/man/man1/git-config.1
/usr/local/share/man/man1/git-commit.1
/usr/local/share/man/man1/git-commit-tree.1
/usr/local/share/man/man1/git-column.1
/usr/local/share/man/man1/git-clone.1
/usr/local/share/man/man1/git-clean.1
/usr/local/share/man/man1/git-citool.1
/usr/local/share/man/man1/git-cherry.1
/usr/local/share/man/man1/git-cherry-pick.1
/usr/local/share/man/man1/git-checkout.1
/usr/local/share/man/man1/git-checkout-index.1
/usr/local/share/man/man1/git-check-ref-format.1
/usr/local/share/man/man1/git-check-mailmap.1
/usr/local/share/man/man1/git-check-ignore.1
/usr/local/share/man/man1/git-check-attr.1
/usr/local/share/man/man1/git-cat-file.1
/usr/local/share/man/man1/git-bundle.1
/usr/local/share/man/man1/git-branch.1
/usr/local/share/man/man1/git-blame.1
/usr/local/share/man/man1/git-bisect.1
/usr/local/share/man/man1/git-archive.1
/usr/local/share/man/man1/git-archimport.1
/usr/local/share/man/man1/git-apply.1
/usr/local/share/man/man1/git-annotate.1
/usr/local/share/man/man1/git-am.1
/usr/local/share/man/man1/git-add.1
/usr/local/share/gitweb
/usr/local/share/gitk
/usr/local/share/git-gui
/usr/local/share/git-core
/usr/local/share/doc/git-doc
/usr/local/Library/LinkedKegs/git
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libtcl8.6.dylib
/usr/local/lib/libtk8.6.dylib
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/tcl.pc
/usr/local/lib/pkgconfig/tk.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libtclstub8.6.a
/usr/local/lib/libtkstub8.6.a
是我什麼步驟錯了嗎?
又或者我該怎麼在Mac上裝Rmpi呢?
[關鍵字]: homebrew Rmpi
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 1.164.20.66
推
02/28 01:29, , 1F
02/28 01:29, 1F
→
02/28 01:30, , 2F
02/28 01:30, 2F
→
02/28 01:31, , 3F
02/28 01:31, 3F
→
02/28 01:31, , 4F
02/28 01:31, 4F
我不太懂電腦,所以簡單的說,我得執行brew prune XXX,XXX就是下面列的長長的表,
另外就是第一個warning中的chown,這要怎麼用啊? 我打進終端機好像沒啥作用,還有
就是最後那幾個要我delete的libraries也是用prune去刪它嗎?
※ 編輯: Dboy 來自: 1.164.20.66 (02/28 01:44)
問題已經解決了,
解決的方式我想說就留個底吧,
希望之後有電腦不熟的人可以輕鬆解決它。
可以發現我的問題主要是有一些壞檔跟資料夾的閱讀權限問題,
對於Mac的使用者來說,
由於比較新的OS X會隱藏一些系統資料夾,
導致雖然在Terminal中顯示的那些資料夾完全無法從Finder中找到,
所幸我搜到以下這個教學網站:
http://tinyurl.com/b658ong
(Blog裡面還有Terminal 101系列文,也很不錯!)
其中第7個trick可以讓你顯示Finder中所有檔案,
只需要在Terminal中鍵入:
defaults write com.apple.finder AppleShowAllFiles TRUE
然後你就可以找到所有資料跟檔案。
另外,想回復原來隱藏的狀態的話,
只要如法炮製鍵入:
defaults write com.apple.finder AppleShowAllFiles FAULSE
就行了。
Happy R-ing!
※ 編輯: Dboy 來自: 114.45.209.186 (02/28 10:15)
→
02/28 10:16, , 5F
02/28 10:16, 5F
→
02/28 10:17, , 6F
02/28 10:17, 6F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章