作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
关于这个问题,我需要在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/
我是一名优秀的程序员,十分优秀!