Re: [Rd] LazyLoad Depends

2004-10-08 Thread Prof Brian Ripley
On Fri, 8 Oct 2004, Paul Gilbert wrote: I have added LazyLoad and LazyData to the DESCRIPTION files for my packages. This does not seem to cause problems with R-1.9.1 (although, if I understand correctly, it does not do anything). Should I be Correctly. specifying Depends: R (=

Re: [Rd] R-2.0.0 findVar and findFun question

2004-10-08 Thread Prof Brian Ripley
On Fri, 8 Oct 2004, Matjaz Kukar wrote: Dear all, when working on a project with embedded R, I found out that R-2.0.0 causes a problem where older versions worked OK. Rf_findVar(...) causes the following error when used to find a generic function (such as print): fun =

Re: [Rd] two help problems in R-2.0.0 for Windows (PR#7269)

2004-10-07 Thread Prof Brian Ripley
On Thu, 7 Oct 2004 [EMAIL PROTECTED] wrote: Well, for htmlhelp, there is another error. The browser (e.g. Mozilla 1.7.3) tries to open T:\R\library\stats\html/Normal.html and has problems with different kinds of slashes (/ vs. \). I can't reproduce that. I get forward slashes only. Can you

Re: [Rd] R2.0.0 bug in function vcov in library survival (PR#7266)

2004-10-06 Thread Prof Brian Ripley
Those vcov methods were removed from stats at 2004-08-28 20:40:13 +0100 survival now has vcov.{coxph,survreg} Looks like they have been removed from survival since: that is where they should be. They are very simple -- vcov.coxph - vcov.survreg - function (object, ...) object$var On Wed, 6

[Rd] Re: R2.0.0 bug in function vcov in library survival (PR#7266)

2004-10-06 Thread Prof Brian Ripley
On Wed, 6 Oct 2004, Thomas Lumley wrote: On Wed, 6 Oct 2004, Prof Brian Ripley wrote: Those vcov methods were removed from stats at 2004-08-28 20:40:13 +0100 survival now has vcov.{coxph,survreg} Looks like they have been removed from survival since: that is where they should

Re: [Rd] Package Installation in RGui (PR#7262)

2004-10-05 Thread Prof Brian Ripley
On Tue, 5 Oct 2004 [EMAIL PROTECTED] wrote: Full_Name: Heather Turner Version: 2.0.0 OS: Windows NT Submission from: (NULL) (137.205.8.2) I tried using the Packages menu to install the gam package and get the following output: local({a - CRAN.packages() +

Re: [Rd] compilation problem R2.0.0 Linux SuSE8.2 (PR#7263)

2004-10-05 Thread Prof Brian Ripley
Why do you think this is a bug in R? Have you read what the FAQ says about BUGS? R 2.0.0 has been under alpha/beta test for a month and has been tested on scores of Linux boxes. It looks like a problem with your Linux installation to me, specifically with your tcltk installation in the first

Re: [Rd] compilation problem R2.0.0 Linux SuSE8.2 (PR#7263)

2004-10-05 Thread Prof Brian Ripley
On Tue, 5 Oct 2004, Patrick Drechsler wrote: Thanks fofr the quick reply! Brian Ripley wrote on 05 Oct 2004 20:03:12 MET: Why do you think this is a bug in R? Sorry, it was not my intention to imply this was a bug. I just figured that people reading the bug list might be able to help

(PR#7257) Re: [Rd] bzip2 directory won't build on OSF1 due to C99 code and -std1 option

2004-10-01 Thread Prof Brian Ripley
What `C99 code' is that? It passes conformance tests on a very strict C89 compiler. Please don't expect us to guess what you have in mind, for we haven't a clue. Please read the section on BUGS in the FAQ, and tell us the symptoms, not your guess as to the diagnosis. AFAIK, R's configure

Re: (PR#7257) Re: [Rd] bzip2 directory won't build on OSF1 due to C99 code and -std1 option

2004-10-01 Thread Prof Brian Ripley
' is not allowed. [I use CFLAGS for making my test compilers as picky as possible.] On Fri, 1 Oct 2004, Michael Hoffman wrote: On Fri, 1 Oct 2004, Prof Brian Ripley wrote: What `C99 code' is that? Specifically it uses the inline keyword. I do not believe that is supported by a strict C89 compiler

Re: [Rd] R-2.0.0 Install problem for pkg bundle w inter-dependent namespaces

2004-09-20 Thread Prof Brian Ripley
On Mon, 20 Sep 2004, Martin Maechler wrote: Greg == Warnes, Gregory R [EMAIL PROTECTED] on Fri, 17 Sep 2004 14:18:29 -0400 writes: Greg I have a revised version of the gregmisc package, Greg which I've converted into a package bundle each of Greg which has a namespace:

Re: [Rd] Namespace problem

2004-09-20 Thread Prof Brian Ripley
Please try to load/attach your package before trying to check it -- you will get more informative error messages from library(eha). The message is almost certainly spurious, because your package is too badly broken to be loaded. We've seen quite a few examples in package testing, but have not

Re: [Rd] problem typcasting return of R_ExternalPtrAddr(SEXP s)

2004-09-20 Thread Prof Brian Ripley
It's a warning, and occurs several times in R itself. I don't think it is fatal to live with it. There exists systems on which function pointers are not simple pointers, but probably none of them run R -- and they do not support dynamic loading of packages' DLLs if they do. On Mon, 20 Sep

Re: [Rd] R CMD INSTALL doesn't always clean up (PR#7230)

2004-09-16 Thread Prof Brian Ripley
1) Please give us a reproducible example, as asked in the FAQ. 2) We are in alpha test, near beta test, of R 2.0.0, so please check your examples under the public alphas of R 2.0.0. On Wed, 15 Sep 2004 [EMAIL PROTECTED] wrote: Full_Name: Eric van Gyzen Version: 1.9.1 OS: FreeBSD Submission

Re: [Rd] cor() fails with big dataframe

2004-09-16 Thread Prof Brian Ripley
We do not in general say things like `can be coerced'. It's taken for granted, and hard to be precise (your phrase is not precise, for there are non-numeric matrices that will be coerced, too). We do expect what is stated as valid input to work, and do encourage users to coerce objects

Re: [Rd] Problems with Rcmd check in rw2000dev

2004-09-16 Thread Prof Brian Ripley
Your subject is I think misleading as you say Just checked: Running Rcmd check under rw1091 gives exactly the same error. So it appears to be a problem with your package. The version of SenSrivastava on CRAN does work for me on current rw2000dev. On Thu, 16 Sep 2004, Kjetil Brinchmann

Re: [Rd] file.info() on file larger than 2GB

2004-09-15 Thread Prof Brian Ripley
lines from here and there including near the end, both as a plain file and as a gzip-ed file. And file.info reports correctly. On Tue, 31 Aug 2004, Prof Brian Ripley wrote: This is a purely OS issue: your OS has not been set up so the fopen and stat calls handle 2Gb files. There is one R

Re: [Rd] Bug in merge() in R-2.0.0 alpha

2004-09-15 Thread Prof Brian Ripley
On Wed, 15 Sep 2004, Uwe Ligges wrote: In some cases, merge() has a problem in R-2.0.0 alpha (2004-09-14): x - structure(c(a, b, 2, 0.2-26, O, O), .Dim = c(2, 3), .Dimnames = list(c(1, 2), c(P, V, 2))) y - structure(c(a, b, 2, 0.2-25, O, O), .Dim = c(2, 3), .Dimnames =

Re: [Rd] memory allocation questions

2004-09-14 Thread Prof Brian Ripley
On Tue, 14 Sep 2004 [EMAIL PROTECTED] wrote: My second question is: if I do use the R replacements, what are their names nowadays? R-EXTS refers to Calloc, Realloc and Free, but these aren't exported by R.DLL (for R1.9.0 or 1.9.1) and I couldn't find mention of any name change in the

Re: [Rd] reorder [stats] and reorder.factor [lattice]

2004-09-14 Thread Prof Brian Ripley
Summary: I have just put a version in stats as supplied by Deepayan. It is more or less the same as that in Trellis (there never was one in lattice AFAIK), except that the result is by default only ordered if the input was, and the `scores' used to do the ordering are returned. (Both points I

Re: [Rd] documentation error par(cin) and par(cra) (PR#7227)

2004-09-14 Thread Prof Brian Ripley
On Tue, 14 Sep 2004 [EMAIL PROTECTED] wrote: the help of par() claims that cin and cra are c(width, height) That is the design intention. but it appears to be rather c(height, width) On what evidence? W has no descenders, so its height is less than the typical box. It's coincidence,

Re: [Rd] how to use update if method for formula is not in namespace?

2004-09-14 Thread Prof Brian Ripley
On Tue, 14 Sep 2004, Liaw, Andy wrote: Dear R-devel, I've noticed that if the method for formula is not exported in NAMESPACE, then update() would fail. As an example: library(e1071) data(iris) iris.svm - svm(Species ~ ., data=iris) update(iris.svm) Error in eval(expr, envir,

Re: [Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!

2004-09-13 Thread Prof Brian Ripley
This has been in the R-admin manual for a least a week, and I reported it here earlier than that. R 2.0.0 alpha does not allow f2c on 64-bit platforms. It's all been dealt with quite awhile ago On Sun, 12 Sep 2004 [EMAIL PROTECTED] wrote: from the gentoo folks, on f2c problems with R

Re: [Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!

2004-09-13 Thread Prof Brian Ripley
On Mon, 13 Sep 2004, Prof Brian Ripley wrote: This has been in the R-admin manual for a least a week, and I reported it here earlier than that. R 2.0.0 alpha does not allow f2c on 64-bit platforms. It's all been dealt with quite awhile ago On Sun, 12 Sep 2004 [EMAIL PROTECTED

Re: [Rd] Problem with mle in stats4 (R 1.9.1)

2004-09-13 Thread Prof Brian Ripley
We are currently on R 2.0.0 alpha. If you submit a bug fix, preferably this week and at the latest next week, it will be considered for 2.0.0. Please take seriously that R is an open project and does not have `staff' to fix bugs. If you think it is worth fixing, please fix it for us by

Re: [Rd] bitmap() doesn't finish with file in Windows (PR#7224)

2004-09-13 Thread Prof Brian Ripley
This is deliberate, as processing can take a long time and we don't want to lock R whilst a printer prints a file for example. Just insert a sleep(1). It certainly is not a bug, as no one said you would be able to access a file immediately. On Mon, 13 Sep 2004 [EMAIL PROTECTED] wrote:

RE: [Rd] (PR#7225) propogation of rounding error for t.tests with unequal sample sizes (PR#7225)

2004-09-13 Thread Prof Brian Ripley
hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -1.322366e-15 -4.539911e-16 sample estimates: mean in group one mean in group two 2.1 2.1 -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED

Re: [Rd] Rd syntax error detected in CRAN daily checks

2004-09-09 Thread Prof Brian Ripley
Frank, The version of Design on CRAN Package: Design Version: 2.0-8 Date: 2004-05-31 has \alias{%ia%} and that has two unescaped comment characters which I guess you have already fixed. Brian On Thu, 9 Sep 2004, Frank E Harrell Jr wrote: Please forgive me if you already received this. I

Re: [Rd] man page of hist points to truehist, which can't be viewed without loading a library?

2004-09-09 Thread Prof Brian Ripley
On Thu, 9 Sep 2004, A.J. Rossini wrote: rdevel from yesterday, also in 1.9.1 (Debian, -3). The man page of 'hist' (from the graphics package, obtained by ?hist) suggests 'truehist' under see also, but 'truehist' isn't loaded by default (a sensible of course), so that ?truehist fails. One

Re: [Rd] man page of hist points to truehist, which can't be viewed without loading a library?

2004-09-09 Thread Prof Brian Ripley
On Thu, 9 Sep 2004, A.J. Rossini wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: On Thu, 9 Sep 2004, A.J. Rossini wrote: rdevel from yesterday, also in 1.9.1 (Debian, -3). The man page of 'hist' (from the graphics package, obtained by ?hist) suggests 'truehist' under see

Re: [Rd] hist( ) fails with 'Inf' values unlike plot( ) (PR#7220)

2004-09-09 Thread Prof Brian Ripley
One problem here is pretty() which should accept non-finite values as it does in S. It will in 2.0.0. It is easiest to change !is.na to is.finite, which is what some plot() methods use. On Thu, 9 Sep 2004 [EMAIL PROTECTED] wrote: Full_Name: Elizabeth Purdom Version: 1.9.1 OS: Windows

RE: [Rd] having trouble building r-devel

2004-09-08 Thread Prof Brian Ripley
On Wed, 8 Sep 2004 [EMAIL PROTECTED] wrote: When I set PATH to start with a dot (looking at the INSTALL file section on Check your path), make fails again with the .install_package_description error. So it looks like either (i) the documentation should be changed to tell the user to reset

[Rd] Re: argument srt for mtext(); was: [R] using text on the x axis ticks rather than numbers

2004-09-08 Thread Prof Brian Ripley
On Wed, 8 Sep 2004, Uwe Ligges wrote: Prof Brian Ripley wrote: On Tue, 7 Sep 2004, Adaikalavan Ramasamy wrote: Out of curiosity, why is srt not respected in mtext ? See examples below It doesn't make a lot of sense. mtext is about putting text on margin lines, and even

Re: [Rd] Re: argument srt for mtext(); was: [R] using text on the x axis ticks rather than numbers

2004-09-08 Thread Prof Brian Ripley
On Wed, 8 Sep 2004, Prof Brian Ripley wrote: On Wed, 8 Sep 2004, Uwe Ligges wrote: [...] Indeed, I think it is possible to provide an srt command (e.g. in half a year for something like R-2.1.0). What is expected for srt = 0? a) the current behaviour, i.e. srt=0 in respect to the las

RE: [Rd] having trouble building r-devel

2004-09-08 Thread Prof Brian Ripley
On Wed, 8 Sep 2004 [EMAIL PROTECTED] wrote: Aha-- thanks! Or I've gotten my wires crossed... The latter. Try commenting out # path (possibly full path) to same version of R on the host system # R_EXE=R ^^ in MkRules. It's uncommented there from experiments with

Re: [Rd] A couple of issues with colClasses/setAs

2004-09-08 Thread Prof Brian Ripley
From ?read.table (this is about read.table, despite the subject line, I believe?) colClasses: character. A vector of classes to be assumed for the columns. NULL is not a class in my book (and certainly not one a column can have). So no wonder it does not work, and it is not a bug not to work

Re: [Rd] A couple of issues with colClasses/setAs

2004-09-08 Thread Prof Brian Ripley
On 8 Sep 2004, Peter Dalgaard wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: etc? Or perhaps it is better with a catchall Date-fmt, i.e., e.g., Date-%Y%m%d? That'd be fairly easy to code: else if (length(grep(^Date-,colClasses[i]))) as.Date(data[[i]], sub(^Date

Re: [Rd] First testing of R-2.0.0 alpha on Gentoo Linux

2004-09-07 Thread Prof Brian Ripley
On 7 Sep 2004, Peter Dalgaard wrote: M. Edward Borasky [EMAIL PROTECTED] writes: I just got R-2.0.0 alpha running on my Gentoo Linux system. The only issue I had was that if I do --with-lapack in the configure, make check fails very early. It would have been helpful to say where,

[Rd] Run up to R 2.0.0 for package maintainers

2004-09-07 Thread Prof Brian Ripley
The major changes for R 2.0.0 are now in place, and we have provided a set of notes for package maintainers at http://developer.r-project.org/200update.txt on both changes needed and new opportunities. The main thing which needs to be done is to revise the DESCRIPTION file, in

Re: [Rd] minor typo in by.Rd (PR#7211)

2004-09-06 Thread Prof Brian Ripley
Thank you, now fixed. On Mon, 6 Sep 2004 [EMAIL PROTECTED] wrote: src/library/base/man/by.Rd has \item{INDICES}{a factor or a list of factors, each of length \code{nrow(x)}.} \item{FUN}{a function to be applied to data frame subsets of \code{x}.} 'x' should be 'data' in

Re: [Rd] Glitch involving difftime and data frame

2004-09-06 Thread Prof Brian Ripley
On 7 Sep 2004, Peter Dalgaard wrote: This looks unintentional: Not so. d - as.Date(2004-09-07) dd - as.Date(2004-10-04) data.frame(d,dd,dd-d) Error in as.data.frame.default(x[[i]], optional = TRUE) : can't coerce difftime into a data.frame F - data.frame(d,dd) F$foo - dd-d

Re: [Rd] .First.lib and namespaces

2004-09-03 Thread Prof Brian Ripley
On Thu, 2 Sep 2004, Deepayan Sarkar wrote: The lattice package has a namespace, so it has a .onLoad function. I also keep around a .First.lib, for use during development, when I temporarily delete the NAMESPACE file. When using a namespace, I used to comment out the .First.lib function.

Re: [Rd] Problem with R --gui=GNOME when launched from a menu system

2004-08-31 Thread Prof Brian Ripley
What are stdin/stdout/stderr connected to when you do that? R --gui=GNOME does write certain error messages (from GDK/GTK) to the controlling terminal so you may need one, at least if there is an error/warning. I see gnome_start in src/modules/gnome/system.c has R_Interactive = isatty(0); I

Re: [Rd] file.info() on file larger than 2GB

2004-08-31 Thread Prof Brian Ripley
This is a purely OS issue: your OS has not been set up so the fopen and stat calls handle 2Gb files. There is one R issue: the size will overflow in file.info. For example, under Solaris 64-bit applications can handle such files whereas 32-bit ones need calls to stat64, fopen64 etc. It seems

Re: [Rd] make check failure

2004-08-31 Thread Prof Brian Ripley
On Tue, 31 Aug 2004, gb wrote: I have built today's R-devel without problem on a fresh installation of I don't know what that is, but I am not seeing a failure and I have done about 20 builds on different platforms today from the then current svn checkouts. Could you please run this example

RE: [Rd] Problem with Rcmdr Help menu under devel version of R 2.0.0

2004-08-29 Thread Prof Brian Ripley
You need to print the result of help. From NEWS o help() now returns information about available documentation for a given topic, and notifies about multiple matches. and (unstated) does not print. Brian On Sun, 29 Aug 2004, John Fox wrote: Dear list members, As an addendum

RE: [Rd] Problem with Rcmdr Help menu under devel version of R 2.0.0

2004-08-29 Thread Prof Brian Ripley
() in print.help_files_with_topic(), I'd intercept them. Is there a reason for bypassing warning()? Again, thanks. John -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Sunday, August 29, 2004 1:33 AM To: John Fox Cc: [EMAIL PROTECTED] Subject: RE

RE: [Rd] Problem with Rcmdr Help menu under devel version of R 2.0.0

2004-08-29 Thread Prof Brian Ripley
the intention is that you have a function say RcmdrShow, and write methods for that, with RcmdrShow.default calling print. Brian Regards, John -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Sunday, August 29, 2004 8:46 AM To: John Fox Cc: [EMAIL

Re: [Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!

2004-08-29 Thread Prof Brian Ripley
On Sun, 29 Aug 2004, Diman Todorov wrote: My appologies, this estimation is about right, I spent last week at COMPSTAT in prague and didn't follow the list closely. Inspite of this fact I believe my posting is not entirely out of date. Have you actually looked at the current R-devel, which

Re: [Rd] Is this a problem with methods??

2004-08-27 Thread Prof Brian Ripley
Does your package have methods in the Depends: line in its DESCRIPTION file? Are its data files self-sufficient (that is work without either the package or methods being loaded)? R-devel is under development and before release we will make detailed advice available to developers. But see the

Re: [Rd] reorder [stats] and reorder.factor [lattice]

2004-08-27 Thread Prof Brian Ripley
On Fri, 27 Aug 2004, Deepayan Sarkar wrote: It was recently pointed out on the lists that the S-PLUS Trellis suite has a function called reorder.factor that's useful in getting useful ordering of factors for graphs. I happily went ahead and implemented it, but it turns out that R (not S-PLUS)

Re: [Rd] No is.formula()

2004-08-26 Thread Prof Brian Ripley
On Thu, 26 Aug 2004, Martin Maechler wrote: tony == A J Rossini [EMAIL PROTECTED] on Wed, 25 Aug 2004 14:33:23 -0700 writes: tony Warnes, Gregory R tony [EMAIL PROTECTED] writes: There appears to be no is.formula() function in R-1.9.1. May I suggest that

Re: [Rd] typo in R online manual (PR#7200)

2004-08-25 Thread Prof Brian Ripley
That is a mistake at your own department's site, but not in the current R sources. It seems those docs are from R 1.2.2! Even R 1.6.2 has the correct formula. Please ask whoever maintains that site to correct it, and don't expect the R team to fix problems in 3.5 year old versions of R. On

Re: [Rd] Minimal DESCRIPTION file

2004-08-25 Thread Prof Brian Ripley
On Wed, 25 Aug 2004, David Brahm wrote: My g.data contributed package fails under R-devel. g.data creates minimal packages which consist only of a DESCRIPTION file and the R and data subdirectories, but .find.package() now rejects them because the DESCRIPTION file lacks a Version field. I

Re: [Rd] replacement functions and lists (PR#7196)

2004-08-24 Thread Prof Brian Ripley
A couple of incorrect range chacks, now fixed thank you. On Tue, 24 Aug 2004 [EMAIL PROTECTED] wrote: Full_Name: David Meyer Version: 2.0.0 OS: linux Submission from: (NULL) (137.208.224.32) l = list() l[[2:3]] = 1 segfaults at least since 1.8.1

Re: [Rd] Need help debugging R.

2004-08-24 Thread Prof Brian Ripley
You need one of 1) gctorture(TRUE) 2) Run under valgrind to look for memory overruns. and patience. If it segfaults under gctorture you will probably see the real culprit via gdb. I would try under R-devel, as quite a few memory problems have been plugged there. Or at least under R-patched

Re: [Rd] error when unsubscribe (PR#7198)

2004-08-24 Thread Prof Brian Ripley
R-bugs is not a mailing list: have you sent this to the wrong place? On Tue, 24 Aug 2004 [EMAIL PROTECTED] wrote: Full_Name: Huan Huang Version: 1.9.1 OS: Win NT Submission from: (NULL) (155.140.122.227) Traceback: Traceback (most recent call last): File

Re: [Rd] Changes to correct problems with classes in namespaces

2004-08-24 Thread Prof Brian Ripley
John, Looks like several packages are failing to dump or load with messages like (SparseM) Error in warning(Undefined slot classes in definition of \, [EMAIL PROTECTED], : Object classDef not found So far I have seen this with SparseM, dynamicGraph (and hence deal and gRbase). Should

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Prof Brian Ripley
On Tue, 24 Aug 2004, Peter Kleiweg wrote: Liaw, Andy schreef: This is _not_ a bug. Please read `R Language Manual', section 4.3.2 I don't have the `R Language Manual'. Is it explained somewhere in the docs that come with R? Amongst the docs that come with R is the `R Language

[Rd] Re: [R] Installing R on DEC Alpha - problems with dynamic loading

2004-08-23 Thread Prof Brian Ripley
The line in the script as distributed is unloadNamespace(splines) That is not the same thing at all. Please confirm that you actually have a problem with that form. (Your examples should not work, and do not work for me.) If you do, it is likely that your system's dlclose is

Re: [Rd] Possible Latex problem in R-devel?

2004-08-23 Thread Prof Brian Ripley
On Mon, 23 Aug 2004, Jeff Gentry wrote: I'm getting this error when installing packages w/ a checkout of R from a a little bit ago (23-Aug-2004, approx 1pm eastern US time): ** help Bareword found where operator expected at /usr/home/jgentry/R/share/perl/R/Rdconv.pm line 2331, near

Re: [Rd] Possible Latex problem in R-devel?

2004-08-23 Thread Prof Brian Ripley
On Mon, 23 Aug 2004, Jeff Gentry wrote: What version of perl? Ack, didn't realize it was this ancient. Version 5.005_03, which is what comes with FreeBSD 4.9 apparently. I did install the /usr/ports version of perl is 5.8.2, although there seems to be other problems here (which are most

Re: [Rd] idea for virtual matrix/array class

2004-08-23 Thread Prof Brian Ripley
We've seen something very similar before. A file is just a database writ small, and RPgSQL did essentially this in ca 2001. Fei Chen's research system (see his talk at DSC2003) again does similar things. Both of those were for virtual data frames as I recall. It's easier for a matrix/array,

Re: [Rd] rsync.r-project.org unreachable

2004-08-21 Thread Prof Brian Ripley
It is decomissioned. See the current FAQ on CRAN, which says Sources are also available via `https://svn.r-project.org/R/', the R Subversion repository, but currently not via anonymous rsync (or CVS). There are good, security-related, reasons for discontinuing rsync. To get R from

[Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!

2004-08-21 Thread Prof Brian Ripley
On Sat, 21 Aug 2004 [EMAIL PROTECTED] wrote: peter/brian: thank you for the help. i can now report that gentoo amd64 can compile R just fine, too; it requires the f77 USE flag and a gcc compiler rebuild first, though. I also went to gcc 3.4.1. my segfault troubles earlier were caused

Re: [Rd] require or import methods?

2004-08-20 Thread Prof Brian Ripley
You need methods to for example call setClass. I doubt that your R code can be sourced without methods being on the search path. So it needs to go in Depends. OTOH, you could also import the namespace to ensure that your code does get functions from methods and not others of the same name.

[Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable

2004-08-20 Thread Prof Brian Ripley
As I read the posting guide this is not a help request and not of general interest, so diverted to R-devel. Several people including me have built R on AMD64 with 3.3.3. That's the compiler of Fedora Core 2, and of whatever version of SuSE (perhaps 9.0) we have on our 110-processor cluster.

Re: [Rd] F90 in R (was (no subject))

2004-08-19 Thread Prof Brian Ripley
On Thu, 19 Aug 2004, someone claiming to be `faculty wang hansheng' wrote: I have a number of F90 codes wish to be linked into R under Windows XP OS. Do anyone know how to do it and give some advice? Many thanks. Advice: please read the R posting guide, and use an appropriate subject line.

[Rd] Re: [R] Getting data loaded

2004-08-19 Thread Prof Brian Ripley
Diverted to R-devel: please see the posting guide. On Wed, 18 Aug 2004, Roger D. Peng wrote: I think you should load data in a .First.lib() function, or if you have a namespace, in a .onLoad() function. Yes, indeed. However, using data() for system data is not a good idea and for R 2.0.0

Re: [Rd] [R] Problem loading library Matrix on Solaris machine

2004-08-19 Thread Prof Brian Ripley
I have four Solaris build setups, gcc/Forte cc x 32/64-bit. If you tell me a bit more about yours, I can do the appropriate testing. Looks like this Matrix/src/taucs/taucs.h: #if (defined(OSTYPE_irix) || defined(OSTYPE_solaris)) #include math.h #include ieeefp.h #define isinf(x) (!finite((x))

Re: [Rd] text(x, y, labels) - recycling problems and RFC (PR#7084)

2004-08-19 Thread Prof Brian Ripley
On Thu, 19 Aug 2004 [EMAIL PROTECTED] wrote: I didn't get any feedback on this posting, so I will commit my proposal to recycle the coordinates (x,y) to the length of 'labels' if the latter is longer (instead of silently dropping the extra labels[] entries). I'd suggest only doing

Re: [Rd] checkS3methods() change

2004-08-18 Thread Prof Brian Ripley
On Tue, 17 Aug 2004, Kurt Hornik wrote: James Wettenhall writes: Hi, I'm using rw2000dev.exe (Win32) built on August 14. If this isn't already planned, can I suggest that when checkS3methods() (called by R CMD check) fails because of a syntax error in a dependent package listed in

[Rd] Meta information in packages in pre-2.0.0

2004-08-17 Thread Prof Brian Ripley
We are intending to include a lot more pre-computed information with an installed package in 2.0.0, and to force all packages to be reinstalled under 2.0.0. This causes a problem with R-devel pre-2.0.0, which stamps packages as having been installed under the future 2.0.0. As of today we have

Re: [Rd] suggestion for ARMAacf()

2004-08-17 Thread Prof Brian Ripley
Please supply a patch (diff -c or diff -u) against the current R-devel sources, so there is no ambiguity as to what you are suggesting, together with examples and the intended output. Verbal descriptions like this are not precise enough to be cross-checked. On Tue, 17 Aug 2004, Hiroyuki

Re: [Rd] The Depends: field of a package is now used by library()

2004-08-17 Thread Prof Brian Ripley
as packages. Depends: should be used for packages that need to be attached before the current package, and should be disjoint from Imports. On Thu, 12 Aug 2004, Deepayan Sarkar wrote: On Thursday 12 August 2004 10:55, Prof Brian Ripley wrote: I can't think of any other example of one

Re: [Rd] subset and missing value indexing

2004-08-17 Thread Prof Brian Ripley
On Tue, 17 Aug 2004, Adaikalavan Ramasamy wrote: Out of curiosity, is this a bug or a feature or == ? A documented feature. m - matrix( 1:12, nc=4 ) f - c(A, NA, B, A) f == A [1] TRUENA FALSE TRUE m[ , f == A] # equivalent to m[ , c(1, NA, 4) ] [,1] [,2] [,3]

RE: [Rd] (PR#7163) Install packages does not work on Win2003 serv er

2004-08-13 Thread Prof Brian Ripley
On Fri, 13 Aug 2004, Walke, Rainer wrote: Do you know which part of the R code creates this temporary file* directories in the library subdirectory? Why don't *you* know? It is install.packages, surprisingly enough, in its internal function unpackPkg, and running that under debug would

Re: [Rd] Install packages does not work on Win2003 server (PR#7163)

2004-08-12 Thread Prof Brian Ripley
`Windows 2003 server' is not in the list of supported OSes. And that is both in the README and rw-FAQ. So if you want to help, we need a patch from you -- the maintainers do not that access to such a machine. (Well, I do, but it is a server which does not allow end users to run tasks.) On

[Rd] The Depends: field of a package is now used by library()

2004-08-12 Thread Prof Brian Ripley
In R-devel, the Depends: field in the DESCRIPTION file is now used by library() to load the named packages before the current package, and also to set up the environment to save images and prepare for lazy loading. Would authors please use a minimally necessary set of packages in Depends, and

Re: [Rd] The Depends: field of a package is now used by library()

2004-08-12 Thread Prof Brian Ripley
On Thu, 12 Aug 2004, Deepayan Sarkar wrote: On Thursday 12 August 2004 07:34, Prof Brian Ripley wrote: In R-devel, the Depends: field in the DESCRIPTION file is now used by library() to load the named packages before the current package, and also to set up the environment to save images

Re: [Rd] The Depends: field of a package is now used by library()

2004-08-12 Thread Prof Brian Ripley
On Thu, 12 Aug 2004, Wolfgang Huber wrote: On Thursday 12 August 2004 07:34, Prof Brian Ripley wrote: In R-devel, the Depends: field in the DESCRIPTION file is now used by library() to load the named packages before the current package, and also to set up the environment to save images

Re: [Rd] The Depends: field of a package is now used by library()

2004-08-12 Thread Prof Brian Ripley
On Thu, 12 Aug 2004, A.J. Rossini wrote: Wolfgang Huber [EMAIL PROTECTED] writes: On Thursday 12 August 2004 07:34, Prof Brian Ripley wrote: In R-devel, the Depends: field in the DESCRIPTION file is now used by library() to load the named packages before the current package, and also

Re: [Rd] The Depends: field of a package is now used by library()

2004-08-12 Thread Prof Brian Ripley
On Thu, 12 Aug 2004, Deepayan Sarkar wrote: On Thursday 12 August 2004 10:19, Prof Brian Ripley wrote: On Thu, 12 Aug 2004, Deepayan Sarkar wrote: On Thursday 12 August 2004 07:34, Prof Brian Ripley wrote: In R-devel, the Depends: field in the DESCRIPTION file is now used by library

Re: [Rd] Subsetting time series

2004-08-10 Thread Prof Brian Ripley
On Tue, 10 Aug 2004, Martin Maechler wrote: BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 10 Aug 2004 05:47:28 +0100 (BST) writes: BDR On Tue, 10 Aug 2004, Ross Ihaka wrote: Rob Hyndman wrote: When part of a time series is extracted, the time series component

Re: [Rd] plot(SOM) segfaults (PR#7157)

2004-08-10 Thread Prof Brian Ripley
It is reasonable to expect plot to work for any arbitrary function, or alternatively for any function to work with this sort of abuse? If the latter, this is a bug report on class and was sent to the wrong place (see the FAQ). If the former, plot.function and curve do no checking, but what

Re: [Rd] Use of R_PROFILE.R / install.R

2004-08-09 Thread Prof Brian Ripley
On Mon, 9 Aug 2004, Kurt Hornik wrote: Prof Brian Ripley writes: According to R-exts: The second purpose for @file{install.R} is to hold code that needs to be executed each time the package is attached, after the image is loaded. Few packages have a need for such code so

[Rd] Use of R_PROFILE.R / install.R

2004-08-08 Thread Prof Brian Ripley
According to R-exts: The second purpose for @file{install.R} is to hold code that needs to be executed each time the package is attached, after the image is loaded. Few packages have a need for such code so @file{install.R} is normally an empty file. The optional file

Re: [Rd] memory usage of S4 methods

2004-08-07 Thread Prof Brian Ripley
On Sat, 7 Aug 2004, Thomas König wrote: I have some problems with the memory usage of S4-generics. For example, I observed the following behaviour: gc() used (Mb) gc trigger (Mb) Ncells 432091 11.6 531268 14.2 Vcells 116052 0.9 786432 6.0

[Rd] Re: [R] Problem in method's Makefile?

2004-08-05 Thread Prof Brian Ripley
This is really an R-devel question -- it is about an unreleased version of R. On Thu, 5 Aug 2004, Jeff Gentry wrote: Hi there ... Not too long after the switch to using Subversion I tried to checkout build R but encountered an error - and being short on time at that point put it off to

Re: [Rd] (PR#7152) Ops.ts returns non-ts object for univariate operations

2004-08-03 Thread Prof Brian Ripley
How about a statement of the problem and an example? It is not clear to me that there is anything here that is not intentional, and the stated analysis is plain wrong: Ops.ts _is_ called for univariate - and _does_ return a time series. Both +a.ts and -a.ts return a ts. !a.ts does not, but we

Re: [Rd] directing print.packageInfo to a file

2004-08-02 Thread Prof Brian Ripley
On Mon, 2 Aug 2004, Kurt Hornik wrote: Gabor Grothendieck writes: print.packageInfo does not print to the console, it uses file.show. For example, on R 1.9.1 patched on Windows XP: require(chron) [1] TRUE capture.output(print.packageInfo(help(package = chron)), file =

[Rd] Re: [R] help(arima) return value typo?

2004-08-02 Thread Prof Brian Ripley
On Mon, 2 Aug 2004, Hiroyuki Kawakatsu wrote: in ?arima (R-1.9.1), the return value component 'convergence' should be 'code'? Yes. Not sure it says anywhere than R-help is the appropriate place for this and R-devel is better so I've moved it there. (it's a pity there is no reliable way

Re: [Rd] Parsing multi-line strings. Bug? Feature?

2004-07-29 Thread Prof Brian Ripley
Perhaps the two of you would like to submit a patch for consideration? I think you can take it that it was considered in Dec 2002 and no one wanted to do the work to check the feasibility. The form in Open Source projects is that those who want a feature implement it and offer it to the

Re: [Rd] aov for unbalanced design (PR#7144)

2004-07-29 Thread Prof Brian Ripley
What do you think is the correct answer and on what authority? (These are explicitly sequential aka Type 1 anova tables.) That the SSqs depend on the order of fitting is a feature of an unbalanced design. I believe that R is correct and your understanding is not. On Thu, 29 Jul 2004 [EMAIL

Re: [Rd] startup bug (PR#7138)

2004-07-28 Thread Prof Brian Ripley
This is almost surely not bug in R: it is working as intended. You can search the R-help archives for similar problems and several solutions. However, your main problem is that your MASS is not up to date, and you need to run update.packages(). (The current MASS has a workaround for this.)

Re: [Rd] read.table() and NULL for colClasses

2004-07-28 Thread Prof Brian Ripley
NULL is not a valid value for colClasses and I don't see why you thought it was. colClasses has to be character according to the documentation, so NULL is allowed but not NULL. Your diff appears to be backwards for a patch. A patch against the current R-devel sources is what is needed,

Platform-restricted packages (was Re: [Rd] RE: [Rcom-l] rcom 0.97 available for download)

2004-07-27 Thread Prof Brian Ripley
This thread seems to have come to an end. To attempt to summarize: - It is a good idea to have a single source repository on CRAN. - There are quite a few packages that are for Linux/Unix only (or a small subset of those), and a few which are Windows only. - It would be helpful to mark these

Re: [Rd] Problems with Lapack's eigen() on 64-bit

2004-07-27 Thread Prof Brian Ripley
Our `public' Opteron (dual 248, FC2 + Goto BLAS) is right, as is Solaris 64-bit. FC2 is using gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7), quite a lot later. I would try updating your compiler (to 3.4.1?) and perhaps try a different BLAS. We do have RHEL for Opteron, but AFAIK it is not

Re: [Rd] gsub(*, perl=TRUE) bug incl. seg.fault (PR#7108)

2004-07-26 Thread Prof Brian Ripley
I presume this was in R 1.9.1? It seems that this was something I had already fixed (from another symptom) and not been able to commit because the CVS archive was down. I have now fixed it in R 1.9.1 patched and R-devel, and put a regression test into the latter. Brian On Sat, 17 Jul 2004

Re: [Rd] libz=1.2.1 requirement - necessary?

2004-07-26 Thread Prof Brian Ripley
There are some slight interface differences in the gzfile code, so 1.2.1 is needed. However, we have since found a bug in that which affects R, so please use the bundled code. The circumstances of both are rather rare, and valgrind was needed to show the second (a use of an unitialized variable

<    1   2   3   4   5   6   7   >