Question: regarding web interface to R coding
0
10.2 years ago by
ankhee dutta60
ankhee dutta60 wrote:
hi all, here i have done some coding in R and want a web interface which can execute the R coding after taking user's query (who don't have knowledge of R) in any format. Can you suggest some language or software made for this purpose and is used commonly. Any kind of help will be appreciable. -- Ankhee Dutta project trainee, JNU,New Delhi-67 [[alternative HTML version deleted]]
• 858 views
modified 10.2 years ago by Steve Lianoglou12k • written 10.2 years ago by ankhee dutta60
Answer: regarding web interface to R coding
0
10.2 years ago by
Martin Morgan ♦♦ 24k
United States
Martin Morgan ♦♦ 24k wrote:
ankhee dutta wrote: > hi all, > here i have done some coding in R and want a web interface which can execute > the R coding after taking user's query (who don't have knowledge of R) in > any format. Can you suggest some language or software made for this purpose > and is used commonly. RWebServices builds SOAP-based web services from R packages, with a separate 'service' front-end and 'worker' back end. See http://www.bioconductor.org/packages/bioc/html/RWebServices.html especially the 'Installing...' and 'Enabling... vignettes. > Any kind of help will be appreciable.
Answer: regarding web interface to R coding
0
10.2 years ago by
Fraser Sim270
Fraser Sim270 wrote:
You can also use ASP or ASP.NET languages to interface with R via statconn R (D)COM. http://sunsite.univie.ac.at/rcom/ Cheers, Fraser -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of ankhee dutta Sent: Monday, September 07, 2009 6:25 AM To: bioconductor at stat.math.ethz.ch Subject: [BioC] regarding web interface to R coding hi all, here i have done some coding in R and want a web interface which can execute the R coding after taking user's query (who don't have knowledge of R) in any format. Can you suggest some language or software made for this purpose and is used commonly. Any kind of help will be appreciable. -- Ankhee Dutta project trainee, JNU,New Delhi-67 [[alternative HTML version deleted]] _______________________________________________ Bioconductor mailing list Bioconductor at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
Another possibility is Biocep-R, which is more Java-based than strictly web-based, although such distinctions are now blurring: http://biocep-distrib.r-forge.r-project.org/ I've not tried using it for anything serious yet, but it might fit your purposes if you want distributed access to a central R installation. Cheers, Tim 2009/9/7 Fraser Sim <fjsim at="" buffalo.edu="">: > You can also use ASP or ASP.NET languages to interface with R via statconn R > (D)COM. > > http://sunsite.univie.ac.at/rcom/ > > Cheers, > Fraser > > -----Original Message----- > From: bioconductor-bounces at stat.math.ethz.ch > [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of ankhee dutta > Sent: Monday, September 07, 2009 6:25 AM > To: bioconductor at stat.math.ethz.ch > Subject: [BioC] regarding web interface to R coding > > hi all, > here i have done some coding in R and want a web interface which can execute > the R coding after taking user's query (who don't have knowledge of R) in > any format. Can you suggest some language or software made for this purpose > and is used commonly. > Any kind of help will be appreciable. > -- > Ankhee Dutta > project trainee, > JNU,New Delhi-67 > > ? ? ? ?[[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor >
Answer: regarding web interface to R coding
0
10.2 years ago by
Denali
Steve Lianoglou12k wrote:
Hi Ankee, On Mon, Sep 7, 2009 at 6:24 AM, ankhee dutta<ankheedutta at="" gmail.com=""> wrote: > hi all, > here i have done some coding in R and want a web interface which can execute > the R coding after taking user's query (who don't have knowledge of R) in > any format. Can you suggest some language or software made for this purpose > and is used commonly. > Any kind of help will be appreciable. Here's a very timely blogpost from revolution computing: http://blog.revolution-computing.com/2009/09/interactive-stock- visualizations.html There are links to things like RApache and other libraries that helped with the construction of this R web application. Should be a good place to start. -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
Answer: regarding web interface to R coding
0
10.2 years ago by
Michael Dondrup140 wrote:
Hi Ankhee, depends mainly on your favorite host language I think. Among other suggestions (RPy), I think one of the most commonly used solution is Java and the rJava package. That can be installed from CRAN. That contains JRI so you can run R code from Java (and vice versa), I know some people that use rJava, and I do, it has little documentation but otherwise it works fine, and I think the Eclipse R plugin uses it too. Then you could build your web UI in Java using eg. JSF, Echo2, or ICEFaces. If you like perl you might try RSPerl http://www.omegahat.org/RSPerl/ or try a patched version http://www.cebitec.uni- bielefeld.de/groups/brf/software/wiki/HowToInstallRSPerl where we have tried solve some issues. That worked for me at least on a variety of systems. But maybe noone else is using that. I don't like the "write script to temporary file and pass around tables in textfiles" approach too much, I thinks it's not a real clean and not very efficient approach. But that's only my 50cent ;) Michael Am 07.09.2009 um 12:24 schrieb ankhee dutta: > hi all, > here i have done some coding in R and want a web interface which can > execute > the R coding after taking user's query (who don't have knowledge of > R) in > any format. Can you suggest some language or software made for this > purpose > and is used commonly. > Any kind of help will be appreciable. > -- > Ankhee Dutta > project trainee, > JNU,New Delhi-67 > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
Hello Michael, I agree the hack that I suggested is not the *Best Practice*, but it worked like a charm for me and I am using it in same way for several pipelines that requires R as a component for calculation alone - in such situations, I must say that its clean and extremely efficient. I thought of sharing it with Dutta, if he may need something like a quick hack, I spend several days to get my RSPerl up an running, but it didn't worked on my CentOS. But this one was as quick as writing a Perl script. Cheers, K. Shameer NCBS - TIFR > If you like perl you might try RSPerl http://www.omegahat.org/RSPerl/ or > try a patched version > > http://www.cebitec.uni- bielefeld.de/groups/brf/software/wiki/HowToInstallRSPerl > where we have tried solve some issues. That worked for me at least on a > variety of systems. But maybe noone else is using that. > I don't like the "write script to temporary file and pass around tables in > textfiles" approach too much, I thinks it's not a real clean and not very > efficient approach. But that's only my 50cent ;) [[alternative HTML version deleted]]
Thanks for replying Michael but sorry to say that i don't have much knowledge about java and its applications but you were also suggesting to use RSPerl, so will that solve my purpose of making web interface to the R coding, otherwise can i use CGIwithR package for the purpose, how is it and is this package common in use? Please do reply. On Mon, Sep 7, 2009 at 7:01 PM, Michael Dondrup <michael.dondrup@bccs.uib.no> wrote: > Hi Ankhee, > depends mainly on your favorite host language I think. Among other > suggestions (RPy), I think one of the most commonly used solution is > Java and the rJava package. That can be installed from CRAN. > > That contains JRI so you can run R code from Java (and vice versa), I know > some people that use rJava, and I do, it has little documentation but > otherwise it works fine, and I think the Eclipse R plugin uses it too. Then > you could build your web UI in Java using eg. JSF, Echo2, or ICEFaces. > > If you like perl you might try RSPerl http://www.omegahat.org/RSPerl/ or > try a patched version > > http://www.cebitec.uni- bielefeld.de/groups/brf/software/wiki/HowToInstallRSPerl > where we have tried solve some issues. That worked for me at least on a > variety of systems. But maybe noone else is using that. > I don't like the "write script to temporary file and pass around tables in > textfiles" approach too much, I thinks it's not a real clean and not very > efficient approach. But that's only my 50cent ;) > > Michael > > Am 07.09.2009 um 12:24 schrieb ankhee dutta: > > hi all, >> here i have done some coding in R and want a web interface which can >> execute >> the R coding after taking user's query (who don't have knowledge of R) in >> any format. Can you suggest some language or software made for this >> purpose >> and is used commonly. >> Any kind of help will be appreciable. >> -- >> Ankhee Dutta >> project trainee, >> JNU,New Delhi-67 >> >> [[alternative HTML version deleted]] >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor@stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor >> > > > > -- Ankhee Dutta project trainee, JNU,New Delhi-67 [[alternative HTML version deleted]]
Answer: regarding web interface to R coding
0
10.2 years ago by
Hello, Earlier I have tried to use RSPerl / Statistics::R for similar purpose (but had several issues in implementing it). When I asked about similar question on BioPerl list, Jason Stajich suggested me to hack R in a way to create temporary R scripts using Perl and run the script using R --no-save < tempdir/tempscript.R. Later you can pipe output file or read up in to your html file using a CGI script. Link to my old post and suggestion by Stajich is here : http://www.nabble.com/Re%3A-Heat-map-module---p21416644.html Trust this helps, Khader Shameer On Mon, Sep 7, 2009 at 3:54 PM, ankhee dutta <ankheedutta@gmail.com> wrote: > hi all, > here i have done some coding in R and want a web interface which can > execute > the R coding after taking user's query (who don't have knowledge of R) in > any format. Can you suggest some language or software made for this purpose > and is used commonly. > Any kind of help will be appreciable. > -- > Ankhee Dutta > project trainee, > JNU,New Delhi-67 > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
Python has an extremely straighforward interface to R called RPy. Python is a very good scripting language for CGI. -Paul. On Mon, Sep 7, 2009 at 12:43 PM, Shameer Khadar <skhadar@gmail.com> wrote: > Hello, > > Earlier I have tried to use RSPerl / Statistics::R for similar purpose (but > had several issues in implementing it). > When I asked about similar question on BioPerl list, Jason Stajich > suggested me to hack R in a way to create temporary R scripts using Perl > and > run the script using R --no-save < tempdir/tempscript.R. Later you can > pipe output file or read up in to your html file using a CGI script. > > Link to my old post and suggestion by Stajich is here : > http://www.nabble.com/Re%3A-Heat-map-module---p21416644.html > > Trust this helps, > Khader Shameer > > > On Mon, Sep 7, 2009 at 3:54 PM, ankhee dutta <ankheedutta@gmail.com> > wrote: > > > hi all, > > here i have done some coding in R and want a web interface which can > > execute > > the R coding after taking user's query (who don't have knowledge of R) in > > any format. Can you suggest some language or software made for this > purpose > > and is used commonly. > > Any kind of help will be appreciable. > > -- > > Ankhee Dutta > > project trainee, > > JNU,New Delhi-67 > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > Bioconductor mailing list > > Bioconductor@stat.math.ethz.ch > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > Search the archives: > > http://news.gmane.org/gmane.science.biology.informatics.conductor > > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Paul Geeleher School of Mathematics, Statistics and Applied Mathematics National University of Ireland Galway Ireland [[alternative HTML version deleted]]
You might want to have a look at RGG, R Gui Generator, at http:// rgg.r-forge.r-project.org/ I haven't tried it myself though, so I don't know how well it works. \Heidi On 7 Sep 2009, at 12:49, Paul Geeleher wrote: > Python has an extremely straighforward interface to R called RPy. > Python is > a very good scripting language for CGI. > > -Paul. > > On Mon, Sep 7, 2009 at 12:43 PM, Shameer Khadar <skhadar at="" gmail.com=""> > wrote: > >> Hello, >> >> Earlier I have tried to use RSPerl / Statistics::R for similar >> purpose (but >> had several issues in implementing it). >> When I asked about similar question on BioPerl list, Jason Stajich >> suggested me to hack R in a way to create temporary R scripts >> using Perl >> and >> run the script using R --no-save < tempdir/tempscript.R. Later >> you can >> pipe output file or read up in to your html file using a CGI script. >> >> Link to my old post and suggestion by Stajich is here : >> http://www.nabble.com/Re%3A-Heat-map-module---p21416644.html >> >> Trust this helps, >> Khader Shameer >> >> >> On Mon, Sep 7, 2009 at 3:54 PM, ankhee dutta <ankheedutta at="" gmail.com=""> >> wrote: >> >>> hi all, >>> here i have done some coding in R and want a web interface which can >>> execute >>> the R coding after taking user's query (who don't have knowledge >>> of R) in >>> any format. Can you suggest some language or software made for this >> purpose >>> and is used commonly. >>> Any kind of help will be appreciable. >>> -- >>> Ankhee Dutta >>> project trainee, >>> JNU,New Delhi-67 >>> >>> [[alternative HTML version deleted]] >>> >>> _______________________________________________ >>> Bioconductor mailing list >>> Bioconductor at stat.math.ethz.ch >>> https://stat.ethz.ch/mailman/listinfo/bioconductor >>> Search the archives: >>> http://news.gmane.org/gmane.science.biology.informatics.conductor >>> >> >> [[alternative HTML version deleted]] >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor >> > > > > -- > Paul Geeleher > School of Mathematics, Statistics and Applied Mathematics > National University of Ireland > Galway > Ireland > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/ > gmane.science.biology.informatics.conductor
> Python has an extremely straighforward interface to R called RPy. > Python is a very good scripting language for CGI. Also, if you're going that route, Django is a good python based web framework which is real easy to pick up & start using.