RStudio-我正在运行哪个版本/发行版

时间:2018-07-24 16:25:21

标签: r rstudio

是否有命令(例如“ RStudio.Version()”)或方法来确定其是开源/社区还是商业的?

我无意问这样一个表面上明显的问题,但是我在网上进行了英勇的搜索,这正令人感到沮丧。

如果能揭开神秘面纱,请先感谢。

2 个答案:

答案 0 :(得分:0)

您也许可以在rstudioapi::getVersion和/或rstudioapi::versionInfo中找到所需的内容。

答案 1 :(得分:0)

对于RStudio v1.2(尚未发布),RStudio的专业版本将在edition中设置RStudio.Version()字段,例如

> RStudio.Version()
$citation

To cite RStudio in publications use:

  RStudio Team (2018). RStudio: Integrated Development for R. RStudio, Inc., Boston, MA URL
  http://www.rstudio.com/.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {RStudio: Integrated Development Environment for R},
    author = {{RStudio Team}},
    organization = {RStudio, Inc.},
    address = {Boston, MA},
    year = {2018},
    url = {http://www.rstudio.com/},
  }


$mode
[1] "desktop"

$edition
[1] "Professional"

$version
[1] '1.2.853.2'