Re: memory.profile() messes up the vector heap on Alpha/Linux?

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: memory.profile() messes up the vector heap on Alpha/Linux?
From: Naoki Takebayashi (ntakebay@bio.indiana.edu)
Date: Sat 27 Nov 1999 - 11:32:42 EST


Message-ID: <Pine.SOL.4.10.9911262020570.3852-100000@sunflower.bio.indiana.edu>

Thank you, Peter!
This fixed the problem. So 0.9.0 passes "make check" on Linux/alpha now!!

> Doh! Never mind gdb, sometimes you just need to look at the code:
>
> PROTECT(ans = allocVector(INTSXP, 21));
> PROTECT(nms = allocVector(STRSXP, 21));
> for (i = 0; i < 21; i++) {
> STRING(ans)[i] = 0;
> STRING(nms)[i] = R_BlankString;
> }
>
> Try making that INTEGER(ans)[i] = 0 ...

Naoki Takebayashi <ntakebay@bio.indiana.edu>
--- Dept. of Biology, Indiana University, Jordan Hall 142
--- 1001 E. Third St. Bloomington, IN 47405-3700 USA

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:10 EST