için devtools yüklenemedi Rstudio'daki devtools paketini install.packages("devtools")
yükleyerek çalışıyordum ancak başarısız oldu. hata iletileri şunlardır: o sorun libxml-2.0
bulmakta gibiR 3.1.2
* installing *source* package ‘xml2’ ...
** package ‘xml2’ successfully unpacked and MD5 sums checked
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Could not find libxml2. Please install libxml2-devel (rpm) or libxml2-dev (deb).
ERROR: configuration failed for package ‘xml2’
* removing ‘/home/xwang/R/x86_64-pc-linux-gnu-library/3.1/xml2’
Warning in install.packages :
installation of package ‘xml2’ had non-zero exit status
ERROR: dependency ‘xml2’ is not available for package ‘rversions’
* removing ‘/home/xwang/R/x86_64-pc-linux-gnu-library/3.1/rversions’
Warning in install.packages :
installation of package ‘rversions’ had non-zero exit status
ERROR: dependency ‘rversions’ is not available for package ‘devtools’
* removing ‘/home/xwang/R/x86_64-pc-linux-gnu-library/3.1/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpYccDpT/downloaded_packages’
görünüyor. Bunun için kolay bir düzeltme olduğunu bilen var mı? R sürüm 3.1.2 kullanıyorum.
Önce R sürümünüzü yükseltin. –
Diğer ziyaretçiler tarafından yararlı bulabileceğiniz ilgili bir soru: [Devtools paketinin yüklenmesiyle ilgili sorunlar] (http://stackoverflow.com/q/20923209/320399) – blong