[R] building zipped package with windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Feb 23 17:08:21 CET 2011


On Wed, 23 Feb 2011, Jannis wrote:

> Sorry, it seems as this was my mistake. I did not set the PATH environment correctly. Now it works perfectly! As the status messages told me that a zip file was created I thought that rtools was integrated correctly.

I don't see a mention of your R version.  That does give an error 
message in most versions of R, but not it seems in 2.12.1 (where thre 
is a FIXME comment in the code, since fixed).

>
> Thanks for your help
> Jannis
>
> --- Prof Brian Ripley <ripley at stats.ox.ac.uk> schrieb am Mi, 23.2.2011:
>
>> Von: Prof Brian Ripley <ripley at stats.ox.ac.uk>
>> Betreff: Re: [R] building zipped package with windows
>> An: "Jannis" <bt_jannis at yahoo.de>
>> CC: r-help at r-project.org
>> Datum: Mittwoch, 23. Februar, 2011 13:37 Uhr
>> On Wed, 23 Feb 2011, Jannis wrote:
>>
>>> Dear list,
>>>
>>> i would like to build an own package using:
>>>
>>> R CMD INSTALL --html --build --auto-zip -l folder
>> spectral.methods
>>>
>>> it seems to succeed as I get the following messages:
>>>
>>> * installing *source* package 'spectral.methods' ...
>>> ** R
>>> ** data
>>> Warning: empty 'data' directory
>>> ** preparing package for lazy loading
>>> ** help
>>> *** installing help indices
>>>   converting help for package 'spectral.methods'
>>>     finding HTML links ... done
>>>     filter.tseries.SSA     
>>                
>> html
>>>     gapfilling.SSA       
>>                
>>   html
>>>     spectral.methods-package   
>>             html
>>> ** building package indices ...
>>> ** testing if installed package can be loaded
>>> * MD5 sums
>>> packaged installation of 'spectral.methods' as
>> spectral.methods_1.0.zip
>>>
>>> * DONE (spectral.methods)
>>>
>>> I can also load the package using
>> library('spectral.methods') and everything seems to work
>> fine. The way I understand the R CMD INSTALL command,
>> however, lets me to expect that a zipped directory is
>> created which does not happen.
>>
>> Well, it said it was:
>>
>>> packaged installation of 'spectral.methods' as
>> spectral.methods_1.0.zip
>>
>> and that is how all the CRAN binaries are made.  So
>> look for a file of that name.
>>
>>> Do I need to zip the folder independently? Do I need
>> to install some sort of zipping program?
>>
>> You did, in Rtools ....
>>
>>> I have installed rtools.
>>>
>>> Cheers
>>> Jannis
>>
>> -- 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
>>
>
>
>

-- 
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