Re: [Rd] subsetting a matrix by conditions (PR#9082)

2006-07-16 Thread ripley
On Mon, 17 Jul 2006, [EMAIL PROTECTED] wrote: > Full_Name: Jiancang Zhuang > Version: 2.3.0 > OS: Windows XP, BSD, Linux > Submission from: (NULL) (130.195.2.100) > > > > a<-matrix(scan(), ncol=3, byrow=T) > 1: 6 NA 4 > 4: 5 3 6 > 7: 8 2 9 > 10: 3 6 NA > 13: > Read 12 items > > a > [,1]

[Rd] multiplying multidimensional arrays (was: Re: [R] Manipulation involving arrays)

2006-07-16 Thread Gabor Grothendieck
I am moving this to r-devel. The problem and solution below posted on r-help could have been a bit slicker if %*% worked with multidimensional arrays multiplying them so that if the first arg is a multidimensional array it is mulitplied along the last dimension (and first dimension for the second

[Rd] subsetting a matrix by conditions (PR#9082)

2006-07-16 Thread zhuang
Full_Name: Jiancang Zhuang Version: 2.3.0 OS: Windows XP, BSD, Linux Submission from: (NULL) (130.195.2.100) > a<-matrix(scan(), ncol=3, byrow=T) 1: 6 NA 4 4: 5 3 6 7: 8 2 9 10: 3 6 NA 13: Read 12 items > a [,1] [,2] [,3] [1,]6 NA4 [2,]536 [3,]829 [4,]

Re: [Rd] [R] put R on a web server

2006-07-16 Thread Gabor Grothendieck
Would be useful to have this list added to www.r-project.org web site or CRAN or failing that to the wiki. Sorry if its already there but I googled for the first URL and www.r-project.org and it came up blank. On 7/16/06, Jean lobry <[EMAIL PROTECTED]> wrote: > >Has anyone put R on a web server a

Re: [Rd] Fwd: Generating valid R code using R

2006-07-16 Thread Peter Dalgaard
"Henrik Bengtsson" <[EMAIL PROTECTED]> writes: > Sorry, this question was supposed to go to r-devel; move it there now. /HB > > -- Forwarded message -- > From: Henrik Bengtsson <[EMAIL PROTECTED]> > Date: Jul 16, 2006 11:11 AM > Subject: Generating valid R code using R > To: R-hel

[Rd] Fwd: Generating valid R code using R

2006-07-16 Thread Henrik Bengtsson
Sorry, this question was supposed to go to r-devel; move it there now. /HB -- Forwarded message -- From: Henrik Bengtsson <[EMAIL PROTECTED]> Date: Jul 16, 2006 11:11 AM Subject: Generating valid R code using R To: R-help Hi, I'm trying to generate valid R code using R. Parts o