Re: [Rd] LAPACK and BLAS libraries

2007-05-30 Thread Prof Brian Ripley
Please don't post to multiple lists. It seems you are using Windows, but have not told us so: this is one of many things in the posting guide you have not followed (and that is why you did not get at least one answer on R-help). There are many packages on CRAN that use LAPACK and work under Win

[Rd] S4 assignment \alias and \usage

2007-05-30 Thread Paul Gilbert
What is the Rd file alias and usage syntax for an S4 assignment method? I have been trying variations on \alias{TSdoc<-,default-method} \usage{ \S4method{TSdoc}{default}(x) <- value but so far I have not got it right according to various codoc, etc, checks. Paul Gilbert ===

[Rd] R 2.5.0 MAC OS X version

2007-05-30 Thread Recai Yucel
Please accept my apologies if this was addressed before, I could not find any solution so I am posting my question here. I am having a lot of difficulties with installing and developing R packages with the latest version of R 2.5.0. I am using a MacBook Pro. I never had these problems with the

Re: [Rd] S4 assignment \alias and \usage

2007-05-30 Thread Seth Falcon
Paul Gilbert <[EMAIL PROTECTED]> writes: > What is the Rd file alias and usage syntax for an S4 assignment method? >I have been trying variations on > > \alias{TSdoc<-,default-method} > > \usage{ > \S4method{TSdoc}{default}(x) <- value > > but so far I have not got it right according to

Re: [Rd] R 2.5.0 MAC OS X version

2007-05-30 Thread Roy Mendelssohn
Hi Recal: To save you from some possible flames, it would probably help if you describe what the problems are, with specific examples and some of the relevant error messages. It would be difficult to for someone to know if they are seeing similar problems without knowing what the problems

Re: [Rd] S4 assignment \alias and \usage

2007-05-30 Thread Martin Maechler
> "PaulG" == Paul Gilbert <[EMAIL PROTECTED]> > on Wed, 30 May 2007 09:27:14 -0400 writes: PaulG> What is the Rd file alias and usage syntax for an S4 assignment method? PaulG> I have been trying variations on PaulG> \alias{TSdoc<-,default-method} Do you really have a

Re: [Rd] R 2.5.0 MAC OS X version

2007-05-30 Thread Prof Brian Ripley
And beyond that good advice, the mailing list for MacOS issues is R-sig-mac. Are you really using 'GNU Fortran 4.2.0' (which was released well after R 2.5.0), or some pre-release of it? Such details do matter. On Wed, 30 May 2007, Roy Mendelssohn wrote: > Hi Recal: > > To save you from some

Re: [Rd] R 2.5.0 MAC OS X version

2007-05-30 Thread Recai Yucel
Right. I thought the problems might be obvious enough for MAC users, probably not! I was mistaken with the GNU Fortran version, it is 4.0 as seen below. A specific example where I had problems is given below: When I try to install a package called lmm (which was installed with no problem with t

Re: [Rd] S4 assignment \alias and \usage

2007-05-30 Thread Paul Gilbert
Let me back up a bit, I may be making another mistake. My code has setGeneric("TSdoc<-", def= function(x, value) standardGeneric("TSdoc<-"), useAsDefault= function (x, value) {attr(x, "TSdoc") <- value ; x }) setGeneric("TSdoc", def= function(x) standardGeneric("TSdoc"), useAsDef

Re: [Rd] S4 assignment \alias and \usage

2007-05-30 Thread Seth Falcon
Paul Gilbert <[EMAIL PROTECTED]> writes: > Let me back up a bit, I may be making another mistake. My code has > > setGeneric("TSdoc<-", >def= function(x, value) standardGeneric("TSdoc<-"), >useAsDefault= function (x, value) {attr(x, "TSdoc") <- value ; x }) > > setGeneric("TSdoc", >de

[Rd] Possible changes to connections

2007-05-30 Thread Prof Brian Ripley
When I originally implemented connections in R 1.2.0, I followed the model in the 'Green Book' closely. There were a number of features that forced a particular implementation, and one was getConnection() that allows one to recreate a connection object from a number. I am wondering if anyone m

Re: [Rd] S4 assignment \alias and \usage

2007-05-30 Thread Prof Brian Ripley
On Wed, 30 May 2007, Seth Falcon wrote: > Paul Gilbert <[EMAIL PROTECTED]> writes: > >> Let me back up a bit, I may be making another mistake. My code has >> >> setGeneric("TSdoc<-", >>def= function(x, value) standardGeneric("TSdoc<-"), >>useAsDefault= function (x, value) {attr(x, "TSdoc"

Re: [Rd] S4 assignment \alias and \usage

2007-05-30 Thread Paul Gilbert
Seth Falcon wrote: > Paul Gilbert <[EMAIL PROTECTED]> writes: > >> Let me back up a bit, I may be making another mistake. My code has >> >> setGeneric("TSdoc<-", >>def= function(x, value) standardGeneric("TSdoc<-"), >>useAsDefault= function (x, value) {attr(x, "TSdoc") <- value ; x }) >

[Rd] Sort in ecdf

2007-05-30 Thread Shiazy Fuzzy
Hi! I've noticed the ecdf() R code (R ver. 2.5.0) contains two call to sort: --- [R-code] --- ecdf <- function(x) x <- sort(x) n <- length(x) if (n < 1) stop("'x' must have 1 or more non-missing values") vals <- sort(unique(x)) rval <- approx

Re: [Rd] Sort in ecdf

2007-05-30 Thread Martin Maechler
> "Shiazy" == Shiazy Fuzzy <[EMAIL PROTECTED]> > on Wed, 30 May 2007 20:07:24 +0200 writes: Shiazy> Hi! Shiazy> I've noticed the ecdf() R code (R ver. 2.5.0) contains two call to sort: Shiazy> --- [R-code] --- Shiazy> ecdf <- function(x) Shiazy> x <- sort(x) Sh

Re: [Rd] Possible changes to connections

2007-05-30 Thread Roger Peng
In a previous version of the 'filehash' package, the 'filehashDB1' class had a slot for an open connection corresponding to the database file. I quickly learned that if the R object ever got removed or reassigned I was left hanging with an open file connection. If I remember correctly, I resorted

Re: [Rd] Possible changes to connections

2007-05-30 Thread Seth Falcon
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > When I originally implemented connections in R 1.2.0, I followed the model > in the 'Green Book' closely. There were a number of features that forced > a particular implementation, and one was getConnection() that allows one > to recreate a connec

Re: [Rd] Possible changes to connections

2007-05-30 Thread Jeffrey Horner
Prof Brian Ripley wrote: > When I originally implemented connections in R 1.2.0, I followed the model > in the 'Green Book' closely. There were a number of features that forced > a particular implementation, and one was getConnection() that allows one > to recreate a connection object from a nu