私はLinuxとRを使い慣れていませんUbuntu 11.04でRパッケージをインストールできない
私はUbuntu 11.04にR 2.12をインストールしました。今日、私は新しいパッケージをインストールしようとしたので、私は、次のコマンドを実行しました:
install.packages('XML')
しかし、インストールは、以下の情報を失敗しました:
* installing *source* package ‘XML’ ...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
No ability to remove finalizers on externalptr objects in this verison of R
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/spirit/R/i686-pc-linux-gnu-library/2.12/XML’
The downloaded packages are in
‘/tmp/RtmpoZYxnv/downloaded_packages’
Warning message:
In install.packages("XML") :
installation of package 'XML' had non-zero exit status
私も試してみました:
sudo install.packages('XML')
しかし、同じエラー情報が返されます。
誰でも私に助言を与えることができますか?前もって感謝します。
'xml2-config'をインストールしますか? –
@WayneWerner(有用な)解答が与えられてから2年後に(有用な)質問を閉じることを恥ずかしく思いませんか?あなたのようなコメントを投稿しても、後者を読んだことはありません... – user14764
この質問はちょうど私を(再)Ubuntuで助けた14.04 – geneorama