设为首页 收藏本站
查看: 536|回复: 0

[经验分享] Overview and Installation Guide of SQL Server R Services

[复制链接]
累计签到:91 天
连续签到:1 天
发表于 2016-8-1 11:36:31 | 显示全部楼层 |阅读模式

SQL Server R Services offers a platform in developing as well as organizing applications, which uncovers new insights. It supports open source R language along with the complete set of SQL Server tools and technologies that provides security, reliability, performance, and manageability. Users can organize R solutions by utilizing familiar and convenient tools. Users can call the R runtime and regain predictions as well as visual by utilizing Transact-SQL. They can get ScaleR libraries for the improvement of scale and performance of R solutions. It offers both Server and client components in SQL Server 2016 as mentioned below:

  • R Services
  • Microsoft R Client
  • Microsoft R

In the following section, a guide through set-up and configuration of server components will be discussed.

Approach to Install SQL Server R Services

Several steps are involved in installing SQL Server R Services as mentioned below. It will make easy for users to have systematic guide.

  • Advanced Analytics Extension
    The components of database engine are known as Advanced Analytics Extensions. Through SQL Server set-up, user can choose the Advance Analytics Extension option from the instance features. There is one of the prerequisites to install .NET 3.5 SP1 framework. Otherwise, user will get a warning message that after installation of extensions, user needs to perform some post installation steps. This service will run under MSSQLLaunchpad service and it will have its own service account. This service is not registered in SQL Server Configuration Manager. At the time of installation of SQL Server, user should be sure to configure mixed mode authentication, as there are some features of R services that are involved in SQL Server authentication.
  • R Packages and Providers
    In this, installation of software of Revolution Analytics that is offered by Microsoft is required. This application installs an enhanced distribution of R that includes the connectivity to interact with Revolution R enterprise software as mentioned.
    • Launch Revolution R Open 3.2.2
      User can download the software and run as an Administrator on the system. Its installation is direct, as no extra explanations are required.
    • Run Revolution Enterprise 7.5
      User can install the tool on their system. It is a platform for scaling R codes, which includes various enhanced R packages and functions. While downloading, the user can select between the server and client software. There should be fully developed environment for R on the server and the node software should be sufficient. After downloading the software, user can run it on their system as an administrator and check for the prerequisites. If all the prerequisites are installed on the system then, Revolution R enterprise set-up will automatically launch. At the time of set-up, user can optionally install R packages, i.e.
      • rpart: It is for the recursive partition for regression, classification, and survival tress.
      • lattice: It is used for data visualization that are inspired on Trellis graphics.
      After selecting the installation of the folder, the wizard is completed. Though, there will simple IDE installed on the server, known as Connector RGUI 7.5.0 64-bit. By utilizing this, user can easily test, write, or debug the R scripts.
  • Final Installation for Server Configuration
    The final step is to execute some scripts to complete the R services set-up. Firstly, user needs to enable the external scripts in SQL Server, which makes easy to run R scripts. It can be done by the following scripts to set the correct option for server.

    Exec sp_configure ‘external scripts enable’, 1;
    Reconfigure;
    After that, user can run the script on elevated command prompt and it affects various things as mentioned:
    • Ends the SQL Server Services
    • To run R scripts in SQL bin path, it copies the required code
    • It creates a bunch of Windows user’s account that is of low privilege for running an individual session of R runtime. It creates 20 accounts by default
    • In the master database, it creates a database role
    • Finally, it restarts the SQL Server Services
Conclusion

In the above discussion, a proper guidance is given through the server-side set-up of SQL Server R Services. According to experts, if the users follow the guided steps properly, then they can execute R scripts on the server easily.



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-251725-1-1.html 上篇帖子: SQL Transaction Log is Too Big or Growing Unexpectedly 下篇帖子: 使用TRIGGER處理跨資料表的交易
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表