无法加载tidyverse库

时间:2017-05-28 23:28:21

标签: r rstudio tidyverse

刚刚将R和RStudio升级为

myurl = "https://query1.finance.yahoo.com/v7/finance/download/AAPL?period1=1493218887&period2=1495810887&interval=1d&events=history&crumb=Uaszml8dA0M"

'this is the new web address

rstudio版本是

> version
               _                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          4.0                         
year           2017                        
month          04                          
day            21                          
svn rev        72570                       
language       R                           
version.string R version 3.4.0 (2017-04-21)
nickname       You Stupid Darkness

然后我安装了tidyverse包

Version 1.0.143 – © 2009-2016 RStudio, Inc.

结果

install.packages("tidyverse")

一切都好。

现在,在尝试加载tidyverse库时:

trying URL 'https://dirichlet.mat.puc.cl/bin/windows/contrib/3.4/tidyverse_1.1.1.zip'
Content type 'application/zip' length 42211 bytes (41 KB)
downloaded 41 KB

package ‘tidyverse’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\...\AppData\Local\Temp\Rtmp6vaNT1\downloaded_packages

失败。

我可以单独加载所有包,但由于某些原因不是tidyverse包。

1 个答案:

答案 0 :(得分:0)

解决方案是安装依赖项:

install.packages("cellranger")

(由@neilfws在评论中回答)