similar to: How to make R faster?

Displaying 20 results from an estimated 2000 matches similar to: "How to make R faster?"

2004 May 05
5
cgi/servlets/httpd in R
Hi R-helpers Has anyone had any experience doing CGI or Servlets or using an httpd server in R? Context: we are interested in running dynamic demographic calculations on the internet (life tables, and such) in response to form submissions. I might do simple cgi to get started, but loading in data each time seems like it would be quite, quite slow. I have looked at Rserv, but I am most
2005 Jan 16
1
CGIwithR
Dear R users; I'm trying to use CGIwithR on a linux machine, I have followed the instructions on the package manual but still it does not run, the message that I get is as follows: The requested URL was not found on this server I used the example trivial, I put trivial.html under Web directory and trivial.R in cgi-bin directory, which itself is a subdirectory of Web directory, ( I have
2005 Jan 28
1
R for CGI
Dear R Users; Perl is the common language to write CGI scripts which handle Forms. My question is that can R be as fast as perl to do the same job(with using CGIwithR package). Is it an optimal solution to connect R directly to a commercial HTML webpages, Sincerely, Sean
2004 Nov 28
3
Correct Syntax for a Loop
I'll appreciate if some one can help me with the following loop. This is the logic of the loop, if we have the following data; > x.df x.dif . . . . 102 0.00 103 0.42 104 0.08 105 0.00 106 0.00 107 0.00 108 -0.16 109 -0.34 110 0.00 111 -0.17 112 -0.33 113 0.00 114 0.00 115 0.00 116 0.33 117 0.17 118 0.00 . . . . I'm trying to find i's where for (i
2004 Nov 30
1
xy_plot
R users; Does anyone have a recommendation for a faster plotting function rather than plot(x,y)? when I use plot(x,y) for a large number of variables, it take couple of moments to plot the graph? Sincerely, Sean
2009 Mar 29
2
Mature SOAP Interface for R
Hello, we are writing rich internet user interfaces and like to call R for some of the computational needs on the data, as well as some creation of image files. Our objects communicate via the SOAP interface. We have been researching the various packages to expose R as a SOAP service. No current CRAN SOAP packages however. Found 3 to date: RSOAP (http://sourceforge.net/projects/rsoap/)
2004 Nov 23
2
How to extract data?
I appreciate if anyone can help me, I have a table as follow, > rate DATE VALUE 1 1997-01-10 5.30 2 1997-01-17 5.30 3 1997-01-24 5.28 4 1997-01-31 5.30 5 1997-02-07 5.29 6 1997-02-14 5.26 7 1997-02-21 5.24 8 1997-02-28 5.26 9 1997-03-07 5.30 10 1997-03-14 5.30 . ...... ... . ...... ... . ...... ... I want to extract the DATE(s) on
2005 Jun 24
1
R servlet engine ?!!!
I use CGIwithR to run a website that executes R scripts under cgi-bin. Are there any projects that implement a work frame using R similar to Java's servlet engine? Initialization times are hurting. Can initialize once process and treat all web requests as threads of this process? Any help with this subject is greatly appreciated.
2003 Dec 02
1
Is there a way to use CGIwithR in Windows?
Dear R-Help, Does anyone know of a way to use CGIwithR in Windows? David Firth the author of CGIwithR states "It ought to be possible to adapt it for use also in conjunction with web servers running under Windows NT ... but the author has no plans for that." I have developed some applications in R that I would like to make available through a web interface using CGIwithR but at this
2003 Apr 02
2
CGIwithR for IIS
Hi, I have a (maybe stupid) question... Does CGIwithR package can be installed in R for Windows to work with a Microsoft IIS web-server? Or I need other libraries? Thank you, Gianluca.
2007 Jan 26
1
CGIwithR and visible output of 'invisible(capture.output(library(...)))'
Dear alltogether, I want to use CGIwithR in conjunction with R2HTML. A small example called 'test.R': ##### #! /usr/bin/R invisible(capture.output(library(R2HTML))) HTML(summary(as.numeric(scanText(formData$numbers))), file=stdout()) ##### The script gets its input via 'CGIwithR.cgi' and contains the variable "numbers." The 'HTML' output (-> summary() in
2009 Apr 14
4
Building GUI for custom R application
HI R users, I would appreciate information/examples/suggestions on building GUIs for R applications. I am currently working on a project that would require the following functionalities : 1) Display a window to the user. Provide a function to scan local drive and choose dataset file. 2) Display the column names for the user to choose the dependent variable and the independent variables. 3) Fit
2005 May 08
1
working with CGIwithR
<headline>Short question</headline>: Do people have advice on debugging R programs running after CGIwithR inputting of data from forms? Is there a way of setting up fast local versions if your local machine has to be a windoze (2k) machine (R 2.1.0) and your server is a Debian, ssh shell only set up running R 1.8.0? Are there simple guides to ways of not having to invoke R each
2005 May 15
0
Seeking friend for life (not)
I'll take a risk following Uwe's wonderful response to that advert. I'm looking for someone, perhaps particularly a stats student, who might want to do a piece of work with me on using R to present and analyse routine data that psychotherapists might submit on a cgi-bin interface and perhaps cross-referencing that against some largish referential data to which I have access.
2010 Jun 01
3
Using R with Web services
Hello list helpers, I'm working at a research institute and I've been asked to develop a way of using R as a scripting and analysis tool which takes information from users via web forms, perform a query to an Oracle Database running on a Linux server and finally return formatted reports to the user via web. I'm sort of a newbie in web forms and web services so i've been reading
2003 May 19
3
how to run R as a daemon
Hi all, Using R a as a real-time application called by Php for a website, I would like to run one R process only, which would manage user connections. For the time each user who asks for an analysis causes a new R process to start, which is not suitable in prevision of many users. R needs about 30 seconds to run the script which makes the analysis. The problem is that this waiting time is n
2004 May 07
0
Re: Sessioned R web interfaces
Frank, Both RZope and Rho solve this problem. RZope (http://www.analytics.washington.edu/statcomp/projects/rzope/)solves it by using *nix's fork command, which takes as much time as a memcopy. Rho(http://rho-project.org) solves it by maintaining a pool of idling R processes, which it maintains active & can pull to do a calculation immediately. Both of these are pretty
2004 Mar 19
2
Moving to 1.8.1: can you transfer your package list?
I prefer to use R on a linux box and ultimately need things to end up there to serve things up using David Firth's excellent CGIwithR and apache, but one step at a time and I've installed 1.8.1 under win2k. Another question that I'm sure is simple: is there a simple way to find the list of installed libraries I had in my 1.7.1 installation and use that to drive install.packages?
2003 Nov 25
3
Persistent state of R
Hi I am using R as a back-end to some CGI scripts, written in Perl. My platform is Suse Linux 8.2, Apache 1.3.7. So the CGI script takes some form parameters, opens a pipe to an R process, loads up some Bioconductor libraries, executes some R commands and takes the ouput and creates a web page. It is all very neat and works well. I am trying to make my cgi scripts quicker and it turns out
2003 Feb 19
1
trouble using CGIwithR
Hi, I am having trouble to make the CGIwithR work in my server (Linux RedHat 7 - Apache), I installed the package, edited the R.cgi archive, but when I try to run any script from the browser I receive the following: Error message: Premature end of script headers: trivial.R Need I change some configuration of my system so that scripts work? Cris