Re: [Rd] Passing R code from webpage

2013-02-18 Thread Matevz Pavlic
*Hi, first of all-thank you for your extensive answer.* > Hi, > > >> Not at all - R has a built-in webserver (it's used for the help pages), >> so > if you install R, you're done with that part. Rook >gives you a wrapper > for > that. > > What do you mean by wrapper? > >It defines an

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Simon Urbanek
On Feb 18, 2013, at 10:20 AM, Matevz Pavlic wrote: > Hi, > > >> Not at all - R has a built-in webserver (it's used for the help pages), so > if you install R, you're done with that part. Rook >gives you a wrapper for > that. > > What do you mean by wrapper? > It defines an API that is eas

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Matevz Pavlic
Hi, > No one yet has mentioned shiny (http://www.rstudio.com/shiny/); it > allows you to get up and prototyping quickly, and we're working on > ways to make it just as easy to scale to multiple users (currently > it's possible, but you have to be willing to get your hands dirty > configuring

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Matevz Pavlic
Hi, >Not at all - R has a built-in webserver (it's used for the help pages), so if you install R, you're done with that part. Rook >gives you a wrapper for that. What do you mean by wrapper? > The problem is it doesn't scale, so if you're happy with one-user solution > then you can use R wi

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Hadley Wickham
No one yet has mentioned shiny (http://www.rstudio.com/shiny/); it allows you to get up and prototyping quickly, and we're working on ways to make it just as easy to scale to multiple users (currently it's possible, but you have to be willing to get your hands dirty configuring servers etc). Hadle

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Simon Urbanek
On Feb 18, 2013, at 6:24 AM, Matevz Pavlic wrote: > Hi, > > i think all of this i kinda complicated, even though in all the packages > authors are saying that "minimum code is required". > I mean, i am not an IT engineer , but i have created quite some webpages, so > i have some knowledge of H

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Mike Marchywka
> Date: Mon, 18 Feb 2013 04:13:25 -0800 > From: matevzpav...@gmail.com > To: r-devel@r-project.org > Subject: Re: [Rd] Passing R code from webpage > > Yes, > y > knowledge). well, this getting off topic but I could suggest you

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Matevz Pavlic
Yes, i have looked at apache, but there is no Windows version (at least to my knowledge). I know how to connect to MS SQL from R, i just dont know how to do that from web browser. thanks, m -- View this message in context: http://r.789695.n4.nabble.com/Passing-R-code-from-webpage-tp4658800

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Mike Marchywka
> Date: Mon, 18 Feb 2013 03:24:43 -0800 > From: matevzpav...@gmail.com > To: r-devel@r-project.org > Subject: Re: [Rd] Passing R code from webpage > > Hi, > > i think all of this i kinda complicated, even though in all the packa

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Matevz Pavlic
Hi, i think all of this i kinda complicated, even though in all the packages authors are saying that "minimum code is required". I mean, i am not an IT engineer , but i have created quite some webpages, so i have some knowledge of HTML5, CSS, C# (limited), and also work quite a lot with R and s

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Mike Marchywka
> Date: Sun, 17 Feb 2013 04:27:38 -0800 > From: mehrotra.pul...@gmail.com > To: matevzpav...@gmail.com > CC: r-devel@r-project.org > Subject: Re: [Rd] Passing R code from webpage > > hi , > > First of all you should as this que

Re: [Rd] Passing R code from webpage

2013-02-18 Thread Pulkit Mehrotra
hi , First of all you should as this question on r-help rather than on r-devel as this group deals with development related issues with R. As for the package you can use the shiny package from Rstudio. I have provided the links below. http://shiny.rstudio.org/ http://www.rstudio.com/shiny/ rega

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Matevz Pavlic
Here's what i did (Windows) : 1.) install.packages("FastRWeb") 2.) system(paste("cd",system.file(package="FastRWeb"),"&& install.sh") 3.) code{system.file("cgi-bin", package="FastRWeb") I ran all this from Rstudio. But i don't understand what "var" means. I suspect it's a folder, probably in

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Matevz Pavlic
Hi again, i am very sorry, but i can't install this from the details in INSTALL file. As I understand these are instructions for Unix server, but i'd like to install it on window... -- View this message in context: http://r.789695.n4.nabble.com/Passing-R-code-from-webpage-tp4658800p4658871

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Jeff Ryan
Another really great tool, leveraging Simon's incredible work with Rserve, is to use pyRserve. Combined with Flask as a web framework you can do quite a bit with very minimal code. http://flask.pocoo.org/ http://pypi.python.org/pypi/pyRserve/ HTH Jeff On Sun, Feb 17, 2013 at 12:10 PM, Simon Ur

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Simon Urbanek
On Feb 17, 2013, at 12:09 PM, Matevz Pavlic wrote: > Hi, > > yes, i saw that about Cshtml...but it's done already, can't change it now. > > Are there any samples of web pages or some samples to download for FastRWeb? > I am having troubles understanding how to install this and get it to work.

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Matevz Pavlic
Hi, yes, i saw that about Cshtml...but it's done already, can't change it now. Are there any samples of web pages or some samples to download for FastRWeb? I am having troubles understanding how to install this and get it to work... tnx, m -- View this message in context: http://r.789695.n

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Simon Urbanek
On Feb 17, 2013, at 11:30 AM, Matevz Pavlic wrote: > Hi , > > thanks for all the replies. > I'll have a good look at this FastRWeb. Just one thing. My pages are done > with Razor *.CSTHML. Could this be a problem for FastRWeb (and me) ;)? > R doesn't care how you generate the pages - it will

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Matevz Pavlic
Hi , thanks for all the replies. I'll have a good look at this FastRWeb. Just one thing. My pages are done with Razor *.CSTHML. Could this be a problem for FastRWeb (and me) ;)? regards, m -- View this message in context: http://r.789695.n4.nabble.com/Passing-R-code-from-webpage-tp4658800p

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Simon Urbanek
On Feb 17, 2013, at 9:29 AM, Mike Marchywka wrote: >> From: simon.urba...@r-project.org >> Date: Sun, 17 Feb 2013 09:16:57 -0500 >> To: matevzpav...@gmail.com >> CC: r-devel@r-project.org >> Subject: Re: [Rd] Passing R code from webpage >> >> On Feb

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Mike Marchywka
> From: simon.urba...@r-project.org > Date: Sun, 17 Feb 2013 09:16:57 -0500 > To: matevzpav...@gmail.com > CC: r-devel@r-project.org > Subject: Re: [Rd] Passing R code from webpage > > On Feb 16, 2013, at 6:48 PM, Matevz Pavli

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Simon Urbanek
On Feb 16, 2013, at 6:48 PM, Matevz Pavlic wrote: > Hi all, > > Is there a way to pass R code from web page (html file) to do some > statistics and than plot the output in web browser. > > I am looking forever at this, and cant find a way. > Typically this is done by sending an AJAX request

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Marc Schwartz
On Feb 16, 2013, at 5:48 PM, Matevz Pavlic wrote: > Hi all, > > Is there a way to pass R code from web page (html file) to do some > statistics and than plot the output in web browser. > > I am looking forever at this, and cant find a way. > > Regards,m You might have wanted to start by l

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Pierre Chausse
If R and ghostcript are installed on the server that hosts you webpage, it is easy. All you need is a minimum of php. I started with doR (which I think does not exist anymore) and modified it. Even better, some people offers a solution for you. Here is a GPL licenced solution. http://steve-che