Re: Using Django and R in a production environment?

2015-10-07 Thread Andrew Farrell
One option is to use the conda package manager (you can get that here ) to create an environment with `conda create --name django+r django=1.8` activate it with `source activate django+r` And then install R packages with something like `conda install

Re: Using Django and R in a production environment?

2015-10-07 Thread Mike Covington
Not sure if this approach is useful for you, but the following is how we use R and Django together. We use R to build Shiny apps. These are served on their default port 3838 (which users never actually go to directly). I've made a Django app to manage the Shiny apps and simply place them in an

Re: Using Django and R in a production environment?

2015-10-06 Thread Derek
We have up on R altogether and switched to using pandas and related Python modules. Our conclusion was that R is great for the desktop but not well suited to a dynamic web environment (happy to be proved wrong, of course). On Saturday, 3 October 2015 17:55:38 UTC+2, Chanat Praserthdam wrote: >

Re: Using Django and R in a production environment?

2015-10-03 Thread Chanat Praserthdam
Hi Derek, Did you find the solution to your problem? I ran to a similar issue. I am wondering if RServe will work for me. On Tuesday, April 30, 2013 at 12:40:01 PM UTC-7, Derek wrote: > > Thanks Nick; RStudio looks like a really good tool for development work. > > The impression I get though,

Re: Using Django and R in a production environment?

2013-04-30 Thread Derek
Thanks Nick; RStudio looks like a really good tool for development work. The impression I get though, is that the server is designed for allowing interactive R sessions over the web; whereas for us Django is the primary requirement and calls to R should happen "behind the scenes". On

Re: Using Django and R in a production environment?

2013-04-30 Thread Nick Santos
Is Django a hard and fast requirement? If so, is it just about integrating the routines? I think otherwise something like RStudio Server would work for you. I've deployed it previously and it was a pretty nice setup. It's based on Unix user accounts, so R processes run as if users were running

Re: Using Django and R in a production environment?

2013-04-30 Thread Derek
" if you write your own R analysis routines, why have them run in a web system" Two issues here: 1. We are writing R routines for someone else; who needs 'analysis on demand' 2. A web system means that multiple users in multiple locations can all readily access the same analysis routines (but

Re: Using Django and R in a production environment?

2013-04-29 Thread Javier Guerra Giraldez
On Mon, Apr 29, 2013 at 2:13 AM, Derek wrote: > hat no one is actually using R in a production environment themselves (which > is a little surprising to me). well R itself is widely used in production... but the intersection with Django is very small. (after all, if you

Re: Using Django and R in a production environment?

2013-04-29 Thread Derek
;> this, or whether it would work in practice). > >>> > >>> Another approach seems to be to use RPy2, with Twisted to enable > multiple > >>> sessions: > >>> > https://docs.google.com/presentation/d/11LJxej6jnbYKzJftpDudYFfVKjaB0BhOzrBSKaxJ2ME

Re: Using Django and R in a production environment?

2013-04-24 Thread lgautier
> multiple > >>> sessions: > >>> > https://docs.google.com/presentation/d/11LJxej6jnbYKzJftpDudYFfVKjaB0BhOzrBSKaxJ2ME/edit#slide=id.p > > >>> . > >>> > >>> Yet another approach might be to use Rserve ( > >>> htt

Re: Using Django and R in a production environment?

2013-04-24 Thread Alex Mandel
r approach might be to use Rserve ( http://www.rforge.net/Rserve/) and PyRserve ( http://pythonhosted.org/pyRserve/manual.html), but the latter seems to currently be in beta. Question is: does anyone have any practical experience actually using Django with R in a production environment (i.e dozens o

Re: Using Django and R in a production environment?

2013-04-24 Thread Derek
gt;> sessions: >> https://docs.google.com/presentation/d/11LJxej6jnbYKzJftpDudYFfVKjaB0BhOzrBSKaxJ2ME/edit#slide=id.p >> . >> >> Yet another approach might be to use Rserve ( >> http://www.rforge.net/Rserve/) and PyRserve ( >> http://pythonhosted.org/pyRserve/man

Re: Using Django and R in a production environment?

2013-04-23 Thread Per-Olof Åstrand
al.html), but the > latter seems to currently be in beta. > > Question is: does anyone have any practical experience actually using > Django with R in a production environment (i.e dozens or hundreds of users > doing high volume number crunching)? > > Thanks > Derek &g

Using Django and R in a production environment?

2013-04-22 Thread Derek
oach might be to use Rserve (http://www.rforge.net/Rserve/) and PyRserve (http://pythonhosted.org/pyRserve/manual.html), but the latter seems to currently be in beta. Question is: does anyone have any practical experience actually using Django with R in a production environment (i.e dozens or hundred