如何在Windows上安装Sxslt包?[R

imr*_*iss 11 xml windows xslt install r

关于这个问题,我需要在Windows平台上安装R中的Sxslt包.我使用RStudio从源代码编译包,但遇到了错误.它返回了一条关于定义LIB_XSLT的消息.请参阅下面的日志:

> install.packages("Sxslt", repos = "http://www.omegahat.org/R", type="source")
Installing package(s) into ‘local/R/win-library/2.15’
(as ‘lib’ is unspecified)
trying URL 'www.omegahat.org/R/src/contrib/Sxslt_0.91-1.tar.gz'
Content type 'application/x-gzip' length 112790 bytes (110 Kb)
opened URL
downloaded 110 Kb

* installing *source* package 'Sxslt' ...
Please define LIB_XSLT
ERROR: configuration failed for package 'Sxslt'
* removing 'local/R/win-library/2.15/Sxslt'
Warning in install.packages :
  running command 'local/bin/i386/R CMD INSTALL -l "local/R/win-library/2.15" local/downloaded_packages/Sxslt_0.91-1.tar.gz' 
had status 1
Warning in install.packages :
  installation of package ‘Sxslt’ had non-zero exit status

The downloaded source packages are in
    ‘local\downloaded_packages’ 
Run Code Online (Sandbox Code Playgroud)

谢谢.

Art*_*tem 1

SxsltOmega Project提供的软件包现已过时。最好使用xsltCRAN 提供的软件包。

install.packages("xslt")
Run Code Online (Sandbox Code Playgroud)