R Tutorial - New Way to Connect to SteemSQL via RStudio - R 教程之通过 RStudio 来快速连接SteemSQL


Image Credit: Pixabay.com

Last month, in my R tutorial, I showed you how to connect to SteemSQL in R script. The latest R Studio has added a connection tab, which is a Database wizard that you can easily follow to connect to @arcange 's STEEMSQL

And, if we click the 'New Connection', choose ODBC

Most likely, you will have to install the package 'ODBC' on the fly.

You can either choose 'SQL Server' or 'SQL Server Native Client 11.0' from the 'Data Sources'

And enter the Parameters textbox as the following values:

Server=sql.steemsql.com;Database=DBSteem;Uid=steemit;Pwd=steemit

You can test the connection before you proceed further.

If you connect from 'R Console', the DBSteem object from SteemSQL will immediately become available.


上个月,我在我的R教程里介绍了如何通过R脚本来连接STEEMSQL。最新的R STUDIO添加了一个 Connection (SteemSQL) ,可以用于快速连接各种数据库,比如 @arcange 's STEEMSQL

选择 'New Connection', - ODBC

第一次需要安装 ODBC这个包

我们可以选择数据源 'SQL Server' 或者 'SQL Server Native Client 11.0'

然后在参数列表里添加:

Server=sql.steemsql.com;Database=DBSteem;Uid=steemit;Pwd=steemit

最好测试一下链接。

如果我们选择 'R Console', 这样数据库对象就能立马在窗口中浏览。


@justyy 是有名的晒媳妇博主,也是西半球最装X装土豪 (https://justyy.com) 的博主。@justyy 定居英国,一妻两娃,在STEEMIT上开办了历史上中文第一家银行,史称 YY央行,每日赔钱吆喝。
@justyy@tumutanzi 大哥 的介绍下加入 STEEMIT,写些帖子挣些小钱养家糊口。
@justyy 凡事喜欢折腾,现在在一家英国软件公司里当码农,好听一点叫作算法攻城狮。 @justyy 喜欢结交天下好友,一起YY。


@justyy 也是CN 区的点赞机器人,对优质内容点赞,只要代理给 @justyy 每天收利息(年化率10%)并能获得一次至少2倍(VP 200%+)的点赞,大鱼 @htliao 都加入了这个计划(530 SP)表示支持。

  1. cn区最低保障系统 上线了!
  2. cn区低保计划(鼓励新人)真的适合你么?
  3. 今天(2017-11-10) 银行股东名单
  4. CN 中文区每日【财富总值】【活跃统计数据】
  5. CN 中文区每日【点赞收益年化率】【YY银行利息统计】

AD 一波,听说最近 STEEM没有SBD值钱,那赶紧加入 CN区低保银行,成为股东,好处多多,每天收获点赞并且能获得10%的利息(发放SBD),今日股东列表

H2
H3
H4
3 columns
2 columns
1 column
13 Comments