1

尝试安装重新连接并使用 R-shiny 对其进行身份验证。但是,似乎无法找到函数文件的大小。

这是安装:

> install.packages("rsconnect", type = "source", dependencies = TRUE, repos = "http://cran.rstudio.com/")
Installing package into ‘/Users/~/Library/R/3.1/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/rsconnect_0.8.8.tar.gz'
Content type 'application/x-gzip' length 245177 bytes (239 Kb)
opened URL
==================================================
downloaded 239 Kb

* installing *source* package ‘rsconnect’ ...
** package ‘rsconnect’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (rsconnect)

下载的源码包在

/private/VAb/downloaded_packages

这是我尝试注册帐户时出现的错误。

rsconnect::setAccountInfo(name='me',
+                           token='token',
+                           secret='pass')
Error in inferCertificateContents(system.file("cert/shinyapps.io.pem",  : 
  could not find function "file.size"
4

0 回答 0