首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在R中安装texreg包

在R中安装texreg包
EN

Stack Overflow用户
提问于 2012-10-18 23:53:56
回答 1查看 807关注 0票数 0

我尝试在R中安装texreg包,但得到以下错误:

代码语言:javascript
复制
> 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,不幸的是无法升级,因为我在一个集群上。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-19 00:05:34

R-2.14.0中引入了className。我建议你试一试previous versions of texreg

代码语言:javascript
复制
> 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.
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12958689

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档