From simon.urbanek at r-project.org  Fri Aug 20 20:13:37 2010
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Fri, 20 Aug 2010 14:13:37 -0400
Subject: [Rd] C or Java code generation
In-Reply-To: <AANLkTi=0t-1oaqnKhMVVmJY5=RO6NFWQpzK85-_WiYYf@mail.gmail.com>
References: <4C6CF35F.9040305@yandex.ru>
	<AANLkTimDKD058Z+UQK2Z8EucsVsbE-T+dRe2h5EG-HYc@mail.gmail.com>
	<4C6CFD45.7050007@yandex.ru>
	<AANLkTikMyRzcDHtCSb9f31v5wnN+FLrbQXAwRDg7ui1E@mail.gmail.com>
	<4C6D0BC2.7070906@yandex.ru>
	<AANLkTi=0t-1oaqnKhMVVmJY5=RO6NFWQpzK85-_WiYYf@mail.gmail.com>
Message-ID: <0BAA5351-882F-450A-A502-52BD33A3BD6C@r-project.org>


On Aug 20, 2010, at 1:15 PM, Paul Johnson wrote:

> On Thu, Aug 19, 2010 at 5:47 AM, Vyacheslav Karamov
> <ubuntulist at yandex.ru> wrote:
> x.ru>>>
>>> 
>>> 
>>>           Hi All!
>>> 
>>>           I'm new to R and I need to know is it possible for R to
>>>        generate
>>>           C/C++ source code, Java byte code or native Win32 DLL like
>>>        MatLab?
>> 
>> Is there any posibility to use R without installing?
>> I mean that I have my own application written in MS Visual C++ and I need to
>> use R script in this app. I can install R and use it via DCOM, but it's not
>> convenient for  the end users of my  program.
>> 
> 
> Do your users have Web access? If so, you can set up an Rweb (or
> similar) server that could run the jobs for those users. I have one
> set up like that. Users transmit their code via http and can get
> results back in web page.  I think you could probably program around
> the output management question, but I did not try to do it. I mean,
> something like "wget" could download the images directly, by-passing
> the http server.
> 
> Rweb has been abandoned by its original author, but it can be made to
> work, and there are other, newer http server programs to run R.  I
> have not tried them yet, mainly because my customers needed to run
> Rweb because their clients told them to use it.
> 

FWIW: FastRWeb uses Rserve as back-end and is in active development since we use it internally (it's wicked fast, scalable and supports data pre-loading and AJAX).

Cheers,
Simon



[Rd] C or Java code generation
Simon Urbanek