Re: [Rd] Problem in R 2.2.0 with environments and [

2005-09-05 Thread Gabor Grothendieck
Sorry. I think this "problem" was actually the same one as my previous post where I set my library path wrong. Once I set it correctly both versions worked fine. On 9/5/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > I have found a problem with R 2.2.0 under Windows XP. > > Under R 2.1.1 pat

Re: [Rd] A memory management question

2005-09-05 Thread dhinds
Luke Tierney <[EMAIL PROTECTED]> wrote: > I am not comfortable making this available at this point. It might be > useful to have but would need careful thought. Without some way to > find out the true length there are potential problems. Without some > way of making sure the fields in VECSXP an

[Rd] Problem in R 2.2.0 with environments and [

2005-09-05 Thread Gabor Grothendieck
I have found a problem with R 2.2.0 under Windows XP. Under R 2.1.1 patched I get the following result as expected. First we define a function f which displays the names of its arguments, rather than their values. We define a variable x whose value is an environment and whose class is c("x", "en

Re: [Rd] win.packages.html not found

2005-09-05 Thread Gabor Grothendieck
To answer my own question I had mixed up my library paths and it seemed that it was using the tools package from R 2.1 due to this error even though I was using R 2.2. Once I corrected that the error message goes away. On 9/5/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > I am using Windows

[Rd] win.packages.html not found

2005-09-05 Thread Gabor Grothendieck
I am using Windows XP and "R version 2.2.0, 2005-09-03" and am getting the following message when I try to install or check a package using Rcmd check or Rcmd install: Error in get(x, envir, mode, inherits) : variable "win.packages.html" was not fo und It seems to be looking for the indicated f

Re: [Rd] Writing R-extensions

2005-09-05 Thread Luke Tierney
On Mon, 5 Sep 2005, Berwin A Turlach wrote: > G'day Luke, > >> "LT" == Luke Tierney <[EMAIL PROTECTED]> writes: > >>> On Sat, 27 Aug 2005, Berwin A Turlach wrote: > >>>> 3) The final sentence in the section on `Registering S3 >>>> methods' is: >>>> >>>> Any methods for a ge

Re: [Rd] A memory management question

2005-09-05 Thread Luke Tierney
On Mon, 5 Sep 2005, [EMAIL PROTECTED] wrote: > Luke Tierney <[EMAIL PROTECTED]> wrote: > >> It might or might not work now but is not guaranteed to do so reliably >> in the future. Seeing the risks of leaving SETLENGTH exposed, it is >> very likely that SETLENGTH will be removed from the sources

Re: [Rd] A memory management question

2005-09-05 Thread dhinds
Luke Tierney <[EMAIL PROTECTED]> wrote: > It might or might not work now but is not guaranteed to do so reliably > in the future. Seeing the risks of leaving SETLENGTH exposed, it is > very likely that SETLENGTH will be removed from the sources after the > 2.2.0 release. > If you provide your ow

Re: [Rd] .Call with C and Fortran together (PR#8122)

2005-09-05 Thread Thomas Lumley
> > In some machines I don't get the segmentation fault problem, but I don't get > the > message "Just a simple test" either (when using "cg" as the subroutine's > name). > I believe this is bug in R because if I change my C interface again to return > a > 0 instead of a R_NilValue, and then us

Re: [Rd] RODBC and 64 bit

2005-09-05 Thread Florian Hahne
I forgot to include some more information. Here is my sessionInfo R version 2.2.0, 2005-08-24, x86_64-unknown-linux-gnu attached base packages: [1] "grid" "tools" "methods" "stats" "graphics" "grDevices" [7] "utils" "datasets" "base" other attached packages: RODBC

Re: [Rd] A memory management question

2005-09-05 Thread Luke Tierney
On Mon, 5 Sep 2005, [EMAIL PROTECTED] wrote: > Luke Tierney <[EMAIL PROTECTED]> wrote: > >> This is not supported by the memory manager. Using SETLENGTH to >> change the length would confuse the garbage collector--we should >> probably remove SETLENGTH from the headers. > >> The memory manager do