मैं लिनक्स और आरउबंटू 11.04
मैं उबंटू 11.04 में आर 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
इस प्रश्न ने मुझे उबंटू 14.04 – geneorama