Hello! After a presentation of some statistical analysis of process datas, (where the few R possibilities I was able to show made quite a big impression), I was asked if it was possible to program a statistical application which could be used directly by the end user. Such an application would include a userfriendly interface (developped in C++), a db , a core statistical program, standard output; the necessary queries and statistical procedures would be interactively generated from the user input by the C++ program. As I do not intend to reprogram the necessary statistical functions if I can help it, I'm interested to know if a) it is possible to integrate R in such a way? b) naturally as I would sell the end product, what the royalties arrangements are c) has anybody in the list experience with such a project? Thanks for the help! Anne [[alternative HTML version deleted]]
Anne Piotet <Anne.Olga.Piotet at omsv.vd.ch> wrote:> After a presentation of some statistical analysis of > process datas, (where the few R possibilities I was able > to show made quite a big impression), I was asked if it > was possible to program a statistical application which > could be used directly by the end user. > > Such an application would include a userfriendly interface > (developped in C++), a db , a core statistical program, > standard output; the necessary queries and statistical > procedures would be interactively generated from the user > input by the C++ program. As I do not intend to reprogram > the necessary statistical functions if I can help it, I'm > interested to know if> a) it is possible to integrate R in such a way?I have on one of my institution's Linux servers R tightly integrated with a fairly large PostgreSQL database accessed from our LAN through a web interface (mostly php scripts), with buttons to create monthly and annual reports generated by R through RPgSQL. The output is a pdf file that goes to the email address that the user provides, it takes 5 to 15 minutes to get the file, depending on the CPU load. There is no C++ code there because I do not see any need for it. It works well, and users are very satisfied. Reports look good because they are compiled with LaTeX. It would be fairly easy to let the user create specific reports with his own particular queries. I am very happy with that system, because I get very few requests for help, and all the reports are timely sent to the MoH. I am sure that many other members of this list have set up much more sophisticated systems integrating R and databases.> b) naturally as I would sell the end product, what the > royalties arrangements areI let this to the GPL experts. -- Philippe Glaziou Pasteur Institute of Cambodia
> From: Anne Piotet [mailto:Anne.Olga.Piotet at omsv.vd.ch] > > Hello! > > After a presentation of some statistical analysis of > process datas, (where the few R possibilities I was able to > show made quite a big impression), I was asked if it was > possible to program a statistical application which could be > used directly by the end user. > > Such an application would include a userfriendly interface > (developped in C++), a db , a core statistical program, > standard output; the necessary queries and statistical > procedures would be interactively generated from the user > input by the C++ program. As I do not intend to reprogram > the necessary statistical functions if I can help it, I'm > interested to know if > a) it is possible to integrate R in such a way? > b) naturally as I would sell the end product, what the > royalties arrangements areOthers will know more about this, but that never stopped me from tossing in my $0.02... As R is licensed as GPL, if you distribute (e.g., sell) your code, it will have to be GPL'ed as well. I believe that means while you can sell it for money, 1. You have to make it clear to whomever get the code that it's GPL'ed. 2. You have to distribute the source code, or allow a way for people to get source code. 3. You can not restrict further distribution of the code, free or otherwise. My understanding of how RedHat deals with this (at least in their enterprise server product) is by tacking on GPL a term that whoever installed their software agrees to purchase service/support contract from them. Another company that has a software linked to R does similar thing, by not selling the "software", but the "service" (installation and training). HTH, Andy> c) has anybody in the list experience with such a project? > > Thanks for the help! > > Anne > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo> /r-help >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}