最近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’
我该如何解决这个问题?