similar to: perl advice

Displaying 20 results from an estimated 3000 matches similar to: "perl advice"

2002 May 23
1
now available: RwebWin
I ported Jeff Banfield's Rweb (http://www.math.montana.edu/Rweb/) to Windows. In the process, I dropped some things (non-JavaScript version, Rweb modules and data sets), but also simplified the installation process by removing the dependency on NetPBM. A Ghostscript dependency remains, however. See http://www.liquidmarkets.com/m.php?m=News&file=article&sid=6 for up-to-date
1998 Jun 18
2
R-beta: glm bug
A non-text attachment was scrubbed... Name: not available Type: text Size: 997 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980618/ee08ba8d/attachment.pl
2005 Jun 13
3
To many NA's from mean(..., na.rm=T) when a column is all NA's
Dear R-help folks, I am seeing unexpected behaviour from the function mean with option na.rm =TRUE (which is removing a whole column of a data frame or matrix. example: testcase <- data.frame( x = 1:3, y = rep(NA,3)) mean(testcase[,1], na.rm=TRUE) [1] 2 mean(testcase[,2], na.rm = TRUE) [1] NaN OK, so far that seems sensible. Now I'd like to compute both means at once:
1998 Sep 09
2
diag() losing dimnames
Using diag() to extract the diagonal of a matrix loses all but the first dimname (R 0.62.3). The problem seems to be in [ ]: > > x <- matrix(1:9,3,3) > dimnames(x) <- list(c("a", "b", "c"), c("a", "b", "c")) > x a b c a 1 4 7 b 2 5 8 c 3 6 9 > diag(x) a NA NA 1 5 9 > x[c(1,5,9)] a NA NA 1 5 9 > Paul
2000 Jan 03
4
leaps
Hi, there, S+ has a function leaps which can be used for criterion based model selection. Is there an equivalent function in R? thanks in advance. Kenny Ye Assistant Professor Department of Applied Math and Statistics SUNY at Stony Brook Stony Brook, New York 11794-3600 (516)632 9344 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 Nov 03
2
calling R from Perl
Hi, I want to call R from Perl to generate plots to be displayed on a webpage. What I found out so far is that there is a package called RSPerl on www.omegahat.org which should do what I need. However in the description it says it has been tested with R 1.3.* the latest. I'm using R 1.8.0 right now so the package seems rather unmaintained. It is not easy for me to just install it and see
2009 Mar 24
3
r online
Hi, I'd like to execute simple commands and functions in R through a website, is there any service like this somewhere? I only found http://www.osvisions.com/r-online/ but it does not work (last update 2003) and the links to releated websites only give errors (if I calculate 7+3). Thanks for help & hints, Thomas
2000 May 15
1
Non linear regression using Levenberg-Marquardt method
Hello, I want to fit some non linear models with the Levenberg-Marquardt algorithm. It doesn''t seem to exist any function to do this in R ( well, maybe one does, but I''m a new user, and the only documentation I have is "An introduction to R"). I''d like to know if this function exists, maybe throught an additionnal package. I''d also like to know if if
2000 Feb 10
3
creating a grid of function values
I want to create a grid of function values for use in `contour' or `persp'. The function is the log-likelihood for the gamma. The sample is stored as vector of length 20 called `Survival'. A single evaluation of the log-likelihood at, say, scale = 9 and shape = 10 would be obtained by sum(dgamma(Survival, scale = 9, shape = 10, log = TRUE)) (This may work only 0.99.0, I'm not
2010 Sep 10
2
[xts, quantmod] segfault probelm when I work with memcpy function
Hi, I work with SEXP C code and with xts and quantmod packages. I try to touch how xts internal works. So we have R session and: > ls() character(0) > getSymbols('AAPL') # quantmod package [1] "AAPL" > ls() [1] "AAPL" > str(AAPL) An ?xts? object from 2007-01-03 to 2010-09-09 containing: Data: num [1:929, 1:6] 86.3 84 85.8 86 86.5 ... - attr(*,
2009 Sep 18
4
R on browser
Hi i can get sites that can r code on browser -- View this message in context: http://www.nabble.com/R-on-browser-tp25508719p25508719.html Sent from the R help mailing list archive at Nabble.com.
2003 Nov 21
2
Who can provide me RWeb installation
Hi, RWeb web site is down past couple days, I am insterested in this project and want to try it for my projects. Deos anyone have this installation and user guide? Thanks! Best Regards, WeiQiang Li
2010 May 19
4
R in sandbox/jail (long question)
Hello, I have a setup similar to Rweb ( http://www.math.montana.edu/Rweb/ ): I get R scripts from users and need to execute them in in a safe manner (they are executed automatically, without human inspection). I would like to limit the user's script to reading from STDIN and writing to STDOUT/ERR. Specifically, preventing any kind of interaction with the underlying operating system (files,
2010 Aug 06
1
apply family functions
Hi all, I would like to flag each record in the data according to certain conditions as specified below. For example, If "Close_date" in *dat* is between ("Open" & "Close") or ("Open1" & "Close1") or ("Open2" & "Close2") in *oc, *flag the records as "Valid", otherwise "Invalid" I would like to
2011 Oct 05
2
Question about Rweb
Greetings, I am working on creating an interactive website that will generate R-code for users based in the information they input on the site. Currently, the R-code can be generated and downloaded to be run locally on a computer with R. However, I have noticed a number of applications out there that instead submit the code directly to an R-web server. Some examples seem to be:
2001 Dec 27
3
read input from STDIN
Hello, I have a perl program which produces the input. Instead of print it to a file then let R read the file, I want to let R to read the input directly from the perl output, I am using a PERL IPC::open2 module for this, local (*Read,*Writer); $pid = open2(\*Read, \*Writer, "R --no-save --slave< my.R") #input to R for(){ print Writer data; } close Writer; #R output
2008 Oct 23
1
code works in R desktop but not iin RWeb - I got it working
Hi, I got this working. i had to get rid of an underscore in one of my variable names to work on RWeb. Thanks for your help though!! Natalie __________________ I think you have to be either honest or careful, since the code you submitted to Rweb is different with your former code! Why the condition was changed from "test<-subset(X, GRADE == 7 & Y_Q10A < 9)" to
1998 Jun 17
2
extra arguments to generic functions & bug in model.frame
R developers, 2 things: a bug in model.frame and a question about setup of generic functions. I don't understand the following behavior for generic functions: Suppose I'm working with the cats data in the MASS library and I want to create a formula object to model Hwt on Sex: # This works: > formula(Hwt ~ Sex) Hwt ~ Sex # But the following does not: > formula(Hwt ~ Sex,
2000 Mar 15
4
question
here is another question (kurt already knows about it). i would like to do a client server version of R where the server can run on a unix box and the client is excel ond a win machine. the easiest solution would be running a stdin-stdout version of the server through inetd. but this is vulnerable. so what is needed is a sandbox version of the server, where no acrtive access to the file system is
1997 Aug 29
1
R-beta: ar
I have been trying to get a working version of ar, since I have used it in several calculations in the test suite for my time series library. The following limited version (order.max must be specified and other short comings) works more or less, but the results differ by more than I would expect from those given by Splus. I have tried several variations with no success. If anyone can see a reason