From audrey at ebi.ac.uk  Wed Mar 25 17:06:18 2009
From: audrey at ebi.ac.uk (audrey at ebi.ac.uk)
Date: Wed, 25 Mar 2009 16:06:18 -0000 (GMT)
Subject: [Rd] no internal function "int.unzip" in R 2.9 on Windows
In-Reply-To: <49CA5421.2070709@stats.uwo.ca>
References: <49B6BB51.9090106@fhcrc.org>
	<47603.86.9.125.71.1237995770.squirrel@webmail.ebi.ac.uk>
	<49CA5421.2070709@stats.uwo.ca>
Message-ID: <57479.86.9.125.71.1237997178.squirrel@webmail.ebi.ac.uk>

Dear Duncan and Uwe,

Thank you for your prompt answers. I will have a look at the unzip
function and try to modify it to make it producing the output I want.

Cheers,
Audrey


> On 3/25/2009 11:42 AM, audrey at ebi.ac.uk wrote:
>> Dear list,
>>
>> Using R 2.9, I have the following error on Windows when I try using
>> .Internal(int.unzip(...)):
>>
>>> .Internal(int.unzip("test.zip",NULL, "."))
>> Error in .Internal(int.unzip("test.zip", NULL, ".")) :
>>   no internal function "int.unzip"
>>
>> The same error also happens with R 2.10 but not on R 2.8. And it does
>> not
>> happen with R 2.9 on Mac or Unix.
>> I have googled the error message but cannot find much.
>>
>> Does anyone know if the way R calls unzip functions on Windows has
>> changed
>> and if this is permanent?
>> I am sorry if I miss something obvious, but any suggestions on how I can
>> fix the problem?
>> I want to keep using int.unzip and not the utils function unzip because
>> I
>> use its output afterwards in my script.
>
> Generally internal things that aren't documented as part of the API are
> subject to change without notice.  Rather than relying on the way
> certain functions happen to work in certain versions, if you find that
> one of the documented functions doesn't do what you want, you should
> point out the problem with it and submit a patch.
>
> You can see how the unzip function in the utils package works by looking
> at the source, or just printing it in the console.  It doesn't refer to
> int.unzip, but I wouldn't count on its current behaviour being
> "permanent":  it's undocumented internal implementation, which you use
> at your own risk.
>
> Duncan Murdoch
>



[Rd] no internal function "int.unzip" in R 2.9 on Windows
audrey at ebi.ac.uk