SAP Data Intelligence-R Client Operator-将R包添加到R代码中的问题

2020-08-18 01:43发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我们遇到了R Client Operator的问题,我们需要在R代码中添加R包。

我们正在尝试:

https://blogs.sap.com/2018/12/10/sap-data-hub-and-r-time-series-forecasting /

详细信息:

我们创建了以下管道:

我们在存储库中创建了一个dockerfile文件:

我们在配置中添加了标签: rforecast 。 我们也可以构建相同的东西。

要将r包导入R代码,我们已经在R Client Operator上创建了group,并添加了上面创建的标签。 当我们尝试导入rforecast并运行管道时,出现以下错误:

错误:

无法准备图形描述:无法选择图像:找不到带有运行时标签的组group1的匹配图像:map [opensuse:rforecast:rjsonlite:rmsgpack:rserve:]替代方法是:{com.sap.opensuse.dq map [不推荐使用:opensuse:vflow_dh_dq:2.7.19]} {com.sap.python36 map [debian:opensuse:熊猫:python36:scikit-learn:龙卷风:5.0.2]} {com.sap.sles.ml.functional- 服务地图[python27:python36:请求:2.18.4 sles:龙卷风:5.0.2]} {com.sap.opensuse.streaming地图[不建议使用:opensuse:python27:python36:sapjvm:streaming_lite:龙卷风:5.0.2]} {com.sap.sles.golang地图[python27:python36:sapgolang:1.12.1-bin sles:龙卷风:5.0.2]} {com.sap.opensuse.base地图[不建议使用:opensuse:python27:python36:龙卷风: 5.0.2]} {com.sap.opensuse.flowagent-codegen映射[不建议使用:flowagent-codegen:2.7.84 hadoop:2.9.0 opensuse:python36:spark:2.4.0龙卷风:5.0.2]} {com。 sap.opensuse.ml.python map [automated-analytics:3.2.0.9不建议使用:grpcio:1.8.6 minio:3.0.3 ml-python:numpy:1.13.1 oa uthlib:2.0.4 opencv:3.4.2 opensuse:枕头:5.0.0 pykalman:python27:python36:requests:2.18.4 requests-oauthlib:0.8.0 scipy:1.0.1 tensorflow:1.7.0 tensorflow-serving-api :1.4.0 textblob:0.12.0龙卷风:5.0.2 tweepy:3.7.0]} {com.sap.opensuse.ml.rbase map [opensuse:python36:r:3.5.0 rjsonlite:rmsgpack:rserve:sles: 龙卷风:5.0.2树:]} {com.sap.sles.dq地图[sles:vflow_dh_dq:2.7.19]} {teched.dat649.zzforecast地图[zzforecast:]} {com.sap.sles.base地图[ 默认值:python27:python36:sles:龙卷风:5.0.2]} {com.sap.opensuse.golang.zypper map [不建议使用:opensuse:python27:python36:sapgolang:1.12.1-bin龙卷风:5.0.2 zypper:] } {com.sap.opensuse.python36 map [不建议使用:opensuse:python27:python36:龙卷风:5.0.2]} {com.sap.ml.functional-services map [不建议使用:opensuse:python27:python36:要求:2.18。 4片:龙卷风:5.0.2]} {com.sap.opensuse.flowagent-operator map [不建议使用:flowagent:2.7.84 opensuse:]} {com.sap.opensuse.textanalysis map [不建议使用:opensuse:python27:python36 :龙卷风:5 .0.2 vflow_textanalysis:]} {com.sap.sles.flowagent-operator map [flowagent:2.7.84 sles:]} {com.sap.sles.sapjvm map [python27:python36:sapjvm:sles:龙卷风:5.0.2 ]} {demo.Docker_R_Forecast地图[rforecast:rjsonlite:rserve:]}} {teched.dat649.marathon地图[opensuse:python36:r:3.5.0 rjsonlite:rmsgpack:rserve:sles:龙卷风:5.0.2树:zforecast: ]} {com.sap.opensuse.node map [不建议使用:node:opensuse:python27:python36:tornado:5.0.2]} {com.sap.sles.flowagent-codegen map [flowagent-codegen:2.7.84 hadoop: 2.9.0 python36:sles:spark:2.4.0龙卷风:5.0.2]} {com.sap.sles.ml.python map [automated-analytics:3.2.0.9 grpcio:1.8.6 minio:3.0.3 ml- python:numpy:1.13.1 oauthlib:2.0.4 opencv:3.4.2枕头:5.0.0 pykalman:python27:python36:request:2.18.4 requests-oauthlib:0.8.0 scipy:1.0.1 sles:tensorflow:1.7 .0 tensorflow-serving-api:1.4.0 textblob:0.12.0龙卷风:5.0.2 tweepy:3.7.0]} {com.sap.sles.hana_replication map [hanareplication:0.0.101 python27:python36:sapjvm:sles :龙卷风:5.0.2]} {com.sap。 sles.streaming地图[python27:python36:sapjvm:sles:streaming_lite:龙卷风:5.0.2]} {com.sap.sles.textanalysis地图[python27:python36:sles:龙卷风:5.0.2 vflow_textanalysis:]} {com。 sap.dh.workflow map [dh-app-base:2.7.160 node:vflow-sub-node]} {com.sap.ml.dsp map [aiohttp:3.5.4 backoff:1.8.0已弃用:hdfs:2.5 .0 opensuse:python27:python36:请求:2.18.4龙卷风:5.0.2 uvloop:0.12.2]} {com.sap.opensuse.golang map [不建议使用:opensuse:python27:python36:sapgolang:1.12.1-bin 龙卷风:5.0.2]} {com.sap.opensuse.hana_replication map [不建议使用:hanareplication:0.0.101 opensuse:python27:sapjvm:龙卷风:5.0.2]} {com.sap.opensuse.sapjvm map [不建议使用:opensuse :python27:python36:sapjvm:龙卷风:5.0.2]} {com.sap.scenariotemplates.customdataprocessing.pandas map [pandas:python27:python36:sles:龙卷风:5.0.2]}

请告知我们如何提供适当的dockerfile或标签,以便我们能够纠正此问题。

(173.4 kB)

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我们遇到了R Client Operator的问题,我们需要在R代码中添加R包。

我们正在尝试:

https://blogs.sap.com/2018/12/10/sap-data-hub-and-r-time-series-forecasting /

详细信息:

我们创建了以下管道:

我们在存储库中创建了一个dockerfile文件:

我们在配置中添加了标签: rforecast 。 我们也可以构建相同的东西。

要将r包导入R代码,我们已经在R Client Operator上创建了group,并添加了上面创建的标签。 当我们尝试导入rforecast并运行管道时,出现以下错误:

错误:

无法准备图形描述:无法选择图像:找不到带有运行时标签的组group1的匹配图像:map [opensuse:rforecast:rjsonlite:rmsgpack:rserve:]替代方法是:{com.sap.opensuse.dq map [不推荐使用:opensuse:vflow_dh_dq:2.7.19]} {com.sap.python36 map [debian:opensuse:熊猫:python36:scikit-learn:龙卷风:5.0.2]} {com.sap.sles.ml.functional- 服务地图[python27:python36:请求:2.18.4 sles:龙卷风:5.0.2]} {com.sap.opensuse.streaming地图[不建议使用:opensuse:python27:python36:sapjvm:streaming_lite:龙卷风:5.0.2]} {com.sap.sles.golang地图[python27:python36:sapgolang:1.12.1-bin sles:龙卷风:5.0.2]} {com.sap.opensuse.base地图[不建议使用:opensuse:python27:python36:龙卷风: 5.0.2]} {com.sap.opensuse.flowagent-codegen映射[不建议使用:flowagent-codegen:2.7.84 hadoop:2.9.0 opensuse:python36:spark:2.4.0龙卷风:5.0.2]} {com。 sap.opensuse.ml.python map [automated-analytics:3.2.0.9不建议使用:grpcio:1.8.6 minio:3.0.3 ml-python:numpy:1.13.1 oa uthlib:2.0.4 opencv:3.4.2 opensuse:枕头:5.0.0 pykalman:python27:python36:requests:2.18.4 requests-oauthlib:0.8.0 scipy:1.0.1 tensorflow:1.7.0 tensorflow-serving-api :1.4.0 textblob:0.12.0龙卷风:5.0.2 tweepy:3.7.0]} {com.sap.opensuse.ml.rbase map [opensuse:python36:r:3.5.0 rjsonlite:rmsgpack:rserve:sles: 龙卷风:5.0.2树:]} {com.sap.sles.dq地图[sles:vflow_dh_dq:2.7.19]} {teched.dat649.zzforecast地图[zzforecast:]} {com.sap.sles.base地图[ 默认值:python27:python36:sles:龙卷风:5.0.2]} {com.sap.opensuse.golang.zypper map [不建议使用:opensuse:python27:python36:sapgolang:1.12.1-bin龙卷风:5.0.2 zypper:] } {com.sap.opensuse.python36 map [不建议使用:opensuse:python27:python36:龙卷风:5.0.2]} {com.sap.ml.functional-services map [不建议使用:opensuse:python27:python36:要求:2.18。 4片:龙卷风:5.0.2]} {com.sap.opensuse.flowagent-operator map [不建议使用:flowagent:2.7.84 opensuse:]} {com.sap.opensuse.textanalysis map [不建议使用:opensuse:python27:python36 :龙卷风:5 .0.2 vflow_textanalysis:]} {com.sap.sles.flowagent-operator map [flowagent:2.7.84 sles:]} {com.sap.sles.sapjvm map [python27:python36:sapjvm:sles:龙卷风:5.0.2 ]} {demo.Docker_R_Forecast地图[rforecast:rjsonlite:rserve:]}} {teched.dat649.marathon地图[opensuse:python36:r:3.5.0 rjsonlite:rmsgpack:rserve:sles:龙卷风:5.0.2树:zforecast: ]} {com.sap.opensuse.node map [不建议使用:node:opensuse:python27:python36:tornado:5.0.2]} {com.sap.sles.flowagent-codegen map [flowagent-codegen:2.7.84 hadoop: 2.9.0 python36:sles:spark:2.4.0龙卷风:5.0.2]} {com.sap.sles.ml.python map [automated-analytics:3.2.0.9 grpcio:1.8.6 minio:3.0.3 ml- python:numpy:1.13.1 oauthlib:2.0.4 opencv:3.4.2枕头:5.0.0 pykalman:python27:python36:request:2.18.4 requests-oauthlib:0.8.0 scipy:1.0.1 sles:tensorflow:1.7 .0 tensorflow-serving-api:1.4.0 textblob:0.12.0龙卷风:5.0.2 tweepy:3.7.0]} {com.sap.sles.hana_replication map [hanareplication:0.0.101 python27:python36:sapjvm:sles :龙卷风:5.0.2]} {com.sap。 sles.streaming地图[python27:python36:sapjvm:sles:streaming_lite:龙卷风:5.0.2]} {com.sap.sles.textanalysis地图[python27:python36:sles:龙卷风:5.0.2 vflow_textanalysis:]} {com。 sap.dh.workflow map [dh-app-base:2.7.160 node:vflow-sub-node]} {com.sap.ml.dsp map [aiohttp:3.5.4 backoff:1.8.0已弃用:hdfs:2.5 .0 opensuse:python27:python36:请求:2.18.4龙卷风:5.0.2 uvloop:0.12.2]} {com.sap.opensuse.golang map [不建议使用:opensuse:python27:python36:sapgolang:1.12.1-bin 龙卷风:5.0.2]} {com.sap.opensuse.hana_replication map [不建议使用:hanareplication:0.0.101 opensuse:python27:sapjvm:龙卷风:5.0.2]} {com.sap.opensuse.sapjvm map [不建议使用:opensuse :python27:python36:sapjvm:龙卷风:5.0.2]} {com.sap.scenariotemplates.customdataprocessing.pandas map [pandas:python27:python36:sles:龙卷风:5.0.2]}

请告知我们如何提供适当的dockerfile或标签,以便我们能够纠正此问题。

(173.4 kB)
付费偷看设置
发送
1条回答
追夢秋陽
1楼-- · 2020-08-18 02:10

Hello Do-kon,当前版本的Data Hub/Data Intelligence也需要rmsgpack库。

这是我目前在此情况下使用的Docker文件

 FROM  debian的:9.4


 运行apt获取更新
 && apt-get install -y --no-install-recommends \
 语言环境\
 && rm -rf/var/lib/apt/lists/*


 ##安装R
 ##设置默认的CRAN回购
 运行apt获取更新
 && apt-get install -y --no-install-recommends \
 r基
 r-base-dev \
 r推荐
 libnlopt-dev \
 卷曲
         && echo'options(repos = c(CRAN =" https://cran.rstudio.com/"),download.file.method =" libcurl")'>>/etc/R/Rprofile.site \
 && rm -rf/tmp/downloaded_pa​​ckages//tmp/*.rds \
 && rm -rf/var/lib/apt/lists/*


 ##安装其他R软件包
 运行apt更新
 运行apt-get install libcurl4-openssl-dev


 RUN echo'options(repos =" https://cran.rstudio.com/",download.file.method =" libcurl")'>>/etc/R/Rprofile.site \
     && Rscript -e" install.packages(c('Rserve'),dependencies = TRUE)" \
     && Rscript -e" install.packages(c('devtools'),dependencies = TRUE)" \
     && Rscript -e" install.packages(c('jsonlite'),dependencies = TRUE)" \
     && Rscript -e" install.packages(c('MLmetrics'),dependencies = TRUE)" \
     && Rscript -e" install.packages(c('colorspace'),dependencies = TRUE)" \
 && Rscript -e" install.packages(c('timeDate'),dependencies = TRUE)" \
 && Rscript -e" install.packages(c('RcppArmadillo'),dependencies = TRUE)" \
     && Rscript -e" install.packages('https://cran.r-project.org/src/contrib/Archive/quadprog/quadprog_1.5-5.tar.gz',依赖关系= TRUE,存储库= NULL,方法 ='libcurl')" \
 && Rscript -e" install.packages(c('tseries'),dependencies = TRUE)" \
 && Rscript -e" install.packages(c('fracdiff'),dependencies = TRUE)" \
     && Rscript -e" install.packages(c('forecast'),dependencies = TRUE)" \
 #&& Rscript -e" install.packages('https://cran.r-project.org/src/contrib/Archive/forecast/forecast_7.3.tar.gz',依赖关系= TRUE,repos = NULL,方法=  'libcurl')" \
     && Rscript -e" install.packages(c('lubridate'),dependencies = TRUE)" \
     && Rscript -e" install.packages('https://cran.r-project.org/src/contrib/Archive/msgpack/msgpack_1.0.tar.gz',repos = NULL,method ='libcurl')"
 

,您还需要添加opensuse和rmsgpack标记。 如果我没记错的话,屏幕截图中的r/3.3.3标签是可选的。

许多问候 ,安德烈亚斯(Andreas)

一周热门 更多>