繁体   English   中英

在R中安装texreg软件包

[英]instaling texreg package in R

我尝试在R中安装texreg软件包,并收到以下错误:

> install.packages("texreg", "~/R/x86_64-unknown-linux-gnu-library/2.13/")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://cran.wustl.edu/src/contrib/texreg_1.06.tar.gz'
Content type 'application/x-gzip' length 204278 bytes (199 Kb)
opened URL
==================================================
downloaded 199 Kb
installing *source* package ‘texreg’ ...
** R
** inst
** preparing package for lazy loading
Error in is(signature, "list") : could not find function "className"
Error : unable to load R code in package 'texreg'
ERROR: lazy loading failed for package ‘texreg’

我的R安装是否有问题? 我正在运行2.13,很遗憾,因为我在集群上,所以无法升级。

className在R-2.14.0中引入。 我建议尝试使用texreg的早期版本

> db <- news()
> news(grepl("className",Text), db=db)
Changes in version 2.14.0:

BUG FIXES

    o   In principle, S4 classes from different packages could have the same
         name.  This has not previously worked.  Changes have now been
         installed that should allow such classes and permit methods to use
         them.  New functions className() and multipleClasses() are related
         tools for programming.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM