Re: [Rd] read.table error upon package installation (PR#8230)

2005-10-20 Thread ripley
What is the R error here? The default delimiter in read.table is not \t but whitespace, so the first example has 2 and 3 rows (fine for header=T) and the second has 2 and 4 rows. On Fri, 21 Oct 2005 [EMAIL PROTECTED] wrote: > Upon upgrading to R 2.2.0 on my Windows box, I found that one of my

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread James Wettenhall
Hi again, Peter Kleiweg wrote: > To me, it does not make sense. When I have to work with > something like Word, I am intimidated by lots of buttons with > cryptic icons, with menus and submenus I can't make heads or > tails of, the program doing weird things with my text I don't > understand. A si

[Rd] Error in arima reporting (PR#8231)

2005-10-20 Thread stoffer
When arima is used to fit a time series, the output gives an estimate of the mean of the series, but calls it the intercept. For example, if x(t) = a + b x(t-1) + w(t) is a stationary AR(1) and w(t) is white noise, then mu = a + b mu, or a = mu (1-b), where mu = E(x(t)). Unless b=0, the mean mu

Re: [Rd] md5sum for R-2.2.0-win32.exe ??

2005-10-20 Thread Duncan Murdoch
Peter Dalgaard wrote: > "Charles C. Berry" <[EMAIL PROTECTED]> writes: > > >>I get >> >> c1279b77fcccf40379f59a83523a440e *R-2.2.0-win32.exe >> >>but I see >> >> e8bdf765fe8013129045314c8e2605fd *rw2011.exe >> >>on several USA mirrors. >> >>I hope the latter is merely in need of a repl

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Byron Ellis
On Oct 20, 2005, at 9:21 AM, Walter Johnston wrote: > > And the question: > > Is there a "simple" way (e.g. some socket based mechanism) to > feed commands into R and retrieve the results of those commands? > This would require that I program the sequence of commands I > want to use (or a means

Re: [Rd] image() with all NAs fails (PR#8228)

2005-10-20 Thread Duncan Murdoch
Prof Brian Ripley wrote: > On Thu, 20 Oct 2005 [EMAIL PROTECTED] wrote: > > >>On 10/20/2005 12:41 PM, [EMAIL PROTECTED] wrote: >> >>>Full_Name: Barry Rowlingson >>>Version: 2.2.0 >>>OS: Linux >>>Submission from: (NULL) (194.80.32.8) >>> >>> >>>The image function with a matrix of all NA values fai

Re: [Rd] UML + R

2005-10-20 Thread Gabor Grothendieck
The proto package can draw object inheritance diagrams. On 10/20/05, Seth Falcon <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm considering building some tools to generate UML diagrams of R > packages. > > Q: Does anyone know of existing R code that does UML-ish stuff? > > > Thanks, > > + seth > > _

[Rd] read.table error upon package installation (PR#8230)

2005-10-20 Thread Robert . McGehee
Upon upgrading to R 2.2.0 on my Windows box, I found that one of my packages no longer compiled, giving this error: Error in read.table(zfile, header =3D TRUE) : more columns than column names Execution halted After removing every line of code from my package and still not being able to c

[Rd] UML + R

2005-10-20 Thread Seth Falcon
Hi all, I'm considering building some tools to generate UML diagrams of R packages. Q: Does anyone know of existing R code that does UML-ish stuff? Thanks, + seth __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] md5sum for R-2.2.0-win32.exe ??

2005-10-20 Thread Peter Dalgaard
"Charles C. Berry" <[EMAIL PROTECTED]> writes: > I get > > c1279b77fcccf40379f59a83523a440e *R-2.2.0-win32.exe > > but I see > > e8bdf765fe8013129045314c8e2605fd *rw2011.exe > > on several USA mirrors. > > I hope the latter is merely in need of a replacement and not an > indicat

[Rd] plot.TukeyHSD (PR#8229)

2005-10-20 Thread ehlers
Full_Name: Peter Ehlers Version: "R version 2.2.0, 2005-10-19" OS: Windows XP Submission from: (NULL) (136.159.71.162) The newly added column of adjusted p-values in TukeyHSD output causes a problem with plotting the confidence intervals; an extraneous vertical line segment is plotted. plot.Tuk

Re: [Rd] Error in building package indices

2005-10-20 Thread Prof Brian Ripley
There is not much context here, but it seems this is whilst trying to do an install. I would expect R CMD INSTALL to fail in the same place. It appears to indicate a bug in one of your datasets. On Thu, 20 Oct 2005, Jain, Nitin wrote: > Dear R-devel members, > > We are building a new package (

Re: [Rd] image() with all NAs fails (PR#8228)

2005-10-20 Thread Prof Brian Ripley
On Thu, 20 Oct 2005 [EMAIL PROTECTED] wrote: > On 10/20/2005 12:41 PM, [EMAIL PROTECTED] wrote: >> Full_Name: Barry Rowlingson >> Version: 2.2.0 >> OS: Linux >> Submission from: (NULL) (194.80.32.8) >> >> >> The image function with a matrix of all NA values fails with: >> >>> xyz=list(x=1:3,y=1:4,

Re: [Rd] md5sum for R-2.2.0-win32.exe ??

2005-10-20 Thread Duncan Murdoch
On 10/20/2005 3:44 PM, Charles C. Berry wrote: > I get > > c1279b77fcccf40379f59a83523a440e *R-2.2.0-win32.exe > > but I see > > e8bdf765fe8013129045314c8e2605fd *rw2011.exe > > on several USA mirrors. > > I hope the latter is merely in need of a replacement and not an > indicati

[Rd] Error in building package indices

2005-10-20 Thread Jain, Nitin
Dear R-devel members, We are building a new package (GeneticsBase) for analysis of genetic data . While doing "R CMD check with R-2.1.1, I am getting the following error: ** building package indices ... Error in "colnames<-"(`*tmp*`, value = c("family", "pid", "father", "mother", : len

[Rd] md5sum for R-2.2.0-win32.exe ??

2005-10-20 Thread Charles C. Berry
I get c1279b77fcccf40379f59a83523a440e *R-2.2.0-win32.exe but I see e8bdf765fe8013129045314c8e2605fd *rw2011.exe on several USA mirrors. I hope the latter is merely in need of a replacement and not an indication of a problem with the web sites. Chuck Charles C. Berry

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Gabor Grothendieck
On 10/20/05, Walter Johnston <[EMAIL PROTECTED]> wrote: > > Is there a "simple" way (e.g. some socket based mechanism) to > feed commands into R and retrieve the results of those commands? > This would require that I program the sequence of commands I > want to use (or a means to generate them) an

Re: [Rd] image() with all NAs fails (PR#8228)

2005-10-20 Thread murdoch
On 10/20/2005 12:41 PM, [EMAIL PROTECTED] wrote: > Full_Name: Barry Rowlingson > Version: 2.2.0 > OS: Linux > Submission from: (NULL) (194.80.32.8) > > > The image function with a matrix of all NA values fails with: > >> xyz=list(x=1:3,y=1:4,z=matrix(NA,3,4)) >> image(xyz) > Error in image.defau

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Duncan Murdoch
On 10/20/2005 12:21 PM, Walter Johnston wrote: > And the question: > > Is there a "simple" way (e.g. some socket based mechanism) to > feed commands into R and retrieve the results of those commands? > This would require that I program the sequence of commands I > want to use (or a means to gene

[Rd] [R-gui] R GUI considerations (was: R , Wine, and multi-threadedness)

2005-10-20 Thread Thomas Friedrichsmeier
> Is there a "simple" way (e.g. some socket based mechanism) to > feed commands into R and retrieve the results of those commands? > This would require that I program the sequence of commands I > want to use (or a means to generate them) and then be able parse > the resulting structure - I understa

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Jeffrey J. Hallman
> "b" == Byron Ellis <[EMAIL PROTECTED]> writes: b> On Oct 19, 2005, at 3:43 PM, Jeffrey J. Hallman wrote: >> If you're looking for a GUI toolkit that: >> >> 1. Is cross-platform, >> 2. Has a good collection of widgets that look good on all >> platforms, and >> 3. Is easy to

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Jeffrey . J . Hallman
Walter Johnston <[EMAIL PROTECTED]> wrote on 10/20/2005 12:21:09 PM: > A couple of non-flame comments and a question - > > (1) I have used Smalltalk in various forms and recommend it > highly as an environment (try Squeak for a free implementation); > it is the origin of the model-view-controlle

[Rd] image() with all NAs fails (PR#8228)

2005-10-20 Thread barry . rowlingson
Full_Name: Barry Rowlingson Version: 2.2.0 OS: Linux Submission from: (NULL) (194.80.32.8) The image function with a matrix of all NA values fails with: > xyz=list(x=1:3,y=1:4,z=matrix(NA,3,4)) > image(xyz) Error in image.default(xyz) : invalid z limits In addition: Warning messages: 1: no finit

Re: [Rd] numerical issues in chisq.test(simulate=TRUE) (PR#8224)

2005-10-20 Thread dgrove
Yes, only the middle matrix was problematic. Others were included to show what the value should (approx) be. Sorry that I didn't mention I was using 32 bit. There are of course very easy fixes to this, just wasn't sure what was the "best" approach in this situation (i.e. wasn't sure if the usu

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Walter Johnston
A couple of non-flame comments and a question - (1) I have used Smalltalk in various forms and recommend it highly as an environment (try Squeak for a free implementation); it is the origin of the model-view-controller paradigm for interaction with a GUI. Tcl/Tk is also nice with its event-driven

Re: [Rd] [R-gui] R GUI considerations

2005-10-20 Thread David Meyer
Philippe, > > I CC: this mail directly to the User!2006 organizing committee, > because it is a direct call asking for such a session. Regarding the > organizer, > I wouldn't propose names... someone from the R developer's team, or > a > key person in R GUIs topics... This topic should cer

Re: [Rd] calling fortran from C

2005-10-20 Thread Charles C. Berry
Lapack.c is loaded with examples. Try $ cd $ grep "F77_CALL" ./src/modules/lapack/Lapack.c Did you see 5.6 Calling C from FORTRAN and vice versa in 'Writing R Extensions' ?? On Thu, 20 Oct 2005, James Bullard wrote: > > Hello, I had a question about calling some of R's fortran r

Re: [Rd] calling fortran from C

2005-10-20 Thread Peter Dalgaard
"James Bullard" <[EMAIL PROTECTED]> writes: > Hello, I had a question about calling some of R's fortran routines from C. > Specifically, I would like to call: dqrfit from some C code which will be > bundled as an R package. I was hoping someone knew of an example in some > of R's code which

Re: [Rd] calling fortran from C

2005-10-20 Thread Liaw, Andy
This is in R-exts. If the Fortran subroutine is called `dqrfit', you would use something like: F77_CALL(dqrfit)(...); All arguments need to be pointers, as Fortran passes by reference. Andy > From: James Bullard > > Hello, I had a question about calling some of R's fortran > routines from C.

Re: [Rd] calling fortran from C

2005-10-20 Thread Prof Brian Ripley
On Thu, 20 Oct 2005, James Bullard wrote: > > Hello, I had a question about calling some of R's fortran routines from C. > Specifically, I would like to call: dqrfit from some C code which will be > bundled as an R package. I was hoping someone knew of an example in some > of R's code which does s

Re: [Rd] [R-gui] R GUI considerations

2005-10-20 Thread Liaw, Andy
> From: Philippe Grosjean > > Duncan, > > I agree totally with you on all points, now that we clarified our > respective ideas. I am afraid I probably agree also with your last > point, from a theoretical point-of-view ("I still think we need more > glue and am working on that while we continu

[Rd] calling fortran from C

2005-10-20 Thread James Bullard
Hello, I had a question about calling some of R's fortran routines from C. Specifically, I would like to call: dqrfit from some C code which will be bundled as an R package. I was hoping someone knew of an example in some of R's code which does something like this (any fortran call from R's

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Thomas Friedrichsmeier
> If you want users to be productive, you have to give them > something they can easily incorporate within the tools they use > on a daily basis. No big applications with everything locked in, > but a set of programs or commands that do specific tasks, with > an easy to understand input and output.

Re: [Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)

2005-10-20 Thread Peter Kleiweg
James Wettenhall schreef op de 20e dag van de wijnmaand van het jaar 2005: [...] > providing a GUI to them, getting started in R is less > intimidating for them, so then we can hopefully spend less > time doing mundane numerical computing tasks for our > collaborators and have more time to do o

Re: [Rd] is.na<- problem

2005-10-20 Thread Marc Schwartz
On Thu, 2005-10-20 at 11:34 +0200, Martin Maechler wrote: > > "Marc" == Marc Schwartz <[EMAIL PROTECTED]> > > on Wed, 19 Oct 2005 20:28:05 -0500 writes: >. > > >> > In reviewing the Green Book on the top of page 143, it shows an > example > >> > in which the RH

Re: [Rd] is.na<- problem

2005-10-20 Thread Martin Maechler
> "Marc" == Marc Schwartz <[EMAIL PROTECTED]> > on Wed, 19 Oct 2005 20:28:05 -0500 writes: . >> > In reviewing the Green Book on the top of page 143, it shows an example >> > in which the RHS of the assignment are the indices into the LHS object >> > which ar

Re: [Rd] numerical issues in chisq.test(simulate=TRUE) (PR#8224)

2005-10-20 Thread maechler
Thank you, Douglas (and Simone) for the bug report. > "Simone" == Simone Giannerini <[EMAIL PROTECTED]> > on Thu, 20 Oct 2005 10:10:01 +0200 writes: Simone> Hi, Simone> I obtain the same result under Win. XP SP2 on AMD 64 3700+ Simone> platform i386-pc-mingw32 Simone>

Re: [Rd] extending lattice to S4 classes

2005-10-20 Thread ernesto
Deepayan Sarkar wrote: >On 10/18/05, ernesto <[EMAIL PROTECTED]> wrote: > > >>Prof Brian Ripley wrote: >> >> >> >>>I think you are confusing us: xyplot is an S3 generic with no 'data' >>>argument. It is xyplot.formula that you want to add dispatch on its >>>'data' argument. I don't really

[Rd] read.fwf doesn't work with header = TRUE (PR#8226)

2005-10-20 Thread Emmanuel . Paradis
Full_Name: Emmanuel Paradis Version: 2.1.1 OS: Linux Submission from: (NULL) (193.49.41.105) read.fwf(..., header = TRUE) does not work properly since: 1/ the original header is printed on the console and not in FILE; 2/ the different 'parts' of the header should be separated with tabs to wor

Re: [Rd] numerical issues in chisq.test(simulate=TRUE) (PR#8224)

2005-10-20 Thread Simone Giannerini
Hi, I obtain the same result under Win. XP SP2 on AMD 64 3700+ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major2 minor2.0 year 2005 month10 day 06 svn rev 35749 language R > m <- matrix(c(1,0,7,15),2,2) ; chisq.test(m, sim=TRUE)$p.

Re: [Rd] [R-gui] R GUI considerations

2005-10-20 Thread Philippe Grosjean
Byron Ellis wrote: > [...] > Contrary to popular belief the speed of R's interpreter is rarely the > limiting factor to R's speed. People treating R like C is typically > the limiting factor. You have vector operations, USE THEM. Hey! I vote for a 'fortune' here! > [...] Otherwise, the disc

Re: [Rd] Socks under R

2005-10-20 Thread Rainer M. Krug
That's brilliant! Thanks a lot for your help, Rainer Simon Urbanek wrote: > Rainer, > > On Oct 19, 2005, at 3:29 PM, Rainer M. Krug wrote: > >> when I use >> >> con1 <- socketConnection(...) >> >> in R and want to send text from another application written in Delphi >> to R, do I just have

Re: [Rd] Windows 2000 crash while using rbind (PR#8225)

2005-10-20 Thread ripley
This is a stack-size issue. Windows provides only a small stack by default (2Mb in R 2.2.0). Your example will work in R-patched (which has a 10Mb stack) and R-devel (which has 10Mb and some stack-checking). The non-technical summary is that you ran out of resources. Fortunately we have been