Re: [Rd] alloca() on FreeBSD (PR#7890)

2005-06-07 Thread Prof Brian Ripley
change the ALLOCA define and then build. Cheers, Simon __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http:

Re: [Rd] Suggestion: help()

2005-06-07 Thread Prof Brian Ripley
R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@stat.math.ethz.ch mailing list https://stat.et

Re: [Rd] Re: update.packages keeps trying to update gregmisc

2005-06-06 Thread Brian D Ripley
tion/zip' length 2465 bytes > > opened URL > > downloaded 2465 bytes > > > > package 'gregmisc' successfully unpacked and MD5 sums checked > > > > The downloaded packages are in > >C:\Documents and Settings\Grothendieck\Local > > Settings\Temp\Rtmp9430\downl

Re: [Rd] Segmentation fault using gentoo linux and mysql (PR#7919)

2005-06-06 Thread ripley
e moment I try to do: res <- dbSendQuery(con, "select * from table") or any > other SELECT statement R terminates and I receive a Segmentation Fault. Please use gdb to trace where the fault is occurring: my guess is in RMySQL.so, in which case this is best discussed with the packa

Re: [Rd] Segmentation fault using gentoo linux and mysql (PR#7919)

2005-06-06 Thread ripley
e moment I try to do: res <- dbSendQuery(con, "select * from table") or any > other SELECT statement R terminates and I receive a Segmentation Fault. Please use gdb to trace where the fault is occurring: my guess is in RMySQL.so, in which case this is best discussed with the packa

Re: [Rd] alloca() on FreeBSD (PR#7890)

2005-06-06 Thread ripley
1 in config.h works? > This was previously reported in PR#7881. So please don't open a new report on the subject! -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,

Re: [Rd] Characters in lists.

2005-06-05 Thread Prof Brian Ripley
TRING_ELT(names, i, mkChar("cols")); tmp = allocVector(INTSXP, 1) INTEGER(tmp)[0] = header.GetCols(); SET_VECTOR_ELT(vals, i++, tmp); as no further allocation and hence no PROTECTion is required. You could encapsulate it as a function (mkInt?) if you prefer. -- Brian D

Re: [Rd] print()ing of raw matrices (PR#7912)

2005-06-02 Thread ripley
gt; , , 1 > > > , , 2 > > ______ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.

Re: [Rd] ?strptime ambiguity (PR#7907)

2005-06-02 Thread Prof Brian Ripley
ard on the help page, and the `default formats' are specified under `Arguments'. The point was that people should not guess at the meaning, but follow up the pointers given. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stat

Re: [Rd] R 2.1 and gfortran

2005-05-20 Thread Brian D Ripley
uilt > from very recent Apple cvs sources, with patches from the gfortran > cvs code up to 18th May. This binary passes all the tests. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,

Re: [Rd] Problem with proj

2005-05-20 Thread Prof Brian Ripley
t fails ## rownames(npk) <- 2:25 npk.aovE <- aov(yield ~ N*P*K + Error(block), npk) proj(npk.aovE) __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian D. Ripley, [EMAIL PROTECTED]

Re: [Rd] problems with truncate() with files > 2Gb under Windows (possibly (PR#7879)

2005-05-20 Thread Prof Brian Ripley
On Fri, 20 May 2005, Prof Brian Ripley wrote: To follow up on the truncate() part of this, Windows does not use chsize directly any more, but ftruncate like all other platforms. However, truncate() was limited to files < 2Gb on all platforms. I have changed the latter and your example

Re: [Rd] problems with truncate() with files > 2Gb under Windows (possibly (PR#7879)

2005-05-20 Thread Prof Brian Ripley
LL seek(f, 0, "end") [1] -2094967288 # see if we successfully truncated... (no -- same length as before # can also verify this by watching file size with 'ls -l') seek(f, NA) # file is same size as before the attempted truncation [1] -2094967288 close(f) version _ plat

Re: [Rd] Memory question on R

2005-05-19 Thread Prof Brian Ripley
my machine may not have sufficient resources to run other applications. In addition, does R version 2.1.0 makes use of the hyperthreading feature that may speed up the application? Thanking you in advance Lin [[alternative HTML version deleted]] We do ask for no HTML mail. -- Brian

Re: [Rd] make fails in errors.c (PR#7881)

2005-05-19 Thread ripley
sr/local/R-2.1.0/src/main. > *** Error code 1 > > Stop in /usr/local/R-2.1.0/src/main. > *** Error code 1 > > Stop in /usr/local/R-2.1.0/src. > *** Error code 1 > > Stop in /usr/local/R-2.1.0. > - > > Asking for the problem at R-devel I got this answer

Re: [Rd] problems with truncate() with files > 2Gb under Windows (PR#7880)

2005-05-19 Thread ripley
uot;wb") >> seek(f, 22) > [1] 0 >> writeLines(c("abc", "def"), f) >> close(f) >> f <- file("tmp1.txt", "r+b") >> seek(f, 0, "end") > [1] 0 >> seek(f, NA) # bad reported value of the current p

Re: [Rd] Getting ... without evaluating it?

2005-05-19 Thread Prof Brian Ripley
b = foo) $a 1 + 1 $b foo (which is what list(a = quote(1+1), b = quote(foo)) prints as). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road,

Re: [Rd] SVN revision numbers

2005-05-18 Thread Prof Brian Ripley
On Wed, 18 May 2005, Prof Brian Ripley wrote: On Wed, 18 May 2005, Cyrus Harmon wrote: Following up on my own post... touching non-tarball and then doing a make fixes the problem. I assume this is documented somewhere and I just missed it. The make process does touch non-tarball: you may need to

Re: [Rd] R Include File Guards

2005-05-18 Thread Prof Brian Ripley
at is `illegal' about that? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford O

Re: [Rd] SVN revision numbers

2005-05-18 Thread Prof Brian Ripley
on, or is this supposed to be in the SVN repository? My apologies if I'm catching the repository in an unstable state and this is a known problem. Thanks, Cyrus __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] SVN revision numbers

2005-05-18 Thread Prof Brian Ripley
decide what to do if e.g. an NFS-mounted SVN checkout is used on a machine without SVN. (In principle that can be done on Windows and it is supposed to be working there, but we don't feel the need to test it on Windows but do under Unix.) -- Brian D. Ripley, [EMAIL PROT

[Rd] Re: [R] Fortran 95 in R ?

2005-05-18 Thread Prof Brian Ripley
deal with this? Is it somehow possible to reach the fortran 95 through C and avoid this whole problem? Regards, Joel Bremson UC Davis -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel:

Re: [Rd] install.packages Bug? (PR#7876)

2005-05-17 Thread ripley
7; successfully unpacked and MD5 sums checked > > The downloaded packages are in >C:\Dokumente und Einstellungen\Admin\Lokale > Einstellungen\Temp\Rtmp20068\downloaded_packages > updating HTML package descriptions > Warning message: > unable to move temp instal

Re: [Rd] branch cuts in atan(), asin(), acos() (PR#7871)

2005-05-16 Thread ripley
if((x*x+y*y > 1) && x<0){ > + r->r -= M_PI_2; > + } > } > > static void z_atan2(Rcomplex *r, Rcomplex *csn, Rcomplex *ccs) > octopus:~/downloads/R-2.1.0/src/main% > > > > > > > > > -- > Robin Hankin > Uncertainty An

Re: [Rd] add Rvsnprintf to API ??

2005-05-15 Thread Prof Brian Ripley
On Sun, 15 May 2005, John W. Eaton wrote: On 14-May-2005, Prof Brian Ripley wrote: | R guarantees to have *vsnprintf* available. Putting things in the API is | a one-way decision and ties our hands for ever. Rvsnprintf is not even | exported from errors.c: it is static and just a convenience

Re: [Rd] add Rvsnprintf to API ??

2005-05-13 Thread Prof Brian Ripley
if defined(HAVE_DECL_VSNPRINTF) && !HAVE_DECL_VSNPRINTF extern int vsnprintf (char *str, size_t count, const char *fmt, va_list arg); #endif However, AFAIK all known R platforms do have vsnprintf these days: the MinGW compiler used on Windows gained it within the last year. -- Brian D.

Re: [Rd] R make errors

2005-05-12 Thread Prof Brian Ripley
ne tell me which Makefile(folder) and also which flags to edit. I greatly appreciate your help. Thanks Ambika Sundaresan Grad. Student UCSD. __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian

RE: [Rd] segfault on large number of open brackets (PR#7859)

2005-05-12 Thread Prof Brian Ripley
ferent instance of *++contextp. Fixed in R-patched, to give ((((((( Error: contextstack overflow -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-12 Thread Brian D Ripley
gt; here, so I assume that we are not getting the flags for building > > modules > > right. Assuming that libtool can, it might be helpful to look at the > > output of BUILDDIR/libtool --config. > > > The error messages are about missing symbols. > > Bill

RE: [Rd] segfault on large number of open brackets (PR#7859)

2005-05-12 Thread ripley
; for a HTML browser interface to help. >> Type 'q()' to quit R. >> >>> >> (( >> >> ( >> + ( >> Segmentation fault >> $ uname -a >> Linux max 2.6.11-gentoo-r6 #

Re: [Rd] segfault on large number of open brackets (PR#7859)

2005-05-12 Thread ripley
>>> >>> ( >>> + ( >>> Segmentation fault >>> $ uname -a >>> Linux max 2.6.11-gentoo-r6 #2 Sat May 7 19:24:52 GMT 2005 >>> i686 Intel(R) >>> Pentium(R) 4 CPU 2.40GHz Ge

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-12 Thread Prof Brian Ripley
On Thu, 12 May 2005, Kjetil Brinchmann Halvorsen wrote: Prof Brian Ripley wrote: I've now found a Windows system that does this. This is also Windows XP, fully patched, and with the same rw2010. So it may be chip-specific: the one that works is a P4 and the one that does not is a l

Re: [Rd] Windows freezes plotting large line plots (PR#7856)

2005-05-12 Thread Prof Brian Ripley
will we all have to put up with it? It applies only to the windows() device (including win.metafile etc). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South

RE: [Rd] bug in modulus operator %% (PR#7852)

2005-05-12 Thread Prof Brian Ripley
mentation would suggest, and these seem like large enough numbers to not be effected by rounding errors or lack of precision. Now that looks a bit odd, but it isn't universal: x <- 1 y <- 0.2 x %% y [1] 0.2 x %/% y [1] 4 (x %% y) + y * (x %/% y) [1] 1 So what platform was that happening o

Re: [Rd] Windows freezes plotting large line plots (PR#7856)

2005-05-12 Thread ripley
; arch i386 > os mingw32 > system i386, mingw32 > status > major2 > minor1.0 > year 2005 > month04 > day 18 > language R > > __ > R-devel@stat.math.ethz.ch mailing list > https://st

Re: [Rd] Building R for windows tools link

2005-05-11 Thread Prof Brian Ripley
On Thu, 12 May 2005, Gregor GORJANC wrote: Prof Brian Ripley wrote: On Wed, 11 May 2005, Gorjanc Gregor wrote: Hello! I think that link to page of Duncan Murdoch (bellow) should be given http://www.murdoch-sutherland.com/Rtools/ at http://developer.r-project.org/. Are you saying that it is given

Re: [Rd] Patch to address (PR#7853) -- tested briefly, seems to

2005-05-11 Thread ripley
; > +break; > case LGLSXP: > case INTSXP: > s = allocVector(type, n); > > __ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ripley, [E

Re: [Rd] Building R for windows tools link

2005-05-11 Thread Prof Brian Ripley
It _is_ in the R-admin manual, the place building R for Windows is discussed (as from 2.1.0). Apart from in that manual I am unaware of it being on the main R web sites. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley

RE: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread ripley
gt; c/ /'_ --- Dept. of Biostatistics 2200 Cph. N =20 > (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 > ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 > > __ > R-devel@stat.math.ethz

Re: [Rd] rank (PR#7850)

2005-05-11 Thread ripley
1 >> z[rank(z)] > [1] -5 3 >> >> version > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major2 > minor1.0 > year 2005 > month04 > day 18 > language R > >

Re: [Rd] Implementing R on IBM p690 cluster Jump

2005-05-11 Thread Prof Brian Ripley
t. for Applied Landscape Ecology Environmental Reasearch Centre (UFZ) Leipzig Halle fon: +49 341 235 2021, fax: -2511, url: www.ufz.de news: www.wiley-vch.de/publish/dt/books/ISBN3-527-30732-X/ -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://ww

Re: [Rd] wish: print.condition and html (PR#7848)

2005-05-10 Thread ripley
; > > If R is used to generate HTML output (R2HTML or Rpad), then the error messages > get hidden because browsers will skip right over the " another error...>". > > Suggestion: remove the angle brackets or replace with square brackets or > something else that won&#x

RE: [Rd] How to understand packages, namespaces, environments

2005-05-08 Thread Prof Brian Ripley
There can be more than two copies, since importing also `copies', as does S3 method registration (the latter does sometimes force promises). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,

Re: [Rd] Different package versions on CRAN?

2005-05-08 Thread Prof Brian Ripley
t) the version depending on R >= 2.1.0 would not build and so the last good version would be left. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South P

Re: [Rd] how to add method to .Primitive function

2005-05-07 Thread Prof Brian Ripley
tributes as given by oldClass(), not the implicit ones given by class(). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road,

Re: [Rd] How to understand packages, namespaces, environments

2005-05-06 Thread Prof Brian Ripley
7;, something we ask all R users to read. I (and I am biased) suggest the right way to get to grips with things like this is to read a good book on the S/R language. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ Universit

Re: (PR#7824) [Rd] handling of zero and negative indices in

2005-05-06 Thread ripley
> indices. NA and zero values are allowed: rows containing a > zero are omitted from the result, and rows containing an NA > produce an NA in the result. To use a matrix as an index, > the number of columns of the matrix should match the number > of dimensions of the structure, and

Re: [Rd] But in add1, presumably in add1.lm (PR#7842)

2005-05-06 Thread ripley
month = 04 > day = 18 > language = R > > Search Path: > .GlobalEnv, package:methods, package:stats, package:graphics, > package:grDevices, package:utils, package:datasets, Autoloads, package:base > > __ > R-devel@stat.math.ethz.ch

Re: [Rd] Misspelled German error message: --nosave (PR#7841)

2005-05-06 Thread ripley
, '--no-save' or '--vanilla' > > > The no-save command line option should be '--no-save', not '--nosave'. > > CU, Bernhard > > __ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel &g

Re: [Rd] Varying as.Date performance

2005-05-05 Thread Prof Brian Ripley
k that would be a worthwhile optimization. I didn't bother because I figured it would be fast enough (which at 50musec it almost always is). However, get_locale_strings is only 36% of the total, and we have at least another 60% to account for. (81.01 vs 1.18 secs.) -- Bria

Re: [Rd] Varying as.Date performance

2005-05-04 Thread Prof Brian Ripley
ime. Does it seem likely that the cause of this discrepancy is in fact glibc? If so, can anyone tell me how to make the performance of the second machine more like the first? I have verified that using the chron package, which I don't believe uses strptime, for the above character conversion

Re: [Rd] DLL modules with other dependent libraries

2005-05-04 Thread Prof Brian Ripley
other DLLs it uses, but they aren't standard and it would be unlikely to find them in the system path. Thanks for any suggestions! Set the path for the loading of the DLL. One example is tcltk in the R sources, and it is done for several of the binary packages I distribute. -- Brian

Re: [Rd] make hanging during compile of r-patched/R-devel on Fedora Core 3

2005-05-04 Thread Prof Brian Ripley
ns over the versions that ships with R? Yes: at least for earlier versions, none. (See the comments in the R-admin manual I quoted yesterday which no one else seems to have read.) -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac

Re: [Rd] make hanging during compile of r-patched/R-devel on Fedora Core 3

2005-05-04 Thread Prof Brian Ripley
fixed by compiling with lower optimisation). Yes, that _is_ described in R-admin, and R is itself careful to compile the critical routines with -ffloat-store. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of

Re: [Rd] make hanging during compile of r-patched/R-devel on Fedora Core 3

2005-05-04 Thread Prof Brian Ripley
ble LAPACK library. If you do use @option{--with-lapack}, be aware of potential problems with bugs in the LAPACK 3.0 sources (or in the posted corrections to those sources). not enough warning? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, htt

[Rd] Re: [R] Unbundling gregmisc (was: loading gap package)

2005-05-04 Thread Prof Brian Ripley
he power of *.packages (and we need to get the MacOS versions in place). For example, bundle components show up with the dialog-based installation lists. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxfo

Re: [Rd] MacOS X: update.packages(type="mac.binary") fails (PR#7836)

2005-05-04 Thread Prof Brian Ripley
On Wed, 4 May 2005, Jari Oksanen wrote: On Wed, 2005-05-04 at 09:01 +0100, Prof Brian Ripley wrote: This should not be required. What does .Platform say? I couldn't let it be: str(.Platform) List of 6 $ OS.type : chr "unix" $ file.sep : chr "/" $ dynlib.ext: chr &quo

Re: [Rd] MacOS X: update.packages(type="mac.binary") fails (PR#7836)

2005-05-04 Thread Prof Brian Ripley
ng utils/R/aqua/GUI.R and all other places (although this looks more natural). This still requires a fix in passing type in update.packages() that B. Ripley already did for R 2.1.1, or setting options(pkgType="mac.binary"). This should not be required. What does .Platform say? cheers,

Re: [Rd] MacOS X: update.packages(type="mac.binary") fails (PR#7831)

2005-05-03 Thread Prof Brian Ripley
of the function. Do I really have to use GUI? Uh. cheers, jari oksanen __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University

Re: [Rd] MacOS X: update.packages(type="mac.binary") fails (PR#7831)

2005-05-03 Thread ripley
;t find the definition of > the > function. > > Do I really have to use GUI? Uh. > > cheers, jari oksanen > > __ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ri

Re: [Rd] memory problem

2005-05-02 Thread Prof Brian Ripley
OS: for UNIX-alikes using R -d gdb is the most common way. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865

Re: [Rd] RE: as.numeric method for objects of class "difftime"

2005-04-30 Thread Prof Brian Ripley
CSIRO Laboratories, : PO Box 120, Cleveland, Qld. 4163 : AUSTRALIA : Phone: +61 7 3826 7251 : Fax:+61 7 3826 7304 : Mobile: +61 4 1963 4642 : Home: +61 7 3286 7700 : mailto:[EMAIL PROTECTED] : http://www.cmis.csiro.au/bill.venables/ : : ______ R-devel@stat.m

[Rd] Re: [R] Warning from Rcmd check - data could not find data set

2005-04-30 Thread Prof Brian Ripley
On Sat, 30 Apr 2005, Kjetil Brinchmann Halvorsen wrote: Prof Brian Ripley wrote: On Fri, 29 Apr 2005, Kjetil Brinchmann Halvorsen wrote: This is rw2010 from CRAN. When running Rcmd check on a package I get: Warning in utils::data(list = al, envir = data_env) : data set 'vowel.test'

Re: (PR#7826) [Rd] segfault during build of 2.1.0 on RH9; print.POSIXct

2005-04-30 Thread Prof Brian Ripley
-- Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status = major = 2 minor = 1.0 year = 2005 month = 04 day = 18 language = R [] ______ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- B

Re: (PR#7826) [Rd] segfault during build of 2.1.0 on RH9; print.POSIXct

2005-04-30 Thread ripley
nt(format(x, usetz=TRUE), ...) > invisible(x) >} > > Note the suspicious definition of print.POSIXct using *two* sets of > ellipses, and that the print.POSIXct and print.POSIXlt definitions no > longer match. > > /Jskud > > --please do not edit the info

[Rd] R-devel instability

2005-04-29 Thread Prof Brian Ripley
Recent commits to R-devel mean that you will definitely need to re-configure and may even need to re-build from scratch. This is to support configure options --datadir and --includedir -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http

Re: (PR#7821) [Rd] Rgui crash when >1 figure plotted to single wmf

2005-04-28 Thread ripley
("tmp.wmf") > plot(1:10) > plot(1:10) > > The following dialogues then come up: > > Unable to create metafile -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,

Re: [Rd] Bug in Version 2010 (PR#7807)

2005-04-27 Thread ripley
\0S files (*.q)\0*.q\0All files > (*.*)\0*.*\0\0")); > > in rui.c are casuing the trouble. "S files (*.q)" never appears in the > *.po(t) file, so it's probably a gettext related problem, but I really > don't know how to fix this ... > > > Uwe Ligges &

Re: (PR#7803) [Rd] print.data.frame(), wrong column names alignement,

2005-04-27 Thread ripley
os =3D linux-gnu > system =3D i386, linux-gnu > status =3D > major =3D 2 > minor =3D 1.0 > year =3D 2005 > month =3D 04 > day =3D 18 > language =3D R > > Search Path: > .GlobalEnv, package:methods, package:stats, package:graphics, package:grD= evices, packag

RE: [Rd] as.data.frame: Error in "names<-.default" (PR#7808)

2005-04-27 Thread ripley
a proposed > patch: [...] > (I used width.cutoff=500, as ?deparse says that the max. I'd imagine the > number of characters allowed for valid symbol names in R is probably lower > than that?) This is an expression, and can be arbitrarily long. So one needs to do things like

Re: [Rd] Problems compiling C code on windows

2005-04-27 Thread Prof Brian Ripley
y reading the R-admin manual (in 2.1.0) and installing a Windows compiler instead. R does not have a Cygwin port: it does have a native Windows port. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,

Re: [Rd] RE: [R] when can we expect Prof Tierney's compiled R?

2005-04-27 Thread Prof Brian Ripley
owa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: [EMAIL PROTECTED] Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu

Re: [Rd] ncdf with opendap/dods support

2005-04-26 Thread Prof Brian Ripley
You need to approach the package maintainers directly: they may well not read r-devel. What you seem to be suggesting is an extra feature for the ncdf package. Note from `B Ripley': you need libraries for a specific compiler on Windows. Professor Ripley. On Tue, 26 Apr 2005, Russell Mo

Re: [Rd] Ctrl-c crashes R when run as sudo (PR#7819)

2005-04-26 Thread ripley
R traps that signal. I'll now make the comment I thought when I first saw this: Why is this a bug report against R not sudo? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,

Re: [Rd] "wild" function example in optim

2005-04-26 Thread Prof Brian Ripley
] 7 optim(7,f,g,method="CG",control=list(parscale=1e5))$par [1] 1.209735e-14 optim(7,f,g,method="CG",control=list(fnscale=1e-10))$par [1] 1.673141e-15 but without g optim(7,f,method="CG",control=list(parscale=1e5))$par [1] 1.209735e-14 optim(7,f,method=&qu

[Rd] Re: [R] R-2.1.0 doesn't compile on FreeBSD6-CURRENT

2005-04-26 Thread Prof Brian Ripley
R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University

Re: [Rd] Enhanced version of plot.lm()

2005-04-26 Thread Prof Brian Ripley
w it's result. Ummm, check page 183... OTOH MASS does not because of S-PLUS/R differences. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Park

Re: [Rd] Failed to install gbm_1.4-2 (PR#7814)

2005-04-26 Thread ripley
lared identifier is reported only once for > each function it appears in.) > make: *** [gbmentry.o] Error 1 > ERROR: compilation failed for package 'gbm' > ** Removing '/package/R/2.0.1-32bit/lib/R/library/gbm' > ** Restoring previous '/package/R/2.0.1-32bit/lib/R/lib

Re: [Rd] Feature request: report the url if 404 error occurs

2005-04-25 Thread Prof Brian Ripley
can read "yes" can write "no" Remember R is an interactive system: you just need to ask it for the information you want. This would be tedious to add, but y

Re: [Rd] print.data.frame(), wrong column names alignement, UTF-8 (PR#7804)

2005-04-21 Thread ripley
3D R > > Search Path: > .GlobalEnv, package:methods, package:stats, package:graphics, package:grD= evices, package:utils, package:datasets, Autoloads, package:base > > __ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -

Re: [Rd] printCoefmat(signif.legend =FALSE) (PR#7802)

2005-04-21 Thread ripley
f (signif.legend) >cat("---\nSignif. codes: ", attr(Signif, "legend"), "\n") > > At least it works for the more sensibel case, that no legend should be > produced. Probably if(signif.stars && signif.legend) would be most appropriate.

Re: [Rd] Embedded R and x11

2005-04-20 Thread Prof Brian Ripley
course I might be completely wrong?). So I tried calling R_ProcessEvents () manually, but I can't get that to link (unresolved symbol R_ProcessEvents). Any hints on how I can get this to work? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.st

Re: [Rd] make check failure -- R 2.1.0 Windows XP SP2

2005-04-20 Thread Prof Brian Ripley
.552387NA 0.00 1.17348334 2.22769309 [4,] 3.115161NA 1.173483 0. 0.04539385 OK Running `daisy-ex.R' make[2]: *** [daisy-ex.Rout] Error 1 make[1]: *** [tests] Error 2 make: *** [pkgcheck-cluster] Error 2 -- Conrad Halling [EMAIL PROTECTED] __

Re: [Rd] localeToCharset error for Thai locale (PR#7799)

2005-04-19 Thread ripley
hould also be stated??? > > Note: >> Sys.getlocale("LC_CTYPE") > [1] "Thai_Thailand.874" > > 'example' works fine on a Linux machine. > > __ > R-devel@stat.math.ethz.ch mailing list > https://st

[Rd] Re: [R] pl/R and MacOS X using R binary

2005-04-19 Thread Prof Brian Ripley
n order for the libR shared object library to be available. Please do consult the posting guide as to the right place. (I've moved this to R-devel and included Joe Conway. Joe: perhaps you could make you email address more readily available in the PL/R pages.) -- Brian D. Ripley,

Re: [Rd] Why no BIC.default function?

2005-04-18 Thread Prof Brian Ripley
to have exactly the same definition. (I didn't check with 'diff' though.) Would it make sense to treat BIC similarly to AIC and have just BIC.default and BIC.logLik? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~r

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-18 Thread Prof Brian Ripley
port completely alone. The aim is to allow people to have commas in printed output and graph labels if they want. Note, nothing would be done unless people explicitly did something like Sys.setlocale("LC_MISSING", "fr_FR") so this would not affect naive users in an

Re: [Rd] A 'true' R-wrapper for C++ classes

2005-04-18 Thread Prof Brian Ripley
book). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 2

Re: [Rd] UnauthorizedAccessException in R(D)COM

2005-04-17 Thread Prof Brian Ripley
myR = New STATCONNECTORSRVLib.StatConnector myR.Init("R") Does anyone know this solution and please advide me? Your help is appreciated. With Best Regards, WeiQiang Li -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~rip

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-17 Thread Prof Brian Ripley
On Sun, 17 Apr 2005, Jan T. Kim wrote: On Sun, Apr 17, 2005 at 12:38:10PM +0100, Prof Brian Ripley wrote: These are some points stimulated by reading about C history (and related in their implementation). 1) On some platforms as.integer("0xA") [1] 10 but not all (not on Solaris nor Win

[Rd] RFC: hexadecimal constants and decimal points

2005-04-17 Thread Prof Brian Ripley
e local category. For example, deparsing needs to be done in LC_NUMERIC=C.) All of these could be implemented by customized versions of strtod/strtol. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of

Re: [Rd] Using lengthgets() correctly (was SET_LENGTH)

2005-04-17 Thread Prof Brian Ripley
I assume this is not true of your actual example, but the sample code allocates a character matrix and calls INTEGER() on it. Ouch! On Sun, 17 Apr 2005, Prof Brian Ripley wrote: If you use R not the S-compatibility macros you will be less likely to confuse yourself. The definition is (analogous

Re: [Rd] Using lengthgets() correctly (was SET_LENGTH)

2005-04-17 Thread Prof Brian Ripley
hes. Does anyone have any ideas what the problem could be? The problem seems to be the assumption that R (and not the user) was at fault. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel:

[Rd] New developer.r-project.org page

2005-04-15 Thread Prof Brian Ripley
: valgrind 2.4.0 is out and has solved almost all the instability problems of 2.2.0 on recent Linux kernels. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 S

Re: [Rd] inconsistent fonts generated in postscript file (PR#7795)

2005-04-14 Thread Prof Brian Ripley
format, and found the font in .ps file becomes Arial font. While I save the plot in JPEG or PNG format, everything is correct. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 18

Re: [Rd] dynamic array output by .C

2005-04-14 Thread Prof Brian Ripley
R vector `in place'. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK

Re: [Rd] dynamic array output by .C

2005-04-14 Thread Prof Brian Ripley
quick question. Thanks Use lengthgets(). On 4/14/05, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: On Thu, 14 Apr 2005, Tib wrote: Greetings, I am building a stochastic simulation model in a C++ shared library for R. My model will generate a random number of new observations and also delete so

Re: [Rd] dynamic array output by .C

2005-04-14 Thread Prof Brian Ripley
simplicity, I am trying to control my programming at the second stage (pure C++ for R). It seems .C accepts fixed size of arrays as input (also ouput), can I modify size of array for deleting old and adding new observations in .C? No, but .Call can. -- Brian D. Ripley, [EMAIL

Re: [Rd] documentation for 'open': some clarification?

2005-04-14 Thread Prof Brian Ripley
is a reference on the help page, and an article in R-news. (I have raised several times the idea of a technical papers section with such articles, but other do not share my enthusiasm.) -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.a

RE: [Rd] How allocate STRSXP outside of gc

2005-04-14 Thread Prof Brian Ripley
And if you have that much data, why not store it in a more efficient format? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks

  1   2   3   4   5   6   7   8   9   10   >