Re: [Rd] readBin() can read beyond end of raw vector

2007-04-07 Thread Prof Brian Ripley
Thanks for the report. BTW, this is not new in 2.5.0 alpha AFAICS. It needs a tiny change in the C function readRaw: fixed in SVN now. On Sat, 7 Apr 2007, Henrik Bengtsson wrote: > FYI, in R v2.5.0 alpha, readBin() can be used to read beyond end of raw > vector: > >> bfr <- as.raw(1:10) >> read

Re: [Rd] R CMD install on R 2.5.0 alpha

2007-04-07 Thread Prof Brian Ripley
The file is src/gnuwin32/fixed/bin/INSTALL. You do not want --vanilla: the point is to run R under normal conditions to pick up the value it uses. There is a workaround on the Unix side, nd I will add a similar one to the Windows code. There will be the usual delays in this getting into an al

Re: [Rd] R CMD install on R 2.5.0 alpha

2007-04-07 Thread Henrik Bengtsson
I located the problem to INSTALL. If no the library path is not passed explicitly, that is no -l option is use, the following code in called: 132:my @out = R_runR("cat(.libPaths()[1])", "--slave"); 133:$library = @out[0]; 134:$library = Win32::GetShortPathName($library) if $library =~

[Rd] Rf_PrintValue problem with methods::show

2007-04-07 Thread Deepayan Sarkar
Hi, I think this is a bug (even though I can't find documentation explicitly saying that it should work). Basically, Rf_PrintValue(obj) fails when 'obj' is an S4 object that should be printed using show() rather than print(). From the error message I'm guessing that the need to use show is detecte

[Rd] small update required in R-lang

2007-04-07 Thread Deepayan Sarkar
The R-lang manual has this example which no longer holds (I couldn't think of a simple alternative): As it happens, @R{}'s parser is not perfectly invertible, nor is its deparser, as the following examples show @example > deparse(quote(c(1, 2))) [1] "c(1, 2)" > deparse(1:2) [1] "c(1, 2)" -Deepay

[Rd] readBin() can read beyond end of raw vector

2007-04-07 Thread Henrik Bengtsson
FYI, in R v2.5.0 alpha, readBin() can be used to read beyond end of raw vector: > bfr <- as.raw(1:10) > readBin(con=bfr, what="raw", n=20) [1] 01 02 03 04 05 06 07 08 09 0a > readBin(con=bfr, what="integer", n=20) [1] 67305985 134678021 > readBin(con=bfr, what="integer", size=4, n=20) [1] 673

Re: [Rd] segmentation fault

2007-04-07 Thread Simon de Bernard
Hi Luke, thanks for your answer. > I can't reproduce the crash on a 16Gb x86_64 linux machine. It gets > over 16G of use and so into paging and seems to be making slow > progress but I killed it at that point to avoid hogging the machine. well if it's platform/compiler specific, I guess I'll se

Re: [Rd] Orphaned ncvar? (PR#9603)

2007-04-07 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > An orphaned package? anyone in Switzerland know if there's an > alternative? > Note the email. > I guess CRAN-R should be notified. > > regards, Bob C > > This appears confused. Where is the bug in R? I have difficulties seeing even what it is you're trying to achi

Re: [Rd] R CMD install on R 2.5.0 alpha

2007-04-07 Thread Prof Brian Ripley
On Sat, 7 Apr 2007, Henrik Bengtsson wrote: > Hi. > > On 4/7/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: >> Nothing has changed here for three months, AFAICS. However, I noticed you >> have installed R into a directory with a space in the path, despite the >> advice not to. OTOH, I have jus

Re: [Rd] R CMD install on R 2.5.0 alpha

2007-04-07 Thread Henrik Bengtsson
Hi. On 4/7/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Nothing has changed here for three months, AFAICS. However, I noticed you > have installed R into a directory with a space in the path, despite the > advice not to. OTOH, I have just tested installing where you did, and > was able to

Re: [Rd] R CMD install on R 2.5.0 alpha

2007-04-07 Thread Prof Brian Ripley
Nothing has changed here for three months, AFAICS. However, I noticed you have installed R into a directory with a space in the path, despite the advice not to. OTOH, I have just tested installing where you did, and was able to install R.oo: [c:/Program Files/R/R-2.5.0alpha/bin]% ./Rcmd INSTAL

Re: [Rd] issue with pdf(paper="a4") in 2.5.0 alpha

2007-04-07 Thread Martin Maechler
Thank you, Jan, for the report. There was bug and that has been fixed in the mean time (not by me). We (the development team) are very glad for everyone who uses R 2.5.0 alpha (soon "beta") and tells about any strange / incompatible behavior {well, after having read 'NEWS'}. Martin > "JanO"

Re: [Rd] segmentation fault

2007-04-07 Thread Luke Tierney
I can't reproduce the crash on a 16Gb x86_64 linux machine. It gets over 16G of use and so into paging and seems to be making slow progress but I killed it at that point to avoid hogging the machine. This example will allocate large generic vectors and then allocate lots of copies of 1 to fill it

Re: [Rd] R-Forge

2007-04-07 Thread Henrik Bengtsson
Hi, thanks for working on this and offering us this service. One thing I wonder is about backup. What kind of backup do you use or plan to use? Best, Henrik On 4/6/07, Stefan Theussl <[EMAIL PROTECTED]> wrote: > Hello Gregor, > > Yes, R-Forge.R-project.org will be the official forge for the R

[Rd] R CMD install on R 2.5.0 alpha

2007-04-07 Thread Henrik Bengtsson
Hi, I've just downloaded the latest R v2.5.0 alpha (2007-04-04 r41043) for WinXP. When I try to install a package R tries to install it to a no-name (empty name) directory (causing error downstream): RCMD INSTALL R.oo installing to '' FYI: Package install perfectly on R v2.4.1 patched, and did

Re: [Rd] wishlist: additional argument in R_tryEval (Rinternals.h)

2007-04-07 Thread Thomas Friedrichsmeier
On Saturday 07 April 2007 00:39, Luke Tierney wrote: > Even though it isn't officially part of the API it has seen some use > so I'd prefer not to change the interface; instead add > > SEXP R_tryEvalWithVis(SEXP e, SEXP env, int *ErrorOccurred, int *visible); > > or something along those lines and

Re: [Rd] R-Forge?

2007-04-07 Thread Stefan Theussl
hadley wickham wrote: >> > I have recently found RForge.net (http://www.rforge.net/) by Simon >> > Urbanek and found out today that the site is accepting subscriptions. >> > Great! However, browsing a bit on the site I found a link to another >> > forge: R-Forge (http://r-forge.r-project.org/). >>

[Rd] data.frame backwards compatibility (PR#9601)

2007-04-07 Thread v . moreno
Full_Name: Victor Moreno Version: R2.5.0 OS: windows Submission from: (NULL) (68.40.63.169) This may not be a bug, but seems not yet documented. Some data.frames created with development version 2.5.0, when read in 2.4.1, show error: Error in dim.data.frame(chip23) : negative length vectors are

[Rd] R-Forge

2007-04-07 Thread Stefan Theussl
Hello Gregor, Yes, R-Forge.R-project.org will be the official forge for the R Community. But we have to fix a few things before we are going public. If you like you can participate and help us testing. If you have a package or a devel version of your package you're welcome to use SVN provide

[Rd] Orphaned ncvar? (PR#9603)

2007-04-07 Thread chatfield
> An orphaned package? anyone in Switzerland know if there's an alternative? Note the email. I guess CRAN-R should be notified. regards, Bob C > The original message was received at Fri, 6 Apr 2007 16:32:57 -0700 > from vayu.arc.nasa.gov [143.232.122.22] > >- The following addresses ha

[Rd] bug in Stangle(split=TRUE)

2007-04-07 Thread Roger Peng
[I originally emailed this to Friedrich Leisch but got no response and I just wanted to make sure it made it in before release.] While working with Stangle(), I noticed a problem when using 'split = TRUE'. Particularly, when there are two chunks where one chunk's name is a prefix of another c

[Rd] segmentation fault

2007-04-07 Thread Simon de Bernard
Dear list, I am having a segfault while working with large lists in R 2.4.1 patched (64-bit compilation) on an apple xserve xeon with 16GB RAM (I don't know if this is reproducible on other configs since this is the only computer with enough memory I have access to...) You will find below a

Re: [Rd] bquote(function(x,y) T) (PR#9602)

2007-04-07 Thread ripley
This is already different in 2.5.0 alpha. It is not clear what the bug was supposed to be, but if it was in bquote() it was already fixed. On Fri, 6 Apr 2007, [EMAIL PROTECTED] wrote: >> quote(function(x, y) T) > function(x, y) T > >> bquote(function(x, y) T) > function(, y) T > >> eval(.Last.

Re: [Rd] getConnection is not found in R depending on the Linux flavour (RedHat or Debian) - dyn.load problems

2007-04-07 Thread Prof Brian Ripley
getConnection is not part of the API, so it is not intended to be visible to your code. The code reads /* internal, not the same as R function getConnection */ attribute_hidden Rconnection getConnection(int n) and 'internal' and 'attribute_hidden' should have been enough of a clue! On many OSe

[Rd] CRAN's src/contrib/Devel area

2007-04-07 Thread Kurt Hornik
Dear R developers, With the release of R 2.5.0 on 2007-04-24 CRAN will remove its 'Devel' subdirectory (originally intended to distribute "development" versions of packages, but now apparently no longer needed and/or used). Packages in the 'Devel' are which do not pass R CMD check without warning