gpt4 book ai didi

xml - 如何在 Windows 上安装 Sxslt 包? R

转载 作者:可可西里 更新时间:2023-11-01 12:40:28 28 4
gpt4 key购买 nike

关于这个问题,我需要在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’

谢谢。

最佳答案

Sxslt 包由 Omega Project 提供现在已经过时了。最好使用 CRAN 提供的 xslt 包。

install.packages("xslt")

关于xml - 如何在 Windows 上安装 Sxslt 包? R,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17451195/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com