【发布时间】:2016-04-24 04:39:06
【问题描述】:
当我尝试加载 XLConnect 时,我在 RStudio 中遇到了问题。当我从 RStudio 之外的同一个 R 控制台尝试时,它可以工作。
即在 RGui(64 位)中
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
> library(XLConnect)
Loading required package: XLConnectJars
XLConnect 0.2-11 by Mirai Solutions GmbH [aut],
Martin Studer [cre],
The Apache Software Foundation [ctb, cph] (Apache POI, Apache Commons
Codec),
Stephen Colebourne [ctb, cph] (Joda-Time Java library)
http://www.mirai-solutions.com ,
http://miraisolutions.wordpress.com
但是当我在 Rstudio 中运行时,相同的 R 控制台会挂起。我已确认 rJava 已加载,因此我认为我的 Java 环境正确
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
> library(XLConnect)
Loading required package: XLConnectJars
感谢您对问题所在的任何想法 - 它在我的笔记本电脑上运行良好,所以不确定有什么不同
问候 戴夫
【问题讨论】: