Displaying 20 results from an estimated 7000 matches similar to: "CGIwithR"
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
2012 Aug 10
1
question about windows Rgui.exe startup
Hi all,
I had a specific question about the loading of objects
into R. I apologize in advance if I have overlooked anything in the
manual but as far as I can tell I have yet to find a solution to my
problem.
I am on a Windows platform.
So what I am trying
to do is have R read in a binary file on startup from the Windows system
command line and startup Rgui.exe with these options without
2005 Jan 25
3
How to make R faster?
Dear R users;
I am using R for a project. I have some PHP forms that
pass parameters to R for calculations, and publish the
result in HTML format by CGIwithR. I'm using a Linux
machine and every things work perfectly. However, it
is too slow, it takes 5 to 10 seconds to run, and
even if I start R from the Shell it takes the same
amount of time, which is probably due to installing
packages.
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
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
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.
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
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
2009 Feb 28
1
Execute script and go interactive
Hi,
is it possible to execute a script with R and go into interactive mode
with the same session?
e.g.
R < myscript.R
>objects()
Creating a .Rprofile is not an option for me.
Thank you
Michael
2011 Apr 30
1
Sys.getenv at startup is not working properly
Hello,
when using
Sys.getenv() during startup-phase (.First or .Rprofile)
to get the env-variables
COLUMNS as well as HOST I get empty strings.
After the startup is done, when asking via Sys.getenv()
by hand, COLUMNS is set (but HOST is not, even "hostname" on the shell gives me
a correct answer).
At the moment my problem is the missing COLUMNS value during start up,
because I want
2007 Oct 12
0
Utility data uploading functions prior to analysing data using CGIwithR
Dear all,
I am developing a small suite of cgi-bin programs on my server that help
provide some things that statistical/psychometric beginners may find
helpful and which are aren't widely available. Some early e.g.s are:
http://www.psyctc.org/stats/R/multirater.html
http://www.psyctc.org/stats/R/CSC1.html
and I'll be adding more to http://www.psyctc.org/stats/ and some that
will be
2007 Feb 02
1
CGIwithR
I try a example
http://omega.psi.iastate.edu/bootstrapFile.html
it doesn't give me output. I don't why.
For another example
http://omega.psi.iastate.edu/trivial.html
it seems works except it doesn't display figure.
Does anyone know how to figure it out?
Aimin
2012 Oct 29
6
export variable from bash to R
Dear R experts
This probably seems very easy to you guys, but I'm a beginner and would be
really glad if someone helped me with this:
I am trying to automate the execution of an R script (let's call it
"myscript.R") by passing a variable from a bash script to myscript.R.
I know I can use the command Rscript, but I don't know how to declare in
bash which variable will be
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
2005 Jan 06
0
Rprofile file to automatically plot data, tried using the .First command.
No. You put the _whole_ thing into .First(), not just the plot statement.
One possibility is to have the code in a script file (say myscript.R) and
define .First as follows:
.First <- function() source("myscript.R")
Haven't try it myself, though.
Andy
> From: John Fisler
>
> Dear Dr. Andreas Kiermeier and the R help Community,
>
> Thank you for your idea on
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community,
I have a question about how to pass command line parameters to R script
running in the batch mode. The problem is: there is a banch of data
files which are to be processed by R script called from a web-server,
i.e. in the batch mode. The web server generates data files and passes
their names calling 'R CMD BATCH' one by one for every file. Now the
question is how to
2011 Sep 07
1
process id of an R script
I have a script that runs as a cron job every minute (on Ubuntu 10.10 and R 2.11.1), querying a database for new data. Most of the time it takes a few seconds to run, but once in while it takes more than a minute and the next run starts (on the same data) before the previous one has finished. In extreme cases this will fill up memory with a large number of runs of the same script on the same data.
2007 Mar 26
1
Problem in loading all packages all at once
Hi All
Please see the Rprofile file which i have modified as follows and after
that when I start R then I see that R says to me "TRUE" for all the
packages implying that all loaded at once.
But when i try to use commands as simple as help("lm"), it doesnt work nor
any of the menu "Packages" is not working.
Although the regression using lm ( Y ~ X ) is working
2013 Aug 27
1
return the name of source.
Is there a fuction that will allow me to retrun the filename for a script
from within that script.
fir instance
If I have a script "myscript.r":
FileName<-unknown.fucntion()
print(FileName)
and run it
source("myscript.r")
will return
"myscript.r"
Thanks
Nevil Amos
[[alternative HTML version deleted]]
2006 Oct 30
2
anti ex-girlfriend
Hi Dear
I want to use asterisk(1.2.7.1) as a router by caller
id.
I have only a DID number, I want to map this number to
some ip-phones , base on received Caller-id.
it is my database's view:
456 | DID | 14193016880 | 2 | hangup |
|
455 | DID | 14193016880 | 1 | Dial |
H323/1169#989181310524@66.152.61.66|60 | didx.org for