0

最近 Twitter 将其字符限制从 140 更改为 280。我正在尝试安装 rtweet 软件包,因为 TwitteR 仅显示整个推文的前 140 个字符。

运行命令:

install.packages("rtweet")

导致以下控制台输出:

There is a binary version available but the source version is later:
   binary source needs_compilation
rtweet  0.4.0  0.6.0             FALSE
installing the source package ‘rtweet’
trying URL 'https://cran.rstudio.com/src/contrib/rtweet_0.6.0.tar.gz'
Content type 'application/x-gzip' length 2819240 bytes (2.7 MB)
downloaded 2.7 MB
Errore: 18:7: unexpected input
18: Setwd(“
       ^
Esecuzione interrotta
Warning in install.packages :
 running command '"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l 
"C:\Program
 Files\R\R-3.2.2\library" 
C:\Users\SALVAT~1\AppData\Local\Temp\RtmpA5LW7O/downloaded_packages/rtweet_0.6.0
.tar.gz' had status 1
Warning in install.packages :
 installation of package ‘rtweet’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Salvatore\AppData\Local\Temp\RtmpA5LW7O\downloaded_packages’

我怎么解决这个问题?

4

0 回答 0