Re: [Rd] RFC: rawConnection (was "loop connections")

2005-08-31 Thread dhinds
Duncan Murdoch <[EMAIL PROTECTED]> wrote: > I would implement it differently from the way you did. I'd call it > a rawConnection, taking a raw variable (or converting something else > using as.raw) as the input, and providing both text and binary > read/write modes (using the same conventions for

Re: [Rd] RFC: "loop connections"

2005-08-31 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: > Martin Maechler <[EMAIL PROTECTED]> wrote: > > >>I think the main point of David's proposal is still worth >>consideration: One way to see text connections is as a way to >>treat some kind of R objects as "generalized files" i.e., connections. > > > To summarize the

Re: [Rd] 64 bit R for Windows

2005-08-31 Thread Luke Tierney
On Wed, 31 Aug 2005, Duncan Murdoch wrote: Milton Lopez wrote: Duncan: Thanks for your reply. Not being a part of the R world and having to assist with these purchases, I have to ask what "not yet" means. I realize that this is a difficult question to answer even for commercial software, but

Re: [Rd] 64 bit R for Windows

2005-08-31 Thread Duncan Murdoch
Milton Lopez wrote: > Duncan: > > Thanks for your reply. Not being a part of the R world and having to assist > with these purchases, I have to ask what "not yet" means. I realize that this > is a difficult question to answer even for commercial software, but I am > hoping you or someone else o

Re: [Rd] RFC: "loop connections"

2005-08-31 Thread dhinds
Martin Maechler <[EMAIL PROTECTED]> wrote: > I think the main point of David's proposal is still worth > consideration: One way to see text connections is as a way to > treat some kind of R objects as "generalized files" i.e., connections. To summarize the motivation for the proposal, again: -

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
My silly mistake. I didn't get the error message the second time is because I have set LD_LIBRARY_PATH. If this value is unset, I would have gotten the same error message, checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot

Re: [Rd] 64 bit R for Windows

2005-08-31 Thread Milton Lopez
Duncan: Thanks for your reply. Not being a part of the R world and having to assist with these purchases, I have to ask what "not yet" means. I realize that this is a difficult question to answer even for commercial software, but I am hoping you or someone else on the list may shed some additio

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Peter Dalgaard
Jennifer Lai <[EMAIL PROTECTED]> writes: > I can't duplicate the error message. After running "configure > --host=x86_64-unknow-linux-gnu" for the first time, I was able to run > configure without providing --host argument. Even start with a fresh > copy of R-devel didn't help me to get the origin

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
Forgot to mention, here are #define long and int value in config.log from second configure run (without --host argument) | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 Regards, Jennifer Jennifer Lai wrote: > I

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
I can't duplicate the error message. After running "configure --host=x86_64-unknow-linux-gnu" for the first time, I was able to run configure without providing --host argument. Even start with a fresh copy of R-devel didn't help me to get the original error. Is the host info been cached somewhe

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Peter Dalgaard
Jennifer Lai <[EMAIL PROTECTED]> writes: > Hi, > I built R with Portland Group compiler, but I noticed one thing that > when I ran configure for the first time on AMD machine, I got the > following error: > > > checking whether the C compiler works... configure: error: cannot run C > comp

[Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
Hi, I built R with Portland Group compiler, but I noticed one thing that when I ran configure for the first time on AMD machine, I got the following error: checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'

Re: [Rd] update.packages forces Tcl/Tk interface despite ask=TRUE if the DISPLAY environment variable is set (PR#8115)

2005-08-31 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Robert King > Version: 2.1.1 > OS: Linux (debian stable, with backport R) > Submission from: (NULL) (142.58.147.28) > > > update.packages documentation (and code, from what I can make out) says: > > ask: logical indicating whether to ask user before p

[Rd] update.packages forces Tcl/Tk interface despite ask=TRUE if the DISPLAY environment variable is set (PR#8115)

2005-08-31 Thread robert . king
Full_Name: Robert King Version: 2.1.1 OS: Linux (debian stable, with backport R) Submission from: (NULL) (142.58.147.28) update.packages documentation (and code, from what I can make out) says: ask: logical indicating whether to ask user before packages are actually downloaded and

[Rd] R --gui doesn't work, but R --help says it does

2005-08-31 Thread Robert King
This was reported on r-devel in April for 2.1.0, but isn't fixed in 2.1.1 see http://tolstoy.newcastle.edu.au/~rking/R/devel/05/04/0586.html # R --help [ output omitted, until] -g, --gui=TYPEUse TYPE as GUI; possible values are 'X11' (default), 'none', 'Tk' and

[Rd] R CMD check example problem (PR#8113)

2005-08-31 Thread Warnes, Gregory R
[Automatic forwarding from R-bugs failed. This message has been manually forwarded.] Hi all! I'm trying to add Thomas Lumley's defmacro() function Lumley T. "Programmer's Niche: Macros in {R}", R News, 2001, Vol 1, No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/} to the gtools pa

[Rd] Email failure for forwards from [EMAIL PROTECTED] to r-de vel

2005-08-31 Thread Warnes, Gregory R
I just sent a bug report to [EMAIL PROTECTED] Unfortunately, the message forwarding to r-devel failed. It appears that this occurred due an interaction between the forwarding setup and SPF: 1) The forwarded message had From as [EMAIL PROTECTED], 2) Pfizer has SPF records in

[Rd] Bug in copying of S4 objects (PR#8112)

2005-08-31 Thread murdoch
If I have an S4 object, and I make a copy, changes to the original aren't reflected in the copy: > setClass("foo", representation(slot="numeric")) > x <- new("foo", slot=1) > y <- x > [EMAIL PROTECTED] <- 2 > y An object of class "foo" Slot "slot": [1] 1 This is as it should be. However, i

Re: [Rd] .Call and Segmentation Fault

2005-08-31 Thread Huntsinger, Reid
I suggest you look at the code for .Call() in dotcode.c. I suspect the problem is in dealing with R objects, however. You don't show how you get from SEXPs to pointers to pass to Fortran, or what the Fortran routine requires. I don't understand how you can call the "same" function from C. How do

Re: [Rd] So-called 'bug' reports PR#8102 and PR#8103

2005-08-31 Thread Prof Brian Ripley
Windows XP, R-devel (2005-08-31 r35465) > tm <- ISOdate(2005, 08, 29, hour = 12, tz = "EST5EDT") > tm [1] "2005-08-29 12:00:00 EDT" > tm + 0 [1] "2005-08-29 12:00:00 EDT" > tm + 3600 [1] "2005-08-29 13:00:00 EDT" > tm + c(0,1) * 3600 [1] "2005-08-29 12:00:00 EDT" "2005-08-29 13:00:00 EDT" (R 2.1.

Re: [Rd] Old times (PR#8111)

2005-08-31 Thread mailerndr
* * THIS IS AN AUTOMATED RESPONSE * * FROM [EMAIL PROTECTED] * * You have been sent this email because you responded to a Trade Me=20 automated email. =20 We send out a number of emails automatically

[Rd] So-called 'bug' reports PR#8102 and PR#8103

2005-08-31 Thread Prof Brian Ripley
Neither of these have reached me on R-devel (and only PR#8103 is on the archive), and they seem to be the same error although neither mentions the other. That's 'odd', to quote one of them. "EDT" is not a valid POSIX timezone (but, say, EST5EDT is). R's docs are quite clear that what happens

Re: [Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Jari Oksanen
On Wed, 2005-08-31 at 11:23 +0200, Martin Maechler wrote: > Since you didn't use text/plain as content type, your > attachment didn't make it to the list anyway, Yeah, I noticed. > and you have a > second chance: > > Please use a "diff -u" against > >https://svn.R-project.org/R/trunk/s

Re: [Rd] robustness of install.packages/update.packages

2005-08-31 Thread Prof Brian Ripley
On Mon, 29 Aug 2005, Prof Brian Ripley wrote: > On Sun, 28 Aug 2005, Prof Brian Ripley wrote: > >>> After redirecting R 2.1.1 on my laptop to use >>>http://cran.au.r-project.org/ >>> for the CRAN repository, the install.packages() command ran without >>> problems. I issued the command `li

Re: [Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Martin Maechler
One thing I forgot to add: Did you try to include - data frames - other data - S3 generics and methods - S4 generics and methods in the objects you gave to package.skeleton() ? If we want to change the prompt*() functions such that package.skeleton() produces a package that on

Re: [Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Martin Maechler
> "Jari" == Jari Oksanen <[EMAIL PROTECTED]> > on Wed, 31 Aug 2005 11:58:10 +0300 writes: Jari> I find it a bit peculiar that a package skeleton created with a utils Jari> function package.skeleton() fails subsequent R CMD check. I do Jari> understand that the function is i

[Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Jari Oksanen
I find it a bit peculiar that a package skeleton created with a utils function package.skeleton() fails subsequent R CMD check. I do understand that the function is intended to produce only a skeleton that should be edited by the package author. I think that it would be justified to say that the sk

Re: [Rd] Fwd: segfault

2005-08-31 Thread Byron Ellis
There's definitely something a bit strange going on. The arguments as passed to wireframePanelCalculations from the code snippet show only 6060 elements for the z vector (51,101,16 respectively for x,y,rot) while the function routinely tries to access at positions in the z vector >20,000...

Re: [Rd] generic function argument list problem

2005-08-31 Thread Göran Broström
On Wed, Aug 31, 2005 at 09:30:37AM +0200, Martin Maechler wrote: > > "Robin" == Robin Hankin <[EMAIL PROTECTED]> > > on Wed, 31 Aug 2005 08:09:15 +0100 writes: > > Robin> Hi it says in R-exts that > > 1) A method must have all the arguments of the generic, >including

Re: [Rd] generic function argument list problem

2005-08-31 Thread Jari Oksanen
On Wed, 2005-08-31 at 08:09 +0100, Robin Hankin wrote: > Hi > > it says in R-exts that > > > A method must have all the arguments of the generic, > including ... if the generic does. > A method must have arguments in exactly the same order as the > generic. > A method should u

Re: [Rd] generic function argument list problem

2005-08-31 Thread Martin Maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Wed, 31 Aug 2005 08:09:15 +0100 writes: Robin> I am writing a rep() method for objects with class "octonion", and Robin> my function rep.octonion() has argument list (x, times, length.out, Robi

[Rd] pos option to function 'library'

2005-08-31 Thread Mark.Bravington
At the moment, the 'pos' argument to 'library' defaults to 2. Would it be possible to change this default to something functionally like the following? pos= if( is.null( pos.expr <- getOption( 'library.pos.default.expr'))) 2 else eval( pos.expr) The proposal is fully back-compatible in that 'pos'

Re: [Rd] generic function argument list problem

2005-08-31 Thread Martin Maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Wed, 31 Aug 2005 08:09:15 +0100 writes: Robin> Hi it says in R-exts that 1) A method must have all the arguments of the generic, including ... if the generic does. 2) A method must have arguments in exactly the s

[Rd] generic function argument list problem

2005-08-31 Thread Robin Hankin
Hi it says in R-exts that A method must have all the arguments of the generic, including ... if the generic does. A method must have arguments in exactly the same order as the generic. A method should use the same defaults as the generic. So, how come the arguments for rep()