Re: [R] running R from PHP

2004-02-03 Thread Prof Brian Ripley
On Tue, 3 Feb 2004, Philippe Glaziou wrote: > @biology.nmsu.edu <[EMAIL PROTECTED]> wrote: > > I would like to construct a PHP script that runs R to generate a > > graphics file. Running R itself is no problem. However, it seems > > impossible to instantiate one of the graphics devices to create

Re: [R] Order in barchart

2004-02-03 Thread Prof Brian Ripley
I think you misunderstand what barchart does. It expects a formula, not a named vector, as its first argument. nm <- names(T3) z <- factor(nm, levels=nm) barchart(z ~ T3, xlab="Mean Values", col="dark blue") is probably what you are looking for. The factor z is constructed to be in the order

Re: [R] running R from PHP

2004-02-03 Thread Joe Conway
[EMAIL PROTECTED] wrote: Is there a trick to creating a graphics device in the absence of an actual display in order to create an image in a file? Look for Xvfb (X virtual frame buffer). Not sure what OS you are running, but on RH9 and Fedora, at least, there is a package called XFree86-Xvfb. I

[R] R: plotting multiple functions

2004-02-03 Thread allan clark
Hi all Another simple question. I would like to plot three graphs one the same plot with different colours. Say red, blue and black. Here are the functions. r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100) r2<-1+7*sin(2*pi*seq(1:100)/20)+rnorm(100) r3<-1+7*sin(2*pi*seq(1:100)/20)+5*cos(2*pi*seq(1:100)

Re: [R] Stepwise Regression and PLS

2004-02-03 Thread Bjørn-Helge Mevik
"Liaw, Andy" <[EMAIL PROTECTED]> writes: > one needs to be lucky to have the first few PCs correlate well to > the response in case of PCR. Which is one reason PLSR is often preferred over PCR in at least the field of chemometrics. Since the components of PLSR maximise the covariance with the re

[R] filled maps

2004-02-03 Thread Janus Larsen
Hi R-Help, I would like to make filled contour maps of ocean data overlaid by costlines from the map package. I can draw the filled contours and the coastlines om the same plot, but the filled contour also covers part of the land. To get rid of that I tried to draw a filled coastline map on top of

Re: [R] mvrnorm problem

2004-02-03 Thread Torsten Hothorn
> Stuart V Jordan <[EMAIL PROTECTED]> writes: > > > > mvrnorm(n = 1000,B,V) > > Error in mu + eS$vectors %*% diag(sqrt(pmax(ev, 0)), p) %*% t(X) : > > non-conformable arrays > > > mvrnorm(n = 1000,t(B),V) > > Error in mu + eS$vectors %*% diag(sqrt(pmax(ev, 0)), p) %*% t(X) : > > n

Re: [R] R: plotting multiple functions

2004-02-03 Thread Timur Elzhov
On Tue, Feb 03, 2004 at 09:59:31AM +0200, allan clark wrote: > Another simple question. > > I would like to plot three graphs one the same plot with different > colours. Say red, blue and black. Here are the functions. > > r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100) > r2<-1+7*sin(2*pi*seq(1:100)/

[R] Normal distribution

2004-02-03 Thread Laurent Houdusse
Hi all! How to verify a normal distribution in a vector? thanks Laurent Houdusse Analyste Programmeur __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org

Re: [R] R: plotting multiple functions

2004-02-03 Thread Peter Wolf
allan clark wrote: Hi all Another simple question. I would like to plot three graphs one the same plot with different colours. Say red, blue and black. Here are the functions. r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100) r2<-1+7*sin(2*pi*seq(1:100)/20)+rnorm(100) r3<-1+7*sin(2*pi*seq(1:100)/20)+5*

Re: [R] R: plotting multiple functions

2004-02-03 Thread Martin Maechler
> "allan" == allan clark <[EMAIL PROTECTED]> > on Tue, 03 Feb 2004 09:59:31 +0200 writes: allan> Hi all Another simple question. allan> I would like to plot three graphs one the same plot allan> with different colours. Say red, blue and black. Here allan> are the funct

[R] Re: hi

2004-02-03 Thread student . centre
This is an automatic reply. Thank you for emailing the Student Centre at The University of Adelaide. We are currently experiencing a busy time and will attempt to respond to your query within 2 working days. If your inquiry is of a more urgent matter, feel free to call us on: Within Adelaide: 8

[R] Implementating streams in R

2004-02-03 Thread Gabriel Baud-Bovy
Dear all, I have an implementation of streams in R. The current implementation of delay() and force() is inspired from the LISP implementation found in Part VI "Languages for AI problem solving" of "Artificial Intelligence" by G. Luger. I have tested it with the Fibonacci example in the same b

RE: [R] filled maps

2004-02-03 Thread antonio rodriguez
Hi Janus, Try this: filled.contour(x,y,corr.map2, color = terrain.colors, plot.axes = { contour(x,y,corr.map2,nlevels=20, drawlabels = T, frame.plot = FFALSE, add = TRUE); axis(1); axis(2); world(col="red",add=T,lwd=3)}, key.title = title(main="values"), xlab="longitude",ylab="latitude" ) Anto

RE: [R] mvrnorm problem

2004-02-03 Thread Ted Harding
On 02-Feb-04 Stuart V Jordan wrote: > I am trying to simulate draws from a multivariate normal using mvrnorm, > and > am getting the following error message: > > Error in mu + eS$vectors %*% diag(sqrt(pmax(ev, 0)), p) %*% t(X) : > non-conformable arrays [...] Hmmm ... using the

Re: [R] Stepwise Regression and PLS

2004-02-03 Thread Frank E Harrell Jr
On Tue, 03 Feb 2004 09:25:18 +0100 [EMAIL PROTECTED] (Bjørn-Helge Mevik) wrote: > "Liaw, Andy" <[EMAIL PROTECTED]> writes: > > > one needs to be lucky to have the first few PCs correlate well to > > the response in case of PCR. > > Which is one reason PLSR is often preferred over PCR in at least

[R] How to build a AR(q)-GARCH(q) process ?

2004-02-03 Thread M. M. Palhoto N. Rodrigues
Hello all, I would like how to modelized a time serie with AR-ARCH process. It can be used arma and garch functions in tseries package for build ar process or a garch process, but how can it be modelized a ar-garch model ? Thanks [[alternative HTML version deleted]] _

RE: [R] filled maps

2004-02-03 Thread antonio rodriguez
Hi, Some time ago, Roger Peng posted this solution, which I found very useful: junk.mat <- matrix(rnorm(1600), 16, 100) contour.mat <- ifelse(junk.mat < 2, 0, junk.mat) filled.contour(junk.mat, color = terrain.colors, plot.axes = contour(contour.mat, levels = 1,

[R] creating a factor

2004-02-03 Thread Simon Hosking
Hi list, I'd like to make a factor with seven 1s and three 2s using the factor() function. That is, 1 1 1 1 1 1 1 2 2 2 I will then bind this factor to the matrix below using cbind.data.frame(). 0.560.48 0.220.59 0.320.64 0.260.60 0.250.38 0.240.45 0.560.67 0.78

Re: [R] filled maps

2004-02-03 Thread Roger Bivand
On Tue, 3 Feb 2004, Janus Larsen wrote: > Hi R-Help, > > I would like to make filled contour maps of ocean data overlaid by > costlines from the map package. > I can draw the filled contours and the coastlines om the same plot, but > the filled contour also covers part of the land. To get rid of

[R] Ihre Mail "Hello " an

2004-02-03 Thread MailGateway
Ihre Mail vom Tue, 3 Feb 2004 12:47:58 +0100 mit dem Betreff "Hello" enthielt Anhaenge, die nicht den Sicherheitsrichtlinien der Tchibo Frisch-Roest-Kaffee GmbH entsprechen. Die Mail wurde deshalb ohne den entsprechenden Anhang an [EMAIL PROTECTED] zugestellt. Your e-mail send at Tue, 3 Feb 200

Re: [R] output from multcomp and lm

2004-02-03 Thread John Fox
Dear Hiroto, The anova() function reports a sequential analysis of variance, so the test for Cond ignores the covariate. A good guess is that the effect of Cond isn't significant controlling for the covariate. You could instead use drop1() or Anova() in the car package. I hope that this helps,

Re: [R] Implementating streams in R

2004-02-03 Thread Prof Brian Ripley
On Tue, 3 Feb 2004, Gabriel Baud-Bovy wrote: > Dear all, > > I have an implementation of streams in R. The current implementation of > delay() and force() is > inspired from the LISP implementation found in Part VI "Languages for AI > problem solving" of > "Artificial Intelligence" by G. Luger

Re: [R] creating a factor

2004-02-03 Thread Douglas Bates
Simon Hosking <[EMAIL PROTECTED]> writes: > I'd like to make a factor with seven 1s and three 2s using the > factor() function. > That is, > > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 2 > 2 > 2 factor(rep(1:2, c(7,3))) > I will then bind this factor to the matrix below using cbind.data.frame(). > > 0.56

RE: [R] mvrnorm problem

2004-02-03 Thread Prof Brian Ripley
As Peter Dalgaard has already pointed out, you both need to read the help page. If you supply a matrix where the help page asks for a vector, you are likely to get troubles. I will coerce it for the next version, but I would like to point out that in about 12 years of providing mvrnorm (often

[R] Normal distribution

2004-02-03 Thread Laurent Houdusse
I try to use ks.test to determine a normal distribution: x<-c(11.5,27.9,9,10.7,30.0,9.5,14.2,14,9.4,6.1) ks.test(x,function(x) pnorm(x,mean=mean(x),sd=sd(x))) Is it a correct method? I verify with SigmaStat, the D value is the same but the p-value is different, Why?? SigmaStat p-value=0.01 R

Re: [R] Implementating streams in R

2004-02-03 Thread Luke Tierney
I worked on this a bit a while back for a possible article for Rnews that won't get written anytime soon. I've put a snapshot in http://www.stat.uiowa.edu/~luke/R/lazy/ It is based on examples in Paulson's ML book and Abelson and Susman; the overall design seems similar to the one you ha

Re: [R] Implementating streams in R

2004-02-03 Thread Duncan Murdoch
On Tue, 03 Feb 2004 11:40:19 +0100, you wrote: >Dear all, > >I have an implementation of streams in R. ... >More fundamentally, I would appreciate any comment on this implementation >or suggestion about >the best way of implementing streams in R. Could you describe in a language-independent way

[R] R: lags and plots

2004-02-03 Thread allan clark
Hi all I want to calculate certain lags of a time series and plot them simultaneously on a graph. can anyone help? __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-pr

[R] GEE

2004-02-03 Thread Laurent TATIN
Bonjour, J'etudie une population de chevaux en captivite. Je souhaite identifier le ou les facteurs qui influencent la fecondite des femelles (=nombre de poulain= 0 ou 1) depuis 1995 jusqu'a 2003. Les variables explicatives sont donc disponibles pour les femelles par annee : fem1_annee1 fem2_an

Re: [R] Normal distribution

2004-02-03 Thread Peter Dalgaard
Laurent Houdusse <[EMAIL PROTECTED]> writes: > I try to use ks.test to determine a normal distribution: > > x<-c(11.5,27.9,9,10.7,30.0,9.5,14.2,14,9.4,6.1) > ks.test(x,function(x) pnorm(x,mean=mean(x),sd=sd(x))) > > Is it a correct method? > I verify with SigmaStat, the D value is the same but t

Re: [R] creating a factor

2004-02-03 Thread Peter Dalgaard
Simon Hosking <[EMAIL PROTECTED]> writes: > Hi list, > I'd like to make a factor with seven 1s and three 2s using the > factor() function. > That is, > > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 2 > 2 > 2 > > > I will then bind this factor to the matrix below using cbind.data.frame(). > > 0.56 0.48 > 0.

[R] Passing characters by .Call

2004-02-03 Thread wolski
Hi! I try to pass a character by the .Call interface to an c function. And to cast it into a char *ch; Is it possible to do it and how? Eryk __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read th

Re: [R] R: lags and plots

2004-02-03 Thread Spencer Graves
Consider the following: plot(1:9, (1:10)[-1]) lines(1:9, (1:10)[-10]) Does this help? spencer graves allan clark wrote: Hi all I want to calculate certain lags of a time series and plot them simultaneously on a graph. can anyone help?

[R] Re: hello

2004-02-03 Thread infovincierivinci
- The following is an automated response - to your message generated on behalf of [EMAIL PROTECTED] Gentile Cliente, la ringraziamo per averci contattato. La informiamo che abbiamo preso in carico la sua segnalazione. Sarà nostra cura risponderle nel più breve tempo possibile. Vi

[R] Re: Mail Transaction Failed

2004-02-03 Thread ju . souto
Em 3 Feb 2004, [EMAIL PROTECTED] escreveu: >The message cannot be represented in 7-bit ASCII encoding and has been >sent as a binary attachment. > >-- Olá Favor enviar email novamente, pois não conseguir abrir o anexo. Obrigada Jussara _

Re: [R] creating a factor

2004-02-03 Thread John Fox
Dear Simon, One doesn't generally use cbind.data.frame() directly, but rather through the generic function cbind(). I believe that the following will give you what you want: fac <- factor(c(rep(1,7), rep(2,3))) cbind(fac, as.data.frame(mat)) where mat is the matrix. I hope that this helps, Jo

Re: [R] Passing characters by .Call

2004-02-03 Thread Wolski
Hi! Thank a lot! Its what I was looking for. Eryk. *** REPLY SEPARATOR *** On 2/3/2004 at 5:02 PM Roger Bivand wrote: >On Tue, 3 Feb 2004, wolski wrote: > >> Hi! >> >> I try to pass a character by the .Call interface to an c function. And >to cast it into a >> >> char

[R] Message ("The distribution of your message dated Tue, 27...")

2004-02-03 Thread L-Soft list server at Sun Microsystems Inc. (1.8e)
The distribution of your message dated Tue, 27 Jan 2004 09:41:55 -0300 with subject "test" has been postponed because the DOCS list is held. No action is required from you; your message will be reprocessed automatically once the list owner releases the list.

[R] lm coefficients

2004-02-03 Thread Timur Elzhov
Dear R experts, Excuse me if my question will be stupid... I'd like to fit data with x^2 polynomial: d <- read.table(file = "Oleg.dat", head = TRUE) d X T 3720.00 4.113 3715.00 4.123 3710.00 4.132 ... out <- lm(T ~ poly(X, 4), data = d) out Call: lm(formula = T ~ poly

Re: [R] creating a factor

2004-02-03 Thread Robert W. Baer, Ph.D.
> Hi list, > I'd like to make a factor with seven 1s and three 2s using the > factor() function. > That is, > > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 2 > 2 > 2 > > > I will then bind this factor to the matrix below using cbind.data.frame(). > > 0.56 0.48 > 0.22 0.59 > 0.32 0.64 > 0.26 0.60 > 0.25 0.38 > 0.24

Re: [R] creating a factor

2004-02-03 Thread Petr Pikal
Hallo On 3 Feb 2004 at 20:43, Simon Hosking wrote: > Hi list, > I'd like to make a factor with seven 1s and three 2s using the > factor() function. > That is, > your.f <- factor(rep(c(1,2),c(7,3))) > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 2 > 2 > 2 > > > I will then bind this factor to the matrix belo

RE: [R] R: lags and plots

2004-02-03 Thread Wayne Jones
?lag.plot -Original Message- From: allan clark [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 11:58 To: Rhelp Subject: [R] R: lags and plots Hi all I want to calculate certain lags of a time series and plot them simultaneously on a graph. can anyone help? KSS Ltd Seventh Floor St

Re: [R] Order in barchart

2004-02-03 Thread Deepayan Sarkar
On Tuesday 03 February 2004 01:26, Prof Brian Ripley wrote: > I think you misunderstand what barchart does. It expects a formula, not a > named vector, as its first argument. > > nm <- names(T3) > z <- factor(nm, levels=nm) > barchart(z ~ T3, xlab="Mean Values", col="dark blue") > > is probably w

Re: [R] Passing characters by .Call

2004-02-03 Thread Douglas Bates
> On 2/3/2004 at 5:02 PM Roger Bivand wrote: > >Yes. First make sure you have your "Writing R Extensions" handy. Next > >decide whether you are going to use Rdefines.h or Rinternals.h. Then read > >the chosen header file (in R/includes/). (Rdefines.h includes > >Rinternals.h). For example line 255

[R] Prompt / Console problem

2004-02-03 Thread Laetitia Marisa
Hi, I have R installed under a Mandrake linux system and I don't have shell utilities any more under my R console such as completion when writing a file path, back and forth in the history, bindkeys... Moreover when I quit R by saving, no .Rhistory file is created while the .Rdata is. I don't

Re: [R] lm coefficients

2004-02-03 Thread Thomas Lumley
On Tue, 3 Feb 2004, Timur Elzhov wrote: > Dear R experts, > > Excuse me if my question will be stupid... > I'd like to fit data with x^2 polynomial: > > out <- lm(T ~ poly(X, 4), data = d) > out > Call: > lm(formula = T ~ poly(X, 2), data = d) > > Coefficients: > (Intercept) poly(X, 2)1

Re: [R] lm coefficients

2004-02-03 Thread Prof Brian Ripley
Do read ?poly: you have orthogonal polynomials. On Tue, 3 Feb 2004, Timur Elzhov wrote: > Dear R experts, > > Excuse me if my question will be stupid... > I'd like to fit data with x^2 polynomial: > > d <- read.table(file = "Oleg.dat", head = TRUE) > d > X T > 3720.00 4.113 > 37

Re: [R] R: lags and plots

2004-02-03 Thread Achim Zeileis
On Tue, 03 Feb 2004 13:57:53 +0200 allan clark wrote: > Hi all > > I want to calculate certain lags of a time series and plot them > simultaneously on a graph. can anyone help? Something like this? R> x <- ts(cumsum(rnorm(20)), start = 0, freq = 10) R> plot(x) R> lines(lag(x, k = -1), col = 4)

[R] Linux installation problem

2004-02-03 Thread Eric Evans
Hello everyone, I downloaded the latest Linux version of R and tried installing it, but during the installation process I found that this version of R requires tcl 8.3 and tk 8.3. The problem is that I've been unable to find Linux versions of tcl 8.3 and tk 8.3. The only Linux versions of tcl

[R] r-squared equivalent for locally-smoothed figures?

2004-02-03 Thread Stuart Leask
Does anyone know a rough equivalent of the r-squared statistic for lines or surfaces fitted to data using local smoothing (eg. using the sm or locfit libraries)? I feel there must be some manner in which such locally-smoothed figures explain a fraction of the total squared error in the data... Can

Re: [R] R: lags and plots

2004-02-03 Thread Martin Maechler
> "allan" == allan clark <[EMAIL PROTECTED]> > on Tue, 03 Feb 2004 13:57:53 +0200 writes: allan> Hi all I want to calculate certain lags of a time allan> series and plot them simultaneously on a graph. can allan> anyone help? Use lag.plot() {name and part of UI is for S+

Re: [R] Passing characters by .Call

2004-02-03 Thread Roger Bivand
On Tue, 3 Feb 2004, wolski wrote: > Hi! > > I try to pass a character by the .Call interface to an c function. And to cast it > into a > > char *ch; > > Is it possible to do it and how? > Yes. First make sure you have your "Writing R Extensions" handy. Next decide whether you are going to

[R] Linux R installation problem, never mind....

2004-02-03 Thread Eric Evans
Hi friends, Please disregard my previous plea for help. I finally found the tcl/tk packages I needed in order to get the Linux version of R to install. The tcl/tk packages can be found at http://prdownloads.sourceforge.net/tcl/. Eric __ [EMAIL PROT

Re: [R] filled maps

2004-02-03 Thread Ray Brownrigg
> Date: Tue, 3 Feb 2004 11:34:06 +0100 (CET) > From: Roger Bivand <[EMAIL PROTECTED]> > > On Tue, 3 Feb 2004, Janus Larsen wrote: > > > Hi R-Help, > > > > I would like to make filled contour maps of ocean data overlaid by > > costlines from the map package. > > I can draw the filled contours and

[R] how to change one of the axis to normal probability scale

2004-02-03 Thread C Chang
Hi, I would like to plot a graph with one axis in log scale and the other in normal probability scale using R. I cannot change the axis scale to probability scale. What can be a solution? Thanks. CT __ [EMAIL PROTECTED] mailing list https://www.stat.mat

[R] Locate a warning

2004-02-03 Thread Sebastien Durand
I am writing my own program in R through Mac os X terminal. Here is my question, is there an easy way to find on which line warnings are created I am getting the following warning: Warning message: number of items to replace is not a multiple of replacement length You I just would be happy to fi

[R] S language

2004-02-03 Thread john lewis
Hello I just received an email from Insightful, Inc. saying that they have purchased the S license from Lucent Technologies. Will this have any major impact on R or the future development of R? John Lewis [[alternative HTML version deleted]] __

Re: [R] r-squared equivalent for locally-smoothed figures?

2004-02-03 Thread John Fox
Dear Stuart, Since residuals(mod) works for models fit by locfit(), you could calculate an analog to R^2 as 1 - (sum(residuals(mod)^2)/sum((y - mean(y))^2). I'm not sure whether you can get residuals from sm. I hope that this helps, John At 03:44 PM 2/3/2004 +, Stuart Leask wrote: Does any

[R] problem with read.table

2004-02-03 Thread ryszard . czerminski
Any ideas why read.table complains about not correct number of elements in line while readLine/strsplit indicate that all lines have the same number of elements ? R > tbl <- read.table('tmp', header = T, sep = '\t') Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec,

RE: [R] how to change one of the axis to normal probability scale

2004-02-03 Thread Charles Annis, P.E.
Dear C. Chang: It's very helpful to draw your own grid in situations like this. I have included the code for mine below. First some disclaimers: 1) The probability axis goes from p=1.e-7 to p=1-1.e-7, ridiculous extrapolations by most accounts. However, the engineers with whom I work do this e

Re: [R] lm coefficients

2004-02-03 Thread Sundar Dorai-Raj
Look at ?poly. It's doing something your not expecting. What you want is lm(T ~ X + I(X^2), data = d) Regards, Sundar Timur Elzhov wrote: Dear R experts, Excuse me if my question will be stupid... I'd like to fit data with x^2 polynomial: d <- read.table(file = "Oleg.dat", head = TRUE) d X

Re: [R] problem with read.table

2004-02-03 Thread Douglas Bates
[EMAIL PROTECTED] writes: > Any ideas why read.table complains about not correct number of elements in > line > while readLine/strsplit indicate that all lines have the same number of > elements ? > > R > > > > tbl <- read.table('tmp', header = T, sep = '\t') > Error in scan(file = file, what

Re: [R] lm coefficients

2004-02-03 Thread Spencer Graves
The function "poly" produces orthogonal polynomials, and those depend on the exact combinations of levels of X in "d". Consider the following: > round(poly(1:3, 2), 2) 1 2 [1,] -0.71 0.41 [2,] 0.00 -0.82 [3,] 0.71 0.41 > round(poly(1:4, 2), 2) 12 [1,] -0.67 0.

Re: [R] How to build a AR(q)-GARCH(q) process ?

2004-02-03 Thread Adrian Trapletti
Hello all, I would like how to modelized a time serie with AR-ARCH process. It can be used arma and garch functions in tseries package for build ar process or a garch process, but how can it be modelized a ar-garch model ? Thanks [[alternative HTML version deleted]] For example, foll

[R] peter

2004-02-03 Thread Thomas Koenig
-- Thomas Koenig Epigenomics AG www.epigenomics.com Kastanienallee 24 10435 Berlin __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] Prompt / Console problem

2004-02-03 Thread Roger D. Peng
The features you are looking for are provided to R by the readline library. Most likely, your version of R was not built with readline support. On some Linux distributions with package management systems (I'm not sure about Mandrake), you sometimes need to install a package named readline-dev

Re: [R] Prompt / Console problem

2004-02-03 Thread Prof Brian Ripley
It depends on having readline available. If you compiled this yourself, please consult the R-admin manual (as INSTALL asks). If you installed an RPM, please talk to the provider of the RPM. On Tue, 3 Feb 2004, Laetitia Marisa wrote: > I have R installed under a Mandrake linux system and I don

[R] Insightful acquires "S" language

2004-02-03 Thread partha_bagchi
Has anyone else received an email saying that Insightful has acquired the S programming language? What do you think is the impact (if any) of this news on R? Partha __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-hel

Re: [R] How to build a AR(q)-GARCH(q) process ?

2004-02-03 Thread Patrick Burns
In the absence of a function that will estimate a joint AR-GARCH model, you can estimate them separately. So you could estimate the AR parameters and then estimate GARCH on the residuals from the AR model. I know that MA parameter estimates are quite robust to GARCH. I don't know for sure that AR

[R] S

2004-02-03 Thread Nathan Leon Pace, MD, MStat
The Splus people have bought S from lucent. Does that have implications for R? Nathan Nathan Leon Pace, MD, MStat Work:[EMAIL PROTECTED] Department of AnesthesiologyHome:[EMAIL PROTECTED] University of Utah Work:801.581.6393 Salt Lake City, Utah

[R] Error in f(x, ...) : subscript out of bounds

2004-02-03 Thread Jason . L . Higbee
R-Listers: I am doing a quasi-maximum likelihood estimation and I get a "subscript out of bound" error message, Typically I would think this means that a subscript used in the function is literally out of bounds however I don't think this is the case. All I change in the code is a constant, t

Re: [R] problem with read.table

2004-02-03 Thread Prof Brian Ripley
On Tue, 3 Feb 2004 [EMAIL PROTECTED] wrote: > Any ideas why read.table complains about not correct number of elements in > line > while readLine/strsplit indicate that all lines have the same number of > elements ? That is what count.fields is for. Setting fill=TRUE in read.table can help det

Re: [R] Robust regression of nonlinear function

2004-02-03 Thread cstrato
Dear Spencer and all As you see, I have changed the subject title, because at the moment this was my interest. ad 2, I am checking always MASS first. ad 1, As mentioned above, I wanted to do a robust fit of a nonlinear function, although robust nonlinear regression is also of interest to me. Than

[R] Re: R Home Page Graphic Competition

2004-02-03 Thread Paul Murrell
Hi Due to the low number of entries received so far, the deadline for the R Home Page Graphic Competition has been extended to February 29 2004. The free registration to useR! 2004 is still available and if we do not receive any image that we can use for the home page, we will draw a name at r

[R] Novice problems with write()

2004-02-03 Thread Bret Collier
R-Users, As a relatively new user of R, I have a quick (and probably simple) question about using write(). I have a population simulation that I am running and I want to output a set of variables for each run of the simulation into a text file for use in another program. However, whene

Re: [R] Linux installation problem

2004-02-03 Thread Peter Dalgaard
Eric Evans <[EMAIL PROTECTED]> writes: > Hello everyone, > > I downloaded the latest Linux version of R and tried installing it, > but during the installation process I found that this version of R > requires tcl 8.3 and tk 8.3. The problem is that I've been unable to > find Linux versions of tc

Re: [R] how to change one of the axis to normal probability scale

2004-02-03 Thread Duncan Murdoch
On 03 Feb 2004 20:50:36 +, C Chang <[EMAIL PROTECTED]> wrote : >Hi, > >I would like to plot a graph with one axis in log scale and the other in >normal probability scale using R. I cannot change the axis scale to >probability scale. What can be a solution? Thanks. You should plot with "axes=

RE: [R] Locate a warning

2004-02-03 Thread Liaw, Andy
Try options(warn=2) and run your code again, and perhaps traceback() afterward. HTH, Andy > From: Sebastien Durand > > I am writing my own program in R through Mac os X terminal. > Here is my question, is there an easy way to find on which line > warnings are created > > I am getting the follo

RE: [R] Novice problems with write()

2004-02-03 Thread Liaw, Andy
> From: Bret Collier > > R-Users, > As a relatively new user of R, I have a quick (and probably > simple) question about using write(). I have a population > simulation that > I am running and I want to output a set of variables for each > run of the > simulation into a text file fo

RE: [R] S language

2004-02-03 Thread Liaw, Andy
I'm probably the least authoratative to say anything, but before we get a flood of messages like this... (IMHO) in a word, "nothing". What Insightful aquired (I believe) is the right to the core S code that were used underneath S-PLUS. Without this right, Insightful would have to renew the licen

[R] Clustering with 'agnes'

2004-02-03 Thread Arnav Sheth
Hello, I had a question regarding clustering using the agnes() function from the 'cluster' package. I was wondering if anyone knew how I can identify cluster points after running the agnes function. For example, I created a dataset with points randomly scattered around (0,0), (0,1) and (1,0

Re: [R] Directory-like data organisation w/ environments?

2004-02-03 Thread Mark.Bravington
> -Original Message- > > Dear r-users! > > I wonder if there is a way of designing a directory like > structure for holding my data using environments? > > It would be nice if I could implement a kind of 'cd' command > to change to a differend environment etc. > > Can anybody give me

Re: [R] Re: R Home Page Graphic Competition

2004-02-03 Thread Marc Schwartz
On Tue, 2004-02-03 at 13:41, Paul Murrell wrote: > Hi > > Due to the low number of entries received so far, the deadline for the R > Home Page Graphic Competition has been extended to February 29 2004. > > The free registration to useR! 2004 is still available and if we do not > receive any ima