この質問は、 Rstem Package のインストールに関する問題に関連していますが、前の回答で提供された回答は私の場合には機能しないと思います。
ソース パッケージをダウンロードしましたが、インストールが正しく機能しません。どんな助けでも大歓迎です!
install.packages("~/Downloads/Rstem_0.4-1.tar.gz", repos = NULL, type = "source")
これは私が得るエラーです:
Warning in install.packages :
package ‘~/Downloads/Rstem_0.4-1.tar.gz’ is not available (for R version 2.15.3)
Installing package(s) into ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘Rstem’ ...
** libs
*** arch - i386
sh: make: command not found
ERROR: compilation failed for package ‘Rstem’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rstem’
Warning in install.packages :
installation of package ‘/Users/mbtangotan/Downloads/Rstem_0.4-1.tar.gz’ had non-zero exit status
また試しました:
install.packages("Rstem", repos = "http://www.omegahat.org/R", type="source")
これを出力として取得しました:
trying URL 'http://www.omegahat.org/R/src/contrib/Rstem_0.4-1.tar.gz'
Content type 'application/x-gzip' length 274336 bytes (267 Kb)
opened URL
downloaded 267 Kb
* installing *source* package ‘Rstem’ ...
** libs
*** arch - i386
sh: make: command not found
ERROR: compilation failed for package ‘Rstem’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rstem’
The downloaded source packages are in
‘/private/var/folders/t3/f4r4rwmn7xl80skj6h35ftnh0000gn/T/RtmpWKxXs2/downloaded_packages’
Warning message:
In install.packages("Rstem", repos = "http://www.omegahat.org/R", :
installation of package ‘Rstem’ had non-zero exit status
R バージョン: 2.15.3、x86_64、OSX。