[R] R CMD build creates tar file instead of tar.gz file

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Mar 24 19:15:04 CET 2011


For the record, you can avoid all the Cygwin tar problems in 2.13.0 
by setting the environment variable TAR to 'internal': you most likely 
do not even need Rtools.

You may get other issues, though (especially from Cygwin and 
permissions), which is why it is not the default yet on Windows.

On Thu, 24 Mar 2011, Ian Schiller wrote:

>> You likely have the Hide extensions options enabled on your Windows system.
>
> Yes you're right!  Guys, I thank you all for your precious help!
>
> Ian
>
> ******************************************************************************************************************************
> IAN SCHILLER, M.Sc.
>
> Statistical research assistant,
> Division of Clinical Epidemiology, McGill University Health Center
> Assistant de recherche en statistiques,
> Département d'Épidémiologie Clinique, Centre Universitaire de Santé Mcgill
>
> Tel: 514 934 1934 ext. 36925
> Email: ian.schiller at clinepi.mcgill.ca
>
>
> -----Original Message-----
> From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com]
> Sent: Thursday, March 24, 2011 1:40 PM
> To: Ian Schiller
> Cc: Duncan Murdoch; r-help at r-project.org
> Subject: Re: [R] R CMD build creates tar file instead of tar.gz file
>
> On Thu, Mar 24, 2011 at 1:28 PM, Ian Schiller
> <Ian.Schiller at clinepi.mcgill.ca> wrote:
>> Ok guys.  First thanks again for your help.  It is very appreciated.  Now here's the thing.  I downloaded the Rcmd.bat and included in the path.  I've also changed the location of the package source and ran R CMD build mypackage (Rcmd.bat is not working so I assume there is something I'm doing wrong).  However, the warnings are now gone.  The file produced is still a tar (and not tar.gz), but when I look at it within the command prompt windows using dir, it says that the file is a tar.gz.  I don't know what is the meaning of that.
>> Here is the output of the command prompt
>>
>>
>>
>> C:\R>R CMD build HSROC
>> * checking for file 'HSROC/DESCRIPTION' ... OK
>> * preparing 'HSROC':
>> * checking DESCRIPTION meta-information ... OK
>> * checking for LF line-endings in source and make files
>> * checking for empty or unneeded directories
>> * building 'HSROC_1.0.0.tar.gz'
>>
>> Directory of C:\R
>>
>> 03/24/2011  01:16 PM    <DIR>          .
>> 03/24/2011  01:16 PM    <DIR>          ..
>> 03/24/2011  01:08 PM    <DIR>          HSROC
>> 03/24/2011  01:16 PM            47,976 HSROC_1.0.0.tar.gz
>>               1 File(s)         47,976 bytes
>>               3 Dir(s)  949,472,227,328 bytes free
>>
>
> You likely have the Hide extensions options enabled on your Windows system.
>
> Click the Windows start button in the lower left of the display and
> enter the words: Folder Options. When the Folder Options screen comes
> up on its View tab ensure that that Hide extensions option is turned
> off.
>
>
> -- 
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list