Re: [Rd] rownames() problem with 0-extent arrays (PR#9136)

2006-08-16 Thread Kjetil Brinchmann Halvorsen
Raubertas, Richard wrote: > Prof Ripley, > Thanks for your reply. I've inserted a couple of inline > comments below. > > Rich Raubertas > >> -Original Message- >> From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, August 16, 2006 7:21 AM >> To: Raubertas, Richard >>

Re: [Rd] configure on mac

2006-08-16 Thread Simon Urbanek
On Aug 15, 2006, at 3:21 PM, roger koenker wrote: Sorry this, is my fault: > gcc -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined > dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib - > L/usr/local/lib -o quantreg.so akj.o boot.o chlfct.o cholesky.o > dsel05.o extract

[Rd] S4 creation where= problems

2006-08-16 Thread Martin Morgan
I had this problem creating S4 objects with 'where' > env <- new.env() > setClass("A", where=env) [1] "A" > setClass("A", representation(x="numeric"), where=env) [1] "A" > setClass("A", representation("numeric"), where=env) Error in exists(x, envir, mode, inherits) : invalid first argumen

Re: [Rd] Abnormal behavior of log function (PR#9155)

2006-08-16 Thread Prof Brian Ripley
You do not tell us what log(2^a, a) is on your system. It is likely this is a case of the warning given in ?"==", but we cannot tell from the output shown. R does log(x, 2) more accurately on platforms with a working C function log2: you can see from the configure results if yours is one of thos

[Rd] Abnormal behavior of log function (PR#9155)

2006-08-16 Thread bayes . gene
Full_Name: Biao Li Version: 2.3.1 OS: Mac OS X 10.4.7 (Intel) Submission from: (NULL) (132.192.4.18) I installed R 2.3.1 on my MacBook Pro (Tiger 10.4.7) and found strange behavior of log function: > a <- 1:20 > log(2^a, 2) == a [1] TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE T

Re: [Rd] rownames() problem with 0-extent arrays (PR#9136)

2006-08-16 Thread Raubertas, Richard
Prof Ripley, Thanks for your reply. I've inserted a couple of inline comments below. Rich Raubertas > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 16, 2006 7:21 AM > To: Raubertas, Richard > Cc: r-devel@stat.math.ethz.ch > Subject: Re

Re: [Rd] Using TCP/IP sockets in R

2006-08-16 Thread Jeffrey Horner
Mark Schultz wrote: > Hi All: > I've examined the R documentation on sockets and while I can probably > figure it out with a bit of experimentation, I wondered if anyone has > some sample code they could send me. I'd like to use R > as a statistics server to python clients. Is ist possible to hav

Re: [Rd] how to include a windows dll in a package

2006-08-16 Thread Gabor Csardi
On Wed, Aug 16, 2006 at 10:09:52AM -0400, Allen S. Rout wrote: > Gabor Csardi <[EMAIL PROTECTED]> writes: > > > No problem, libxml2 sources are available, that is fine with the > > GPL. They need not be included in the _same_ package as the > > binaries. > > This is a topic of vigorous debate at

Re: [Rd] how to include a windows dll in a package

2006-08-16 Thread Allen S. Rout
Gabor Csardi <[EMAIL PROTECTED]> writes: > No problem, libxml2 sources are available, that is fine with the > GPL. They need not be included in the _same_ package as the > binaries. This is a topic of vigorous debate at the moment. r-devel is not a good forum in which to repeat the debate, but

Re: [Rd] rownames() problem with 0-extent arrays (PR#9136)

2006-08-16 Thread ripley
The bug here comes from code assuming that paste("row", numeric(0), sep="") is of length 0. See ?paste. Fixed for 2.4.0. On Fri, 11 Aug 2006, [EMAIL PROTECTED] wrote: > [R 2.3.1 on Windows XP] > > Hello, > The 'do.NULL=FALSE' option of 'rownames' and 'colnames' does not > work as documented

Re: [Rd] configure on mac

2006-08-16 Thread Prof Brian Ripley
On Tue, 15 Aug 2006, roger koenker wrote: > Apologies for my ignorance about these matters. All of us except Simon are in the same boat, it seems. It might be helpful to know for his benefit what CPU this is and how you configured R. This seems to a manifestation of an apparent MacOS bug Simon

Re: [Rd] rownames() problem with 0-extent arrays (PR#9136)

2006-08-16 Thread Prof Brian Ripley
R-bugs is not the place to ask questions, see the FAQ On Fri, 11 Aug 2006, [EMAIL PROTECTED] wrote: [...] > A separate but related question (not a bug) has to do with the handling > of dimnames for 0-extent arrays. If an array starts out with non-NULL > dimnames and is subscripted down to

[Rd] Error in options(...) : invalid continue parameter

2006-08-16 Thread Gregor Gorjanc
Hello! It seems that prompt and continue argument of options() must be at least of length one i.e. > options(prompt="") Error in options(...) : prompt parameter invalid > options(prompt=" ") # bla, bla, ... > options(prompt="> ") > # bla, bla, ... > options(continue="") Error in options(...) :

[Rd] fSeries - garchFit (PR#9153)

2006-08-16 Thread r
Full_Name: Ian Gregory Version: 2.1 OS: Windows x64 Submission from: (NULL) (220.236.8.114) fSeries version: 221.10065, Feb 21, 2006. Trying to fit a GARCH(0,1) model with garchFit. Use syntax: formula.mean <- ~arma(0,0); formula.var <- ~garch(0,1) fitaltmodelresults = garchFit( formula.mean,

Re: [Rd] Using TCP/IP sockets in R

2006-08-16 Thread Philippe Grosjean
There is also svSocket in the SciViews bundle. ..<°}))>< ) ) ) ) ) ( ( ( ( (Prof. Philippe Grosjean ) ) ) ) ) ( ( ( ( (Numerical Ecology of Aquatic Systems ) ) ) ) ) Mons-Hainaut University, Belgium ( ( ( ( ( .

Re: [Rd] Using TCP/IP sockets in R

2006-08-16 Thread Barry Rowlingson
Dirk Eddelbuettel wrote: > Are you aware of Simon's Rserve project at http://www.rosuda.org/Rserve/ ? > It already has Java and C++ client code -- it would be nice if you could > add Python client code to this project. I dont think its feature-complete or well-tested or documented and certainly

Re: [Rd] plot with Julian date (PR#9145)

2006-08-16 Thread ripley
You are using the plot method for class "date" from contributed package 'survival', so it was incorrect to post this as a bug report on R itself. See > args(survival:::plot.date) function (x, y, ..., axes, xaxt, xlab, ylab, log = NULL, xlim = range(x, na.rm = TRUE), ylim = range(y, na.rm = T

Re: [Rd] graphics documentation omission (PR#9149)

2006-08-16 Thread Prof Brian Ripley
Please DO try not to file multiple reports on a single subject: this has been filed under PR#9148 and PR#9149 already, both started by RMH. It is important to be aware of the difference between `argument' and `parameter'. 'asp' is an argument, whereas ?par describes parameters (see its title).