Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Petr Savicky wrote: > > On Tue, Mar 24, 2009 at 07:41:31AM -0700, Ulrike Grömping wrote: >> > Probably, k is needed also later. Assumig that 2^k works correctly, >> > the following could be sufficient >> > >> >if (!is.null(nruns)){ >> > k <- round(log2(nruns)) >> > if (!2^k==nr

[Rd] More Embedding REngine in Cocoa

2009-03-24 Thread David Zwerdling
Hello once again, After locating the standalone REngine object set, I am having difficulty integrating them into the XCode project I intend to use them in. Suppose one started with the REngine standalone source and a blank XCode file, what special modifications need to be made to allow the

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Petr Savicky
On Tue, Mar 24, 2009 at 07:41:31AM -0700, Ulrike Grömping wrote: > > Probably, k is needed also later. Assumig that 2^k works correctly, > > the following could be sufficient > > > >if (!is.null(nruns)){ > > k <- round(log2(nruns)) > > if (!2^k==nruns) stop("nruns must be a power o

[Rd] Write in Table with Schema (PR#13622)

2009-03-24 Thread michael . herzhoff
Full_Name: Michael Version: actual OS: windows Submission from: (NULL) (77.87.228.65) To Save Data to MS SQL Server 2005 i take this function: ok <- sqlSave(write_channel , target_data, tablename="Import.R_Data", append=TRUE, fast=FALSE, safer=TRUE, nastring=NULL, rownames=FALSE); The Table with

Re: [Rd] savePlot export "strange" eps (PR#13620)

2009-03-24 Thread Christophe Genolini
Sorry for that... I find a strange behavior in "savePlot" ; before report a bug, I read the posting guide and I try to simplify my exemple as much as possible. Doing this, I change my code and I remove the " type='eps' " option... Sorry ! Let's start this again. When I use savePlot(file="toto

Re: [Rd] [R] variance/mean

2009-03-24 Thread Wacek Kusnierczyk
William Dunlap wrote: > Doesn't Fortran still require that the arguments to > a function not alias each other (in whole or in part)? > what do you mean? the following works pretty fine: echo ' program foo implicit none integer, target :: a = 1 integer, poi

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Petr Savicky wrote: > > On Tue, Mar 24, 2009 at 02:45:57PM +0100, Uwe Ligges wrote: >> >gives the custom error message "nruns must be a power of 2.", which is >> >generated in the first check within function FrF2: >> > >> >if (!is.null(nruns)){ >> > k <- floor(log2(nruns)) >> >

Re: [Rd] savePlot export "strange" eps (PR#13620)

2009-03-24 Thread Uwe Ligges
cgeno...@u-paris10.fr wrote: Full_Name: Christophe Genolini Version: 2.8.1 OS: Windows XP Submission from: (NULL) (82.225.59.146) savePlot export "eps" graph that seems to be incorrect. Looks like you saved an EMF rather than an eps file??? Uwe Ligges Trying to incorporate them in a L

Re: [Rd] dput(as.list(function...)...) bug

2009-03-24 Thread Duncan Murdoch
On 3/24/2009 10:02 AM, Stavros Macrakis wrote: Peter, Duncan, I understand that the missing value indicator is special and will not behave like an ordinary value in evaluation. I was only discussing its handling in the text representation functions dput and dump. Duncan, You are absolutely rig

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Thanks, Uwe, I think that's it! I'll include your fix in the next update. Regards, Ulrike -- Original Message --- From: Uwe Ligges To: Ulrike Grömping Cc: r-devel@r-project.org Sent: Tue, 24 Mar 2009 14:45:57 +0100 Subject: Re: [Rd]  Error in FrF2 example on Mac OS > Ulrik

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Petr Savicky
On Tue, Mar 24, 2009 at 02:45:57PM +0100, Uwe Ligges wrote: > >gives the custom error message "nruns must be a power of 2.", which is > >generated in the first check within function FrF2: > > > >if (!is.null(nruns)){ > > k <- floor(log2(nruns)) > > if (!2^k==nruns) stop("nruns must

Re: [Rd] Size of (objects in) sysdata.rda

2009-03-24 Thread Uwe Ligges
Ulrike Grömping wrote: Dear all, in my package FrF2, I currently face a trade-off of object size and calculation run times. I would like to work with catalogues with some pre-calculated information, and calculate some other information on an as-needed basis. Is there any experience as to wh

Re: [Rd] dput(as.list(function...)...) bug

2009-03-24 Thread Stavros Macrakis
Peter, Duncan, I understand that the missing value indicator is special and will not behave like an ordinary value in evaluation. I was only discussing its handling in the text representation functions dput and dump. Duncan, You are absolutely right that "list(x=)" is parseable (though not evalu

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Uwe Ligges
Ulrike Grömping wrote: Dear all, I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due to an error in an example that ran without error on all other platforms. I do not find any reason for this. In the past, umlauts or tab characters have sometimes been an issue, but I di

Re: [Rd] Is aggregate() function changing?

2009-03-24 Thread Gabor Grothendieck
On Tue, Mar 24, 2009 at 7:07 AM, Duncan Murdoch wrote: > On 24/03/2009 12:44 AM, Kenneth Roy Cabrera Torres wrote: >> >> Hi R developers and debian users: >> >> Finally I found how to work with aggregate() function >> on the last patched version fo R. >> >> I you use this command it fails: >>   ag

Re: [Rd] Is aggregate() function changing?

2009-03-24 Thread Duncan Murdoch
On 24/03/2009 12:44 AM, Kenneth Roy Cabrera Torres wrote: Hi R developers and debian users: Finally I found how to work with aggregate() function on the last patched version fo R. I you use this command it fails: aggregate(state.x77, list(Region = state.region), mean) But if you modify it

[Rd] Is aggregate() function changing?

2009-03-24 Thread Kenneth Roy Cabrera Torres
Hi R developers and debian users: Finally I found how to work with aggregate() function on the last patched version fo R. I you use this command it fails: aggregate(state.x77, list(Region = state.region), mean) But if you modify it in this way, it works!: aggregate(state.x77, list(Region =

[Rd] Size of (objects in) sysdata.rda

2009-03-24 Thread Ulrike Grömping
Dear all, in my package FrF2, I currently face a trade-off of object size and calculation run times. I would like to work with catalogues with some pre-calculated information, and calculate some other information on an as-needed basis. Is there any experience as to what sizes of objects in sysd

[Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Dear all, I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due to an error in an example that ran without error on all other platforms. I do not find any reason for this. In the past, umlauts or tab characters have sometimes been an issue, but I didn't find any of these. Th

Re: [Rd] dput(as.list(function...)...) bug

2009-03-24 Thread Peter Dalgaard
Duncan Murdoch wrote: On 23/03/2009 7:37 PM, Stavros Macrakis wrote: It appears to be the zero-length name: is.name(ff$x) => TRUE as.character(ff$x) => "" This may give you a hint: > y <- ff$x > y Error: argument "y" is missing, with no default It's a special internal thing th