From tkeitt at utexas.edu  Thu Mar 30 20:52:47 2017
From: tkeitt at utexas.edu (Tim Keitt)
Date: Thu, 30 Mar 2017 13:52:47 -0500
Subject: [Rd] Transferring ownership of R-managed buffer
In-Reply-To: <CADwqtCMqvgAweKRJ8=dDf1Lwmsng7tVZMMWndSGvgNnN8VH3=A@mail.gmail.com>
References: <CANnL8go0rb+01wbPzygrFO+rEznLsT1K+_buZEzAhAMecNP8RQ@mail.gmail.com>
	<bd43b699-57fb-96a0-e187-7183bf5f7274@fredhutch.org>
	<CANnL8gpW-mKyP4JHN9PEkTRJZL-5qb3x0twrQwWao1x-3W8UJQ@mail.gmail.com>
	<CADwqtCMqvgAweKRJ8=dDf1Lwmsng7tVZMMWndSGvgNnN8VH3=A@mail.gmail.com>
Message-ID: <CANnL8grTGSPtiVPVE4Z6ELa-Od-6j3J=HHWNSEh+7qT3JranRw@mail.gmail.com>

On Wed, Mar 29, 2017 at 4:56 PM, Gabriel Becker <gmbecker at ucdavis.edu>
wrote:

> The concept of having a vector which is a "window" into another vector
> without duplication ( which I suspect is at least related to your use-case,
> though I could be wrong) is a special case of one of alt-representations I
>  have implemented there.
>

Nice. That is exactly what I need. I was trying out a little experiment,
but I think its not possible right now because the length of an R vector is
identical to the buffer length. I can do everything I need except force the
length of the returned R vector to be only a portion of the allocated
storage.

THK

http://www.keittlab.org/

	[[alternative HTML version deleted]]



[Rd] Transferring ownership of R-managed buffer
Tim Keitt