Re: [R] Any good R server-with connection examples
Sir,i installed opencpu on Ubuntu12.04, but they don't have step-by-step tutorials,instead they have direct written pages to try by people (in which situatuion u can use opencpu) can u tell me logic from where should i start,i want to load R package (RHive),which is installed in my regular R and do some queries n statistical calculations. i don't know json also how to write any html/php query to connect to R directly retrieve results ? do u have any script written by u,from which i can decode to get how to proceed ? - Sagar Nikam B.Pharm, M.Sc(Bioinformatics) Software Engineer (Data Research Analyst ) Trendwise Analytics,Bangalore India -- View this message in context: http://r.789695.n4.nabble.com/Any-good-R-server-with-connection-examples-tp4647010p4648294.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Any good R server-with connection examples
I want to connect R with HTML/PHP pages to take input from user,do some statistical processing on it show results to HTML page again. I search on net,i got Rserve package,but examples are mainly for java langaure not for PHP i am wondering how to connect it to PHP-Apache-MySQL Is there any good tutorial/video which will tell me how to do that ? At least tell me logical way how to use it ? Check out http://rapache.net/ rApache connects R and the Apache 2 web server, such that R can act as a server-side scripting language, like PHP. This may be the easiest way, using R, to take user input from the web browser. The site has some decent documentation and links to examples. --Matt __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Any good R server-with connection examples
Don't try to integrate R with PHP, as you'll end up writing spaghetti code. Use AJAX to send requests to the server with RApache scripts. OpenCPU will do the job just fine, but make sure you use JSONP/CORS to bypass the same origin policy. Long story short, it's something like this: LAMP -AJAX- R aL3xa On Tue, Oct 23, 2012 at 3:41 PM, Matt Shotwell matt.shotw...@vanderbilt.edu wrote: I want to connect R with HTML/PHP pages to take input from user,do some statistical processing on it show results to HTML page again. I search on net,i got Rserve package,but examples are mainly for java langaure not for PHP i am wondering how to connect it to PHP-Apache-MySQL Is there any good tutorial/video which will tell me how to do that ? At least tell me logical way how to use it ? Check out http://rapache.net/ rApache connects R and the Apache 2 web server, such that R can act as a server-side scripting language, like PHP. This may be the easiest way, using R, to take user input from the web browser. The site has some decent documentation and links to examples. --Matt __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Any good R server-with connection examples
I want to connect R with HTML/PHP pages to take input from user,do some statistical processing on it show results to HTML page again. I search on net,i got Rserve package,but examples are mainly for java langaure not for PHP i am wondering how to connect it to PHP-Apache-MySQL Is there any good tutorial/video which will tell me how to do that ? At least tell me logical way how to use it ? - Sagar Nikam B.Pharm, M.Sc(Bioinformatics) Software Engineer (Data Research Analyst ) Trendwise Analytics,Bangalore India -- View this message in context: http://r.789695.n4.nabble.com/Any-good-R-server-with-connection-examples-tp4647010.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Any good R server-with connection examples
On Mon, Oct 22, 2012 at 3:35 PM, sagarnikam123 sagarnikam...@gmail.comwrote: I want to connect R with HTML/PHP pages to take input from user,do some statistical processing on it show results to HTML page again. I search on net,i got Rserve package,but examples are mainly for java langaure not for PHP i am wondering how to connect it to PHP-Apache-MySQL Is there any good tutorial/video which will tell me how to do that ? At least tell me logical way how to use it ? I would check out opencpu http://opencpu.org/. Best, Gergely - Sagar Nikam B.Pharm, M.Sc(Bioinformatics) Software Engineer (Data Research Analyst ) Trendwise Analytics,Bangalore India -- View this message in context: http://r.789695.n4.nabble.com/Any-good-R-server-with-connection-examples-tp4647010.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.