[Rd] R 2.2.0 tooltips

2005-09-26 Thread Gabor Grothendieck
On R 2.2.0 (and maybe earlier ones too) the tooltips on the icons at the top include "load image" and "save image". I find the use of the word image possibly confusing. I had just been editing some graphics images and moved over to R and my first thought was that these would allow me to insert a b

Re: [Rd] constrOptim (PR#8158)

2005-09-26 Thread Duncan Murdoch
On 9/26/2005 6:19 PM, [EMAIL PROTECTED] wrote: > Full_Name: Haobo Ren > Version: 2.1.1 > OS: Windows 2000 > Submission from: (NULL) (192.11.226.116) > > > When running constrOptim, there is error message > > Error: subscript out of bounds > Please test this in the latest beta version, (availab

[Rd] constrOptim (PR#8158)

2005-09-26 Thread hbren
Full_Name: Haobo Ren Version: 2.1.1 OS: Windows 2000 Submission from: (NULL) (192.11.226.116) When running constrOptim, there is error message Error: subscript out of bounds __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread murdoch
On 9/26/2005 10:29 AM, Peter Dalgaard wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> After foo<-list(), foo$bar is NULL, so we can simplify this. >> >> Here's a simpler version: >> >> # These work, which is a bit of a surprise, but there is some >> inconsistency: one x becomes a lis

Re: [Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread Duncan Murdoch
On 9/26/2005 10:29 AM, Peter Dalgaard wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> After foo<-list(), foo$bar is NULL, so we can simplify this. >> >> Here's a simpler version: >> >> # These work, which is a bit of a surprise, but there is some >> inconsistency: one x becomes a lis

Re: [Rd] R's parsing of command line arguments using commandArgs()

2005-09-26 Thread Marc Schwartz (via MN)
On Mon, 2005-09-26 at 17:12 +0100, Prof Brian D Ripley wrote: > On Mon, 26 Sep 2005, Marc Schwartz (via MN) wrote: > > > On Fri, 2005-09-23 at 15:37 -0500, Marc Schwartz (via MN) wrote: [snip] > > > However, if there is any whitespace in the two arguments, such as: > > > > > > R --slave --vanill

Re: [Rd] complex.h in R

2005-09-26 Thread Prof Brian Ripley
On Mon, 26 Sep 2005, Jennifer Lai wrote: > Hi, > > Prof Brian Ripley wrote: > >> On Mon, 26 Sep 2005, Jennifer Lai wrote: >> >>> Hi, >>> I checked config.log and BLAS_LIBS was not set. However, I have set >>> BLAS_LIBS='-L/usr/lib64 -lblas' in config.site file. >>> I can't figure out why BLAS_LI

Re: [Rd] complex.h in R

2005-09-26 Thread Jennifer Lai
Hi, Prof Brian Ripley wrote: > On Mon, 26 Sep 2005, Jennifer Lai wrote: > >> Hi, >> I checked config.log and BLAS_LIBS was not set. However, I have set >> BLAS_LIBS='-L/usr/lib64 -lblas' in config.site file. >> I can't figure out why BLAS_LIBS is not set, when PGI compiler is >> used. When gcc

Re: [Rd] complex.h in R

2005-09-26 Thread Prof Brian Ripley
On Mon, 26 Sep 2005, Jennifer Lai wrote: > Hi, > I checked config.log and BLAS_LIBS was not set. However, I have set > BLAS_LIBS='-L/usr/lib64 -lblas' in config.site file. > I can't figure out why BLAS_LIBS is not set, when PGI compiler is used. When > gcc is used, BLAS_LIBS need not be set in c

Re: [Rd] complex.h in R

2005-09-26 Thread Jennifer Lai
Hi, I checked config.log and BLAS_LIBS was not set. However, I have set BLAS_LIBS='-L/usr/lib64 -lblas' in config.site file. I can't figure out why BLAS_LIBS is not set, when PGI compiler is used. When gcc is used, BLAS_LIBS need not be set in config.site and automatically get picked up by the c

Re: [Rd] R's parsing of command line arguments using commandArgs()

2005-09-26 Thread Prof Brian D Ripley
On Mon, 26 Sep 2005, Marc Schwartz (via MN) wrote: > On Fri, 2005-09-23 at 15:37 -0500, Marc Schwartz (via MN) wrote: > > Hi all, > > > > I am setting up some R program files for use by our DB programmers to > > enable them to utilize some R functions which will be called from within > > TCL code.

Re: [Rd] is.Date function question

2005-09-26 Thread Prof Brian Ripley
inherits(object, "Date") is all that is required. We don't need to complicate R with such simple functions. On Mon, 26 Sep 2005, Charles Dupont wrote: > Why is there no is.Date function in R? I am running 2.1.1 does it exist > in newer version? If there is a reasoning behind the lack of a is.D

Re: [Rd] R's parsing of command line arguments using commandArgs()

2005-09-26 Thread Marc Schwartz (via MN)
On Fri, 2005-09-23 at 15:37 -0500, Marc Schwartz (via MN) wrote: > Hi all, > > I am setting up some R program files for use by our DB programmers to > enable them to utilize some R functions which will be called from within > TCL code. R has been installed on an RHEL server and R will process the

Re: [Rd] is.Date function question

2005-09-26 Thread Gabor Grothendieck
Try this: > is(Sys.Date(), "Date") [1] TRUE > is(33, "Date") [1] FALSE > inherits(Sys.Date(), "Date") [1] TRUE > inherits(33, "Date") [1] FALSE > R.version.string [1] "R version 2.2.0, 2005-09-20" On 9/26/05, Charles Dupont <[EMAIL PROTECTED]> wrote: > Why is there no is.Date function in R? I

[Rd] is.Date function question

2005-09-26 Thread Charles Dupont
Why is there no is.Date function in R? I am running 2.1.1 does it exist in newer version? If there is a reasoning behind the lack of a is.Date function what is it? Thanks Charles -- Charles Dupont Computer System Analyst School of Medicine Phone: (615) 936-6510 Department of

Re: [Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread Peter Dalgaard
Duncan Murdoch <[EMAIL PROTECTED]> writes: > After foo<-list(), foo$bar is NULL, so we can simplify this. > > Here's a simpler version: > > # These work, which is a bit of a surprise, but there is some > inconsistency: one x becomes a list, the other is numeric: > > x <- NULL > > x[[1]] <-

Re: [Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread p . dalgaard
Duncan Murdoch <[EMAIL PROTECTED]> writes: > After foo<-list(), foo$bar is NULL, so we can simplify this. > > Here's a simpler version: > > # These work, which is a bit of a surprise, but there is some > inconsistency: one x becomes a list, the other is numeric: > > x <- NULL > > x[[1]] <-

Re: [Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread Duncan Murdoch
On 9/26/2005 7:34 AM, [EMAIL PROTECTED] wrote: > Full_Name: Jussi Jousimo > Version: 2.2.0 beta > OS: Windows XP > Submission from: (NULL) (193.167.195.60) > > > I'm trying to assign a zero length vector to a list: > > x<-numeric() > length(x) > foo<-list() > foo$bar[[1]]<-x > length(foo$bar[[1]

[Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread jussi . jousimo
Full_Name: Jussi Jousimo Version: 2.2.0 beta OS: Windows XP Submission from: (NULL) (193.167.195.60) I'm trying to assign a zero length vector to a list: x<-numeric() length(x) foo<-list() foo$bar[[1]]<-x length(foo$bar[[1]]) foo But in the list this vector turns out to be length one with rando