基于网络的语言翻译口译员

时间:2023-01-11 20:46:16

I am looking for a web based interpreter for the language R. To be more precise , i am looking for a IDE like http://codepad.org/ where i can provide the code and the server should execute and provide me with the output.

我正在为语言R寻找一个基于Web的解释器。更确切地说,我正在寻找像http://codepad.org/这样的IDE,我可以提供代码,服务器应该执行并为我提供输出。

I went through applications like Rapache but then they don't fit my requirement as they are not made to accept code from client , execute it and provide the result.

我经历了像Rapache这样的应用程序但是它们不符合我的要求,因为它们不能接受来自客户端的代码,执行它并提供结果。

In short , i could find web application which takes input from the user , execute a specific R script and then place the output in a neatly formated way but not a web application which accepts R code ,execute it and then place it in a neat way.

简而言之,我可以找到Web应用程序,它从用户那里获取输入,执行特定的R脚本,然后以整齐的方式放置输出,但不是接受R代码的Web应用程序,执行它然后以一个整洁的方式放置它。

3 个解决方案

#1


17  

A few possibilities come to mind:

我想到了一些可能性:

  • ideone provides a lot of different languages, of which, R is one of them. When you run a script, you are provided with a link that you can embed in a webpage (but which doesn't show the output, unfortunately). If you create an account, you can also store your previously run scripts.
    • Pro: You can easily insert /plain/ into your script and be able to get a URL that can be sourced directly in R. For example, if the URL for your script online is "http://ideone.com/PIkeD", then you can use source("http://ideone.com/plain/PIkeD") to load your script directly from the ideone servers.
    • Pro:您可以轻松地插入/ plain /到您的脚本中,并且能够获得可以直接在R中获取的URL。例如,如果您在线脚本的URL是“http://ideone.com/PIkeD”,然后你可以使用source(“http://ideone.com/plain/PIkeD”)直接从ideone服务器加载你的脚本。

    • Cons: Stuck at version 2.11 Might not always be the most current version of R. Presently at 3.2.2. Can't install other packages. Output doesn't show in the embed script provided.
    • 缺点:坚持版本2.11可能并不总是最新版本的R.目前在3.2.2。无法安装其他软件包。输出未在提供的嵌入脚本中显示。

  • ideone提供了许多不同的语言,其中R就是其中之一。当您运行脚本时,您将获得一个可以嵌入网页的链接(但不幸的是,它没有显示输出)。如果您创建帐户,还可以存储以前运行的脚本。 Pro:您可以轻松地插入/ plain /到您的脚本中,并且能够获得可以直接在R中获取的URL。例如,如果您在线脚本的URL是“http://ideone.com/PIkeD”,然后你可以使用source(“http://ideone.com/plain/PIkeD”)直接从ideone服务器加载你的脚本。缺点:坚持版本2.11可能并不总是最新版本的R.目前在3.2.2。无法安装其他软件包。输出未在提供的嵌入脚本中显示。

  • Cloudstat console runs a more recent version of R (2.15.1) with quite a few commonly used package. It used to have a really interesting blog/notebook interface that integrated code and the output, but that doesn't seem to be available at the moment.
    • Pro: Useful for running something fairly straightforward in a pinch.
    • Pro:用于在紧要关头运行相当简单的东西。

    • Cons: Can't install other packages. Output is not formatted in code blocks, so is not easily readable. At the moment, can't save or share the code you've run.
    • 缺点:无法安装其他软件包。输出未在代码块中格式化,因此不易读取。目前,无法保存或共享您运行的代码。

  • Cloudstat控制台运行更新版本的R(2.15.1),其中包含一些常用的包。它曾经有一个非常有趣的博客/笔记本界面,集成了代码和输出,但目前似乎没有。 Pro:用于在紧要关头运行相当简单的东西。缺点:无法安装其他软件包。输出未在代码块中格式化,因此不易读取。目前,无法保存或共享您运行的代码。

  • Crunch offers a full RStudio setup, runs the most recent version of R, and allows you to install the packages you need. This may be more convenient than having to install your own RStudio server. You do have to request an account though.
    • Pros: Pretty much all you would expect from R/RStudio. Allows you to use Sweave and R markdown to automatically create documents too. These documents can be publicly hosted too. Here's an example where I've placed a page in a public folder called "gallery": http://crunch.kmi.open.ac.uk/people/~mrdwab/gallery/howzat.html
    • 优点:几乎所有你对R / RStudio的期望。允许您使用Sweave和R markdown自动创建文档。这些文件也可以公开托管。这是一个例子,我在一个名为“gallery”的公共文件夹中放置了一个页面:http://crunch.kmi.open.ac.uk/people/~mrdwab/gallery/howzat.html

    • Cons: Sometimes the loading time is a bit slow, but as I am running RStudio desktop, I don't know how Crunch compares to running my own RStudio server.
    • 缺点:有时加载时间有点慢,但是当我运行RStudio桌面时,我不知道Crunch与运行我自己的RStudio服务器相比如何。

  • Crunch提供完整的RStudio设置,运行最新版本的R,并允许您安装所需的软件包。这可能比安装自己的RStudio服务器更方便。你必须要求一个帐户。优点:几乎所有你对R / RStudio的期望。允许您使用Sweave和R markdown自动创建文档。这些文件也可以公开托管。这是一个示例,我将页面放在名为“gallery”的公共文件夹中:http://crunch.kmi.open.ac.uk/people/~mrdwab/gallery/howzat.html缺点:有时加载时间是有点慢,但是当我运行RStudio桌面时,我不知道Crunch与运行我自己的RStudio服务器相比如何。


Updated January 10, 2014

Recently, there has also been a decent amount of buzz around R-Fiddle as an interesting way to share R code. It looks like it is what powers the awesome http://www.rdocumentation.org/ site.

最近,R-Fiddle周围也有大量的讨论,作为分享R代码的有趣方式。看起来它是真棒http://www.rdocumentation.org/网站的强大之处。

#2


2  

RStudio IDE (Server) may be the answer to your question. Have a look at http://www.rstudio.com/ide/

RStudio IDE(服务器)可能是您的问题的答案。看看http://www.rstudio.com/ide/

#3


0  

You can try Rcloud which we are developing in AT&T research lab. Its a open source IDE like Rstudio/IPYthon and has more advanced capabilities in terms of collaboration. https://github.com/att/rcloud

您可以尝试我们在AT&T研究实验室开发的Rcloud。它是一个像Rstudio / IPYthon这样的开源IDE,在协作方面具有更高级的功能。 https://github.com/att/rcloud

RCloud is an environment for collaboratively creating and sharing data analysis scripts. RCloud lets you mix analysis code in R, HTML5, Markdown, Python, and others. Much like Sage, iPython notebooks and Mathematica, RCloud provides a notebook interface that lets you easily record a session and annotate it with text, equations, and supporting images.

RCloud是一个协作创建和共享数据分析脚本的环境。 RCloud允许您在R,HTML5,Markdown,Python等中混合分析代码。与Sage,iPython笔记本和Mathematica非常相似,RCloud提供了一个笔记本界面,可让您轻松记录会话并使用文本,方程式和支持图像对其进行注释。

#1


17  

A few possibilities come to mind:

我想到了一些可能性:

  • ideone provides a lot of different languages, of which, R is one of them. When you run a script, you are provided with a link that you can embed in a webpage (but which doesn't show the output, unfortunately). If you create an account, you can also store your previously run scripts.
    • Pro: You can easily insert /plain/ into your script and be able to get a URL that can be sourced directly in R. For example, if the URL for your script online is "http://ideone.com/PIkeD", then you can use source("http://ideone.com/plain/PIkeD") to load your script directly from the ideone servers.
    • Pro:您可以轻松地插入/ plain /到您的脚本中,并且能够获得可以直接在R中获取的URL。例如,如果您在线脚本的URL是“http://ideone.com/PIkeD”,然后你可以使用source(“http://ideone.com/plain/PIkeD”)直接从ideone服务器加载你的脚本。

    • Cons: Stuck at version 2.11 Might not always be the most current version of R. Presently at 3.2.2. Can't install other packages. Output doesn't show in the embed script provided.
    • 缺点:坚持版本2.11可能并不总是最新版本的R.目前在3.2.2。无法安装其他软件包。输出未在提供的嵌入脚本中显示。

  • ideone提供了许多不同的语言,其中R就是其中之一。当您运行脚本时,您将获得一个可以嵌入网页的链接(但不幸的是,它没有显示输出)。如果您创建帐户,还可以存储以前运行的脚本。 Pro:您可以轻松地插入/ plain /到您的脚本中,并且能够获得可以直接在R中获取的URL。例如,如果您在线脚本的URL是“http://ideone.com/PIkeD”,然后你可以使用source(“http://ideone.com/plain/PIkeD”)直接从ideone服务器加载你的脚本。缺点:坚持版本2.11可能并不总是最新版本的R.目前在3.2.2。无法安装其他软件包。输出未在提供的嵌入脚本中显示。

  • Cloudstat console runs a more recent version of R (2.15.1) with quite a few commonly used package. It used to have a really interesting blog/notebook interface that integrated code and the output, but that doesn't seem to be available at the moment.
    • Pro: Useful for running something fairly straightforward in a pinch.
    • Pro:用于在紧要关头运行相当简单的东西。

    • Cons: Can't install other packages. Output is not formatted in code blocks, so is not easily readable. At the moment, can't save or share the code you've run.
    • 缺点:无法安装其他软件包。输出未在代码块中格式化,因此不易读取。目前,无法保存或共享您运行的代码。

  • Cloudstat控制台运行更新版本的R(2.15.1),其中包含一些常用的包。它曾经有一个非常有趣的博客/笔记本界面,集成了代码和输出,但目前似乎没有。 Pro:用于在紧要关头运行相当简单的东西。缺点:无法安装其他软件包。输出未在代码块中格式化,因此不易读取。目前,无法保存或共享您运行的代码。

  • Crunch offers a full RStudio setup, runs the most recent version of R, and allows you to install the packages you need. This may be more convenient than having to install your own RStudio server. You do have to request an account though.
    • Pros: Pretty much all you would expect from R/RStudio. Allows you to use Sweave and R markdown to automatically create documents too. These documents can be publicly hosted too. Here's an example where I've placed a page in a public folder called "gallery": http://crunch.kmi.open.ac.uk/people/~mrdwab/gallery/howzat.html
    • 优点:几乎所有你对R / RStudio的期望。允许您使用Sweave和R markdown自动创建文档。这些文件也可以公开托管。这是一个例子,我在一个名为“gallery”的公共文件夹中放置了一个页面:http://crunch.kmi.open.ac.uk/people/~mrdwab/gallery/howzat.html

    • Cons: Sometimes the loading time is a bit slow, but as I am running RStudio desktop, I don't know how Crunch compares to running my own RStudio server.
    • 缺点:有时加载时间有点慢,但是当我运行RStudio桌面时,我不知道Crunch与运行我自己的RStudio服务器相比如何。

  • Crunch提供完整的RStudio设置,运行最新版本的R,并允许您安装所需的软件包。这可能比安装自己的RStudio服务器更方便。你必须要求一个帐户。优点:几乎所有你对R / RStudio的期望。允许您使用Sweave和R markdown自动创建文档。这些文件也可以公开托管。这是一个示例,我将页面放在名为“gallery”的公共文件夹中:http://crunch.kmi.open.ac.uk/people/~mrdwab/gallery/howzat.html缺点:有时加载时间是有点慢,但是当我运行RStudio桌面时,我不知道Crunch与运行我自己的RStudio服务器相比如何。


Updated January 10, 2014

Recently, there has also been a decent amount of buzz around R-Fiddle as an interesting way to share R code. It looks like it is what powers the awesome http://www.rdocumentation.org/ site.

最近,R-Fiddle周围也有大量的讨论,作为分享R代码的有趣方式。看起来它是真棒http://www.rdocumentation.org/网站的强大之处。

#2


2  

RStudio IDE (Server) may be the answer to your question. Have a look at http://www.rstudio.com/ide/

RStudio IDE(服务器)可能是您的问题的答案。看看http://www.rstudio.com/ide/

#3


0  

You can try Rcloud which we are developing in AT&T research lab. Its a open source IDE like Rstudio/IPYthon and has more advanced capabilities in terms of collaboration. https://github.com/att/rcloud

您可以尝试我们在AT&T研究实验室开发的Rcloud。它是一个像Rstudio / IPYthon这样的开源IDE,在协作方面具有更高级的功能。 https://github.com/att/rcloud

RCloud is an environment for collaboratively creating and sharing data analysis scripts. RCloud lets you mix analysis code in R, HTML5, Markdown, Python, and others. Much like Sage, iPython notebooks and Mathematica, RCloud provides a notebook interface that lets you easily record a session and annotate it with text, equations, and supporting images.

RCloud是一个协作创建和共享数据分析脚本的环境。 RCloud允许您在R,HTML5,Markdown,Python等中混合分析代码。与Sage,iPython笔记本和Mathematica非常相似,RCloud提供了一个笔记本界面,可让您轻松记录会话并使用文本,方程式和支持图像对其进行注释。