SAP Analytics Cloud 支持的 R 包

 

SAP Analytics Cloud 中的 R 可视化功能支持你创建交互式可视化对象,从而进行高级统计性和分析性分析。借助该功能,你可以:

  • 在故事中插入 R 可视化对象
  • 使用过滤器等控件与可视化对象进行交互
  • 编辑 R 脚本并预览可视化对象
  • 与其他用户共享包含 R 可视化对象的故事

SAP Analytics Cloud 支持的 R 包

要在 SAP Analytics Cloud 中使用 R 功能,系统必须配置为连接到 R 运行时环境。根据你所处的地区,可使用的选项包括:

  • 你设置的 R 服务器:使用此选项,你将获得在云端设备上运行并配置到 SAP Analytics Cloud的 R 引擎。此选项侧重于用 R 引擎进行 R 执行。这种情况下,你负责配置 R 引擎(即安装你想要的包)。
  • SAP 提供的 R 服务器运行时环境:此选项属于 SAP Cloud Platform 的一项服务,该服务为 SAP Analytics Cloud 提供现成的 R 服务器运行时,不需要你做任何配置。此环境包含一系列预装包。在 EU1、EUDP、AP1、US1 和 US2 中创建和配置的租户可使用或访问 SAP Analytics Cloud 部署的 R 服务器运行时环境。

下图显示了你可以在 SAP Analytics Cloud 中的何处切换两个 R 服务器选项。

如果未配置 R 服务器连接,你仍可以在 SAP Analytics Cloud 部署的 R 服务器上运行脚本(前提是在你所处的地区可用)。

在未来的发行版本中,SAP 提供的 R 服务器和 R 包将在每个季度更新为最新的公共版本。因此,建议你确保所用的 R 脚本始终以可用的最新版本运行。

出于安全考虑,位于 SAP Cloud Platform 中的 R 服务器运行时环境无法访问外部网络,因此不能使用 R 脚本访问外部资源(即安装软件包或连接到数据库)。

由 SAP 提供的 R 服务器运行时环境服务目前运行 R 版本 3.3.4 (Rserve 1.7.3),并包含以下预装包:

版本 链接
abc 2.1 https://cran.r-project.org/package=abc
acepack 1.4.1 https://cran.r-project.org/package=acepack
actuar 2.1-1 https://cran.r-project.org/package=actuar
adabag 4.1 https://cran.r-project.org/package=adabag
ape 4.1 https://cran.r-project.org/package=ape
aplpack 1.3.0 https://cran.r-project.org/package=aplpack
approximator 1.2-6 https://cran.r-project.org/package=approximator
arm 1.9.3 https://cran.r-project.org/package=arm
arules 1.5-3 https://cran.r-project.org/package=arules
assertthat 0.2.0 https://cran.r-project.org/package=assertthat
bclust 1.5 https://cran.r-project.org/package=bclust
bit 1.1-12 https://cran.r-project.org/package=bit
Caret 6.0.77 https://cran.r-project.org/package=caret
cclust 0.6-21 https://cran.r-project.org/package=cclust
Chorddiag 0.1.2 https://github.com/mattflor/chorddiag
choroplethr 3.6.1 https://cran.r-project.org/package=choroplethr
circlize 0.4.1 https://cran.r-project.org/package=circlize
cluster 2.0.3 https://cran.r-project.org/package=cluster
coda 0.19-1 https://cran.r-project.org/package=coda
coin 1.2-1 https://cran.r-project.org/package=coin
colorspace 1.3-2 https://cran.r-project.org/package=colorspace
Correlplot 1.0-2 https://cran.r-project.org/package=Correlplot
Corrgram 1.12 https://cran.r-project.org/package=corrgram
Corrplot 0.77 https://cran.r-project.org/package=corrplot
corpcor 1.6.9 https://cran.r-project.org/package=corpcor
Data.table 1.10.4 https://cran.r-project.org/package=data.table
Dichromat 2.0.0 https://cran.r-project.org/package=dichromat
diffobj 0.1.6 https://cran.r-project.org/package=diffobj
dlm 1.1-4 https://cran.r-project.org/package=dlm
dplyr 0.7.3 https://cran.r-project.org/package=plyr
expm 0.999-2 https://cran.r-project.org/package=expm
forecast 8.1 https://cran.r-project.org/package=forecast
gamlr 1.13-3 https://cran.r-project.org/package=gamlr
ggplot2 2.2.1 https://cran.r-project.org/package=ggplot2
ggvis 0.4.3 https://cran.r-project.org/package=ggvis
gmodels 2.16.2 https://cran.r-project.org/package=gmodels
googleVis 0.6.2 https://cran.r-project.org/package=googleVis
gtable 0.2.0 https://cran.r-project.org/package=gtable
Highcharter 0.5.0 https://cran.r-project.org/package=highcharter
Iterators 1.0.8 https://cran.r-project.org/package=iterators
janitor 0.3.0 https://cran.r-project.org/package=janitor
jsonlite 1.5 https://cran.r-project.org/package= jsonlite
labeling 0.3 https://cran.r-project.org/package=labeling
lattice 0.20-35 https://cran.r-project.org/package=lattice
lazyeval 0.2.0 https://cran.r-project.org/package=lazyeval
magrittr 1.5 https://cran.r-project.org/package=magrittr
markdown 0.8 https://cran.r-project.org/package=markdown
MASS 7.3-47 https://cran.r-project.org/package=MASS
metricsgraphics 0.9.0 https://cran.r-project.org/package=metricsgraphics
mgcv 1.8-22 https://cran.r-project.org/package=mgcv
mlbench 2.1-1 https://cran.r-project.org/package=mlbench
monmlp 1.1.4 https://cran.r-project.org/package=monmlp
Munsell 0.4.3 https://cran.r-project.org/package=munsell
nlme 3.1-131 https://cran.r-project.org/package=nlme
nnet 7.3-12 https://cran.r-project.org/package=nnet
plotly 4.7.1 https://cran.r-project.org/package=plotly
plyr 1.8.4 https://cran.r-project.org/package=plyr
Png 0.1-7 https://cran.r-project.org/package=png
polynom 1.3-9 https://cran.r-project.org/package=polynom
psych 1.7.8 https://cran.r-project.org/package=psych
randomforest 4.6-12 https://cran.r-project.org/package=randomForest
rCharts 0.4.5 https://github.com/ramnathv/rCharts
rcolorbrewer 1.1-2 https://cran.r-project.org/package=RColorBrewer
reshape 0.8.7 https://cran.r-project.org/package=reshape
rgl 0.98.1 https://cran.r-project.org/package=rgl
rpart 4.1.11 https://cran.r-project.org/package=rpart
r-digest 0.6.12 https://cran.r-project.org/package=digest
r-evaluate 0.10.1 https://cran.r-project.org/package=evaluate
r-foreach 1.4.3 https://cran.r-project.org/package=foreach
Scales 0.5.0 https://cran.r-project.org/package=scales
spatial 7.3-11 https://cran.r-project.org/package=spatial
stringi 1.1.5 https://cran.r-project.org/package=stringi
stringr 1.2.0 https://cran.r-project.org/package=stringr
sunburstR 1.0.2 https://cran.r-project.org/package=sunburstR
tibble 1.3.4 https://cran.r-project.org/package=tibble
tidyr 0.7.1 https://cran.r-project.org/package=tidyr
tidytext 0.1.3 https://cran.r-project.org/package=tidytext
Tm 0.7.1 https://cran.r-project.org/package=Tm
VennDiagram 1.6.17 https://cran.r-project.org/package=VennDiagram
Wordcloud 2.5 https://cran.r-project.org/package=wordcloud