简体   繁体   English

Windows的SAP Hana Studio R集成

[英]SAP Hana Studio R Integration for Windows

How do I integrate SAP Hana Studio with Rserve in Windows? 如何在Windows中将SAP Hana Studio与Rserve集成? I want to run R code on SQL Script with other SQL statements. 我想在SQL脚本上与其他SQL语句一起运行R代码。 I do not have access to Linux on my job and I am currently using Windows. 我无法在工作中使用Linux,并且当前正在使用Windows。

You have this backwards. 你有这个倒退。

There are two different integration scenarios for SAP HANA and R: SAP HANA和R有两种不同的集成方案:

  1. HANA -> R (via RServe) HANA-> R(通过RServe)
  2. R -> HANA (via ODBC or JDBC) R-> HANA(通过ODBC或JDBC)

None of these scenarios involves HANA Studio as a part of the integration. 这些方案都没有将HANA Studio作为集成的一部分。 The first type of integration really is a setup task for the HANA administrator. 集成的第一种类型实际上是HANA管理员的设置任务。 Once the connection between the RServe and the HANA server is set up correctly, developers can build calculation models and procedure based on R code in the HANA development environment. 一旦正确设置了RServe和HANA服务器之间的连接,开发人员便可以在HANA开发环境中基于R代码构建计算模型和过程。

For the second type of integration R simply is a database client to SAP HANA and gets data via RODBC or RJDBC. 对于第二种集成,R只是SAP HANA的数据库客户端,并通过RODBC或RJDBC获取数据。 No need to have access to the Linux (HANA) server for this. 无需为此访问Linux(HANA)服务器。 All you need is the client software installed on your local computer to connect to HANA. 您只需要在本地计算机上安装客户端软件即可连接到HANA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM