[R] curious code mistakes

2003-01-20 Thread Christian Schulz
hi, know anybody why this happen ? I'm using winedt , the old code saved in an .R call syntax error's. Curious is, when i'm type below the same code , it works ??? ...imho a print type problem, what i'm never before observed and can't recognize with my eyes ? P.S. R.1.6.1 /w2k thanks for

Re: [R] make check for R-1.6.2 on IBM AIX

2003-01-20 Thread ripley
Is this a vanilla installation, not using any BLAS routines? If so, that error code means that the svd was called with a negative number of columns (p in the call). I don't see how that can happen without some memory corruption. The usual ideas apply: run that example on its own, then look at

Re: [R] make check for R-1.6.2 on IBM AIX

2003-01-20 Thread Laurent Gautier
On Mon, Jan 20, 2003 at 08:05:53AM +, [EMAIL PROTECTED] wrote: Is this a vanilla installation, not using any BLAS routines? If so, that error code means that the svd was called with a negative number of columns (p in the call). I don't see how that can happen without some memory

Re: [R] curious code mistakes

2003-01-20 Thread Christian Schulz
many Thanks for hex-editor suggestion , it's a copy paste problem ! christian - Original Message - From: Uwe Ligges [EMAIL PROTECTED] To: Christian Schulz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 10:15 AM Subject: Re: [R] curious code mistakes Christian

Re: [R] Fortran linking problems

2003-01-20 Thread Angel Lopez-Urrutia
Thanks to all, Once I installed readline-dev (and reinstalled Blas/lapack) it worked! I don't know it why this wasn't shown as a dependency when I installed the R rpm! Thanks, Gelu Original Message Follows From: [EMAIL PROTECTED] To: Angel Lopez-Urrutia [EMAIL PROTECTED] CC: [EMAIL

[R] getting attributes of graphics objects

2003-01-20 Thread Serge Boiko
Hi there; Is there a facility to query/get/modify graphics attributes in R? I mean something similar to Matlab's get/set functions, say in order to get x and y data in Matlab I use: h=get(gcf, 'children') xdata=get(h(1), 'xdata') % get x of the first children Is there an R's counterpart? I'm

[R] R analogue

2003-01-20 Thread Vumani Dlamini
Dear R users: Is there any R analogue for the S+ function na.gam.replace. I would like to make an interaction of a categorical and smooth continuous covariate. Thanks. Vumani Dlamini Central Statistical Office Swaziland __ [EMAIL PROTECTED]

Re: [R] R analogue

2003-01-20 Thread ripley
On Mon, 20 Jan 2003, Vumani Dlamini wrote: Is there any R analogue for the S+ function na.gam.replace. No, for it is tailored for use by S's gam. Some of the things it does are positively undesirable! It uses mean imputation for continuous variables, but for factors it makes NA into another

[R] R and gdb

2003-01-20 Thread Pierre-Andre Cornillon
Hi, I have some problem with setting breakpoints with gdb in order to debug some shared library for R. Classical use of gdb work well gcc -g -o footest.o footest.c gdb footest.o b 2 run ... but as i tried to use it with R : $ R -d gdb GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc.

[R] New package on CRAN

2003-01-20 Thread kjetil brinchmann halvorsen
I have uploaded a new package to CRAN - SenSrivastava which contains the data sets for examples and exercices in the book (Springer Verlag) Regression Analysis Theory, Methods and Applications. by A. Sen and M. Srivastava. Kjetil Halvorsen __

[R] Too many e-mails

2003-01-20 Thread Jonathan Williams
Oh dear - I joined the R help mailing list last week, in order to ask a specific question. I did not realise that I would start to receive all e-mails to and from the mailing list. Is there a way of letting me receive only the answers to my own questions? If not, then can you remove me from the

[R] read.table(file=clipboard,...) for R?

2003-01-20 Thread David Parkhurst
I use read.table(file=clipboard,...) a lot in s-plus (under windows 2000), but it does not seem to work in R (and is not in the help screen for read.table). Am I missing something? Would this ability be hard to add? Thanks. Dave Parkhurst __ [EMAIL

Re: [R] Too many e-mails

2003-01-20 Thread Timur Elzhov
On Mon, Jan 20, 2003 at 02:50:36PM -, Jonathan Williams wrote: Oh dear - I joined the R help mailing list last week, in order to ask a specific question. I did not realise that I would start to receive all e-mails to and from the mailing list. Is there a way of letting me receive only

Re: [R] read.table(file=clipboard,...) for R?

2003-01-20 Thread Prof Brian D Ripley
On Mon, 20 Jan 2003, Prof Brian D Ripley wrote: On Mon, 20 Jan 2003, David Parkhurst wrote: I use read.table(file=clipboard,...) a lot in s-plus (under windows 2000), but it does not seem to work in R (and is not in the help screen for read.table). Am I missing something? Would this

[R] dimnames and solve

2003-01-20 Thread Giovanni Marchetti
If I have a covariance matrix V for example V = var(trees) V Girth HeightVolume Girth 9.847914 10.38333 49.88812 Height 10.38 40.6 62.66000 Volume 49.888118 62.66000 270.20280 I woul like that the inverse (i.e. the concentration matrix) had the same dimnames. But

[R] ave across columns

2003-01-20 Thread Truc Truong
Hi: How do I find average across three columns such as weight1, weight2, weight3 (20 people, each person has three different measures)? They have NA's also. Thanks Tom, Univ of Pittsburgh, [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list

Re: [R] Adding reference lines to xyplot

2003-01-20 Thread Deepayan Sarkar
On Monday 20 January 2003 02:37 pm, Rob Balshaw wrote: I'm trying to add a set of reference lines to a multipanel xyplot xyplot(y ~ x | Visit, panel = function(x, y, ...){ panel.xyplot(x, y, ...) abline(v = c(0.5, 1)) }) However, the reference lines are different

Re: [R] ave across columns

2003-01-20 Thread Hedderik van Rijn
x - matrix(rnorm(60),20) x[sample(1:60,10)] - NA apply(x,1,mean,na.rm=T) On Monday, January 20, 2003, at 04:27 PM, Truc Truong wrote: Hi: How do I find average across three columns such as weight1, weight2, weight3 (20 people, each person has three different measures)? They have NA's also.

[R] Orders of terms in formulae

2003-01-20 Thread Simon Wotherspoon
Hi, Given that R reports Type I sums of squares, isn't it a bit anachronistic that it re-orders terms in formulae? d - expand.grid(y=rnorm(8), + A=factor(c(1,2)), + B=factor(c(1,2)), + C=factor(c(1,2))) summary(aov(y ~ A+B+A:B+C,data=d))

[R] Logistic regression: At times correlation matrix of coefficients gets messed up

2003-01-20 Thread Pankaj Choudhary
Hi, When I include a categorical variable (RACE with 3 levels - white, black and other) in my logistic regression model, the correlation matrix of the coefficients gets messed up. I get something like: - Correlation of Coefficients: ( A L RACEb

[R] running R inside of e-macs

2003-01-20 Thread Chris Laura McRae
I can't start r inside of emacs. When I try it says that it cannot find .Rhistory and then it says This program ( pressumably Rterm) has performed an illegal operation and will be shut down.. How can I fix this problem? [[alternate HTML version deleted]]

[R] key in margin area

2003-01-20 Thread Jeremy Z Butler
Hi Is there any way to position a key (legend) outside the plot area? i.e. in the margin between plot area and page margin. I realise I could achieve the same effect by creating a larger plot but not printing the axes and then draw the smaller axes independantly leaving room for the key.

RE: [R] key in margin area

2003-01-20 Thread Adaikalavan Ramasamy
Well, if you don't want to play with the margins, then I guess you have to use the layout() function. You will want something similar to the following if you want legends at the right: def.par - par(no.readonly = TRUE)# save default nf - layout( matrix( c(1,2), nrow=1), c(4,1) ) # If you want

[R] bayesian text classification...

2003-01-20 Thread A.J. Rossini
for Spam. In the process of setting up a more effective spam filtering system, I just noticed that bogofilter, which implements extensions of the (a?) Naive Bayes text classification approach, will dump out R data frames; the man page suggests how to integrate it with R for verification. (sort