Hi, all; Our group is planning to develop a web-based analysis package with R. I have some questions. (1) Can we use R as a daemon-like way such that, after invoking R and making it run in a kind of background mode, just put some R script into R using some pipe-like mechanism and retrieve the result out of it? (2) If this is possible, then how can we do it? If this is not possible, then what is the best way to accomplish this thing? Should we just use "R BATCH ..." thing all the time? The concern is that, in this case, we have to invoke R every time we want to use it, which will cause some time delay for loading R programs every time and may cause some system overhead when multiple users try to use R at the same time. (3) I have a package developed in R with GUI in tcltk and want to port it in Java (because there are some other functionalities that have already been developed in Java and want to extend existing functionalities). The problem is that there does not seem to be an easy way to invoke R inside a Java program. I know there is a library called RSJava that is supposed to help this kind of situation but what I found was that it seemed to work only in Unix environment and it seemed to focus mainly users that try to use Java in R not users try to use R in Java. What will be the best solution? Thanks in advance, Tae-Hoon Chung, Ph.D Post-doctoral Research Fellow Molecular Diagnostics and Target Validation Division Translational Genomics Research Institute 1275 W Washington St, Tempe AZ 85281 USA Phone: 602-343-8724
See the following email, which was sent to r-help 2004-02-21 -Don From: "Graciliano M. P." <gmpowers at terra.com.br> To: "Module Authors" <module-authors at perl.org> Cc: r-help at stat.math.ethz.ch Subject: [R] New Perl module Statistics::R I have released the new module Statistics::R and need some feedback of it's status. This will permit the control of the the R (R-project) interpreter through Perl in different architectures and OS. You can for example, start only one instance of the R interpreter and have different Perl process accessing it. What will save the initiation time of R and memory. Soo, I will appreciate if some one can test it in different OS. Tested with Win32 and Linux. http://search.cpan.org/~gmpassos/Statistics-R-0.01/ Thanks in advance. Regards, Graciliano M. P. At 6:59 PM -0700 5/18/04, Tae-Hoon Chung wrote:>Hi, all; > >Our group is planning to develop a web-based analysis package with >R. I have some questions. >(1) Can we use R as a daemon-like way such that, after invoking R >and making it run in a kind of background mode, just put some R >script into R using some pipe-like mechanism and retrieve the result >out of it? >(2) If this is possible, then how can we do it? If this is not >possible, then what is the best way to accomplish this thing? Should >we just use "R BATCH ..." thing all the time? The concern is that, >in this case, we have to invoke R every time we want to use it, >which will cause some time delay for loading R programs every time >and may cause some system overhead when multiple users try to use R >at the same time. >(3) I have a package developed in R with GUI in tcltk and want to >port it in Java (because there are some other functionalities that >have already been developed in Java and want to extend existing >functionalities). The problem is that there does not seem to be an >easy way to invoke R inside a Java program. I know there is a >library called RSJava that is supposed to help this kind of >situation but what I found was that it seemed to work only in Unix >environment and it seemed to focus mainly users that try to use Java >in R not users try to use R in Java. What will be the best solution? > >Thanks in advance, >Tae-Hoon Chung, Ph.D > >Post-doctoral Research Fellow >Molecular Diagnostics and Target Validation Division >Translational Genomics Research Institute >1275 W Washington St, Tempe AZ 85281 USA >Phone: 602-343-8724 > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA
This is something I'm looking for too :) Did someone test this? Is it quick? Is there a website that features a real online demo? Thanks,> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Don MacQueen > Sent: Wednesday, May 19, 2004 4:37 PM > To: Tae-Hoon Chung; R-help at stat.math.ethz.ch > Subject: Re: [R] Web-application using R > > > See the following email, which was sent to r-help 2004-02-21 > -Don > > > From: "Graciliano M. P." <gmpowers at terra.com.br> > To: "Module Authors" <module-authors at perl.org> > Cc: r-help at stat.math.ethz.ch > Subject: [R] New Perl module Statistics::R > > I have released the new module Statistics::R and need some > feedback of it's > status. > This will permit the control of the the R (R-project) > interpreter through > Perl in different architectures and OS. > > You can for example, start only one instance of the R > interpreter and have > different Perl process accessing it. What will save the > initiation time of R > and memory. > > Soo, I will appreciate if some one can test it in different > OS. Tested with > Win32 and Linux. > > http://search.cpan.org/~gmpassos/Statistics-R-0.01/ > > Thanks in advance. > > Regards, > Graciliano M. P. > > > At 6:59 PM -0700 5/18/04, Tae-Hoon Chung wrote: > >Hi, all; > > > >Our group is planning to develop a web-based analysis package with > >R. I have some questions. > >(1) Can we use R as a daemon-like way such that, after invoking R > >and making it run in a kind of background mode, just put some R > >script into R using some pipe-like mechanism and retrieve the result > >out of it? > >(2) If this is possible, then how can we do it? If this is not > >possible, then what is the best way to accomplish this thing? Should > >we just use "R BATCH ..." thing all the time? The concern is that, > >in this case, we have to invoke R every time we want to use it, > >which will cause some time delay for loading R programs every time > >and may cause some system overhead when multiple users try to use R > >at the same time. > >(3) I have a package developed in R with GUI in tcltk and want to > >port it in Java (because there are some other functionalities that > >have already been developed in Java and want to extend existing > >functionalities). The problem is that there does not seem to be an > >easy way to invoke R inside a Java program. I know there is a > >library called RSJava that is supposed to help this kind of > >situation but what I found was that it seemed to work only in Unix > >environment and it seemed to focus mainly users that try to use Java > >in R not users try to use R in Java. What will be the best solution? > > > >Thanks in advance, > >Tae-Hoon Chung, Ph.D > > > >Post-doctoral Research Fellow > >Molecular Diagnostics and Target Validation Division > >Translational Genomics Research Institute > >1275 W Washington St, Tempe AZ 85281 USA > >Phone: 602-343-8724 > > > >______________________________________________ > >R-help at stat.math.ethz.ch mailing list > >https://www.stat.math.ethz.ch/mailman/listinfo/r-help > >PLEASE do read the posting guide!http://www.R-project.org/posting-guide.html -- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -------------------------------------------------------------- Zie ook/see also: http://www.knmi.nl/maildisclaimer.html
http://franklin.imgen.bcm.tmc.edu/R.web.servers/index.html -----Original Message----- From: Tae-Hoon Chung [mailto:thchung at tgen.org] Sent: Tuesday, May 18, 2004 9:59 PM To: R-help at stat.math.ethz.ch Subject: [R] Web-application using R Hi, all; Our group is planning to develop a web-based analysis package with R. I have some questions. (1) Can we use R as a daemon-like way such that, after invoking R and making it run in a kind of background mode, just put some R script into R using some pipe-like mechanism and retrieve the result out of it? (2) If this is possible, then how can we do it? If this is not possible, then what is the best way to accomplish this thing? Should we just use "R BATCH ..." thing all the time? The concern is that, in this case, we have to invoke R every time we want to use it, which will cause some time delay for loading R programs every time and may cause some system overhead when multiple users try to use R at the same time. (3) I have a package developed in R with GUI in tcltk and want to port it in Java (because there are some other functionalities that have already been developed in Java and want to extend existing functionalities). The problem is that there does not seem to be an easy way to invoke R inside a Java program. I know there is a library called RSJava that is supposed to help this kind of situation but what I found was that it seemed to work only in Unix environment and it seemed to focus mainly users that try to use Java in R not users try to use R in Java. What will be the best solution? Thanks in advance, Tae-Hoon Chung, Ph.D Post-doctoral Research Fellow Molecular Diagnostics and Target Validation Division Translational Genomics Research Institute 1275 W Washington St, Tempe AZ 85281 USA Phone: 602-343-8724 ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Maybe Matching Threads
- e1071 question: what's the definition of performance in t une.* functions?
- ESS does not recognize installed libraries
- Absolute ceiling on R's memory usage = 4 gigabytes?
- Segmentation fault while using Mclust function of mclust library in R-2.0.1
- Way to make R idle for some time and try something again later