Error in publishing to RPubs from Rstudio

[亡魂溺海] 提交于 2019-12-11 09:43:57

问题


I installed the latest version of RStudio (RStudio 1.1.423 - Windows Vista / 7/8/10). I'm trying to publish to RPubs, but in Global Options does not appear the option for Rpubs. When I request Publish Document, the following error appears: Error occurred while executing method.

Rprofile: I entered the command: options (rpubs.upload.method = "internal") at line 25 of Rprofile, but it did not resolve.


回答1:


The solution is provided by a careful rereading of http://rstudio-pubs-static.s3.amazonaws.com/25030_8e9c9ffc3b3c423d9381d81543423502.html

"Put in options(rpubs.upload.method = “internal”) and no other text at all". Meaning that this line of code is the only code present in the .Rprofile file.

Previously I had been adding the line to a copy of the rest of the Rprofile text. The unnecessary code was the culprit.



来源:https://stackoverflow.com/questions/48990770/error-in-publishing-to-rpubs-from-rstudio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!