异步网络IO使用R:任何现有软件包 [英] Asynchronous network IO using r: Any existing packages

查看:145
本文介绍了异步网络IO使用R:任何现有软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有促进异步网络IO的R-项目包?
我觉得这里沿着Ruby的EventMachine的或Python的扭曲的线条。
如果有几个这样的包/库,这是最好的来讲:
  - 性能
  - 功能

Are there any R-project packages that facilitate asynchronous network IO? I'm think here along the lines of Ruby's Eventmachine or Python's Twisted. If there are several such packages/libraries which is the best in terms of: - performance - features

推荐答案

首先,R是单线程的,所以通常人们尝试用并行计算方法(参见,例如,雪包)。我不认为有什么很喜欢EventMachine的或扭曲。

First of all, R is single-threaded, so typically people try to use parallel computing approaches (see, for instance, the snow package). I don't think there's anything quite like Eventmachine or Twisted.

查看以下内容:


  • 论文中有R并行计算技术发展水平指的是通常的方式在R( HTTP并行计算://www.jstatsoft.org/v31/i01/paper )。有在HighPerformanceComputing鉴于许多有用的包:<一href=\"http://cran.r-project.org/web/views/HighPerformanceComputing.html\">http://cran.r-project.org/web/views/HighPerformanceComputing.html.

  • 查看svSocket:<一href=\"http://cran.r-project.org/web/packages/svSocket/\">http://cran.r-project.org/web/packages/svSocket/

  • 您可以尝试使用带有R NetWorkSpaces: http://cran.r-project.org/web/包/ NWS /

  • 有都是R服务器的几个例子。 RServe: http://www.rforge.net/Rserve/

  • 的iBrokers包的是,我知道它使用asynchonous请求唯一的一个。看一看源$ C ​​$ C为包(你可以下载它关闭R-伪造)和相关的小插曲:<一href=\"http://cran.r-project.org/web/packages/IBrokers/vignettes/RealTime.pdf\">http://cran.r-project.org/web/packages/IBrokers/vignettes/RealTime.pdf

  • 的biocep项目还包括许多相关的功能:<一href=\"http://biocep-distrib.r-forge.r-project.org/\">http://biocep-distrib.r-forge.r-project.org/

  • The "State of the Art in Parallel Computing with R" paper describes most of the approaches to parallel computing in R (http://www.jstatsoft.org/v31/i01/paper). There are many useful packages in the HighPerformanceComputing view: http://cran.r-project.org/web/views/HighPerformanceComputing.html.
  • Check out svSocket: http://cran.r-project.org/web/packages/svSocket/
  • You can try using NetWorkSpaces with R: http://cran.r-project.org/web/packages/nws/.
  • There are several examples of R servers. RServe: http://www.rforge.net/Rserve/
  • The iBrokers packages is one of the only ones that I know which uses asynchonous requests. Have a look at the source code for that package (you can download it off R-Forge) and the related vignette: http://cran.r-project.org/web/packages/IBrokers/vignettes/RealTime.pdf
  • The biocep project also includes many relevant features: http://biocep-distrib.r-forge.r-project.org/

这篇关于异步网络IO使用R:任何现有软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆