30 6
35 7
40 8
45 9
50 10
Jim Java writes--
Hi Everyone:--
Is it possible, within a for loop not explicitly using whole-number
indexing, to find out the index value of the loop variable within the
vector or list that's being looped through
, i, within x: , index.in.x, sep=), fill=T)
index.in.x - index.in.x + 1
}
-- is it in general possible to get values of index.in.x without
making it a count variable, as above?
Thank you.
-- Jim Java
__
[EMAIL PROTECTED] mailing list
https
[Jim Java]
Hi folks. I posted this question a few days ago, but maybe it got
lost because of the code I included with it. I'm having a problem
using the SET_LENGTH() macro in an R extension I'm writing in C++.
In a function within the extension I use SET_LENGTH() to resize R
vectors so as to allow
-help/2003-December/041871.html
Here's my question, then: Is SET_LENGTH() the appropriate way to
create space for tacking values onto the end of an R-vector in C++, or
should I be trying to tack them on in some other way?
Thanks again!
-- Jim Java
need to study the R source yourself that's okay; I'm new here and don't wish
to try to take more than I'm entitled to, nor do I wish to task the beneficence of the
founders!
Cheers,
Jim Java
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
for genericness here.
In C++, is there a better way than what I'm doing to concatenate
values onto the end of an R vector of arbitrary length, especially
over many iterations?
Thanks for taking the time to read this.
System specs: Pentium 4 2.5 GHz, 512 MB RAM, 40 GB hard drive, Win XP
Yrs etc.,
Jim