From murdoch at stats.uwo.ca  Fri Sep 18 00:32:18 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Thu, 17 Sep 2009 18:32:18 -0400
Subject: [Rd] Windows Source Install Without Rtools
In-Reply-To: <971536df0909171507s350224d2w4d831cd1ac073b79@mail.gmail.com>
References: <971536df0909170832v3c675fb1l9a3b4403516ec391@mail.gmail.com>
	<19122.24949.329620.857305@ron.nulle.part>
	<971536df0909170943p6deed018jb54b8cdd82980e45@mail.gmail.com>
	<923DDBAD-EC7A-4446-B33B-728208473003@r-project.org>
	<971536df0909171309oc7a21fcs5cbe5563fb5fdcb2@mail.gmail.com>
	<4F99D751-F645-4185-B255-631F9DD9C653@r-project.org>
	<971536df0909171340i1c36841fj90ef3b9c5792685e@mail.gmail.com>
	<4AB2B054.7000008@stats.uwo.ca> <4AB2B0C4.1010109@stats.uwo.ca>
	<971536df0909171507s350224d2w4d831cd1ac073b79@mail.gmail.com>
Message-ID: <4AB2B8F2.4080304@stats.uwo.ca>

Gabor Grothendieck wrote:
> Does that mean that
>
>    Rcmd INSTALL --binary myPackage/
>
> is still ok or should one use:
>   

No, that has never worked.  Please follow Simon's advice, and read the 
manual.

Duncan Murdoch
>    Rcmd INSTALL myPackage/
>
> without --binary and is this advice the same with and without Rtools?
>
> Also, as there is potential confusion here could the combinations of flags
> that are not recommended result in a warning? In the latter case at least
> one knows right off that its not the thing to do and can immediately abort
> and try something else if they don't want to suffer the consequences of
> bad help linking.
>
> On Thu, Sep 17, 2009 at 5:57 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
>   
>> On 17/09/2009 5:55 PM, Duncan Murdoch wrote:
>>     
>>> On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:
>>>       
>>>> Maybe on other platforms but on Windows
>>>> help does not get linked properly with all
>>>> variations.
>>>>         
>>> I think you are thinking of building binaries, not installing packages.
>>>  Generally the only variation we advise against is
>>>
>>> R CMD build --binary
>>>
>>> Everything else should work fine, as far as I know.
>>>       
>> And I forgot to add:  the way HTML help is handled in the upcoming 2.10.0 is
>> different, so I suspect R CMD build --binary will work.  I haven't tested it
>> though...
>>
>> Duncan Murdoch
>>
>>     
>>> Duncan Murdoch
>>>
>>>       
>>>> On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
>>>> <simon.urbanek at r-project.org> wrote:
>>>>         
>>>>> On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:
>>>>>
>>>>>           
>>>>>> Note that that is not currently the recommended way.
>>>>>>
>>>>>>             
>>>>> Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD
>>>>> INSTALL
>>>>> works in Windows to install source packages if you have the source-code
>>>>> package files".
>>>>>
>>>>>
>>>>>           
>>>>>> Also, what comes after INSTALL? The source .tar.gz name?
>>>>>> The pathname to the source directory?
>>>>>>
>>>>>>             
>>>>> R CMD INSTALL --help
>>>>>
>>>>> Usage: R CMD INSTALL [options] pkgs
>>>>>
>>>>> Install the add-on packages specified by pkgs.  The elements of pkgs can
>>>>> be relative or absolute paths to directories with the package (bundle)
>>>>> sources, or to gzipped package 'tar' archives.  The library tree
>>>>> [...]
>>>>>
>>>>> Cheers,
>>>>> S
>>>>>
>>>>>
>>>>>           
>>>>>> On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
>>>>>> <simon.urbanek at r-project.org> wrote:
>>>>>>             
>>>>>>> On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
>>>>>>>
>>>>>>>               
>>>>>>>> Thanks. Perhaps someone in the core group can
>>>>>>>> still provide explicit information on how to install such
>>>>>>>> a package.
>>>>>>>>
>>>>>>>>                 
>>>>>>> R CMD INSTALL
>>>>>>>
>>>>>>> (see R --help and it has been *the* way to install packages for quite
>>>>>>> a
>>>>>>> while so I'm not sure how more explicit we have to make it...)
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Simon
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel <edd at debian.org>
>>>>>>>> wrote:
>>>>>>>>                 
>>>>>>>>> On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
>>>>>>>>> | Regarding this from this week:
>>>>>>>>> |
>>>>>>>>> | 2.10.0 PACKAGE INSTALLATION (Windows)
>>>>>>>>> | It is possible to install source packages without Rtools provided
>>>>>>>>> they
>>>>>>>>> | have no compiled code and no configure.win or cleanup.win script.
>>>>>>>>> |
>>>>>>>>> | - what are the instructions to perform such a source install?
>>>>>>>>> | - I assume one still needs MiKTeX -- is that right?
>>>>>>>>> | - is the source install done from a tar.gz (in which case one
>>>>>>>>> would
>>>>>>>>> | need tar to create it) or directly from the source directory tree?
>>>>>>>>>
>>>>>>>>> You may want to stick this
>>>>>>>>>
>>>>>>>>>   http://developer.r-project.org/blosxom.cgi/R-devel
>>>>>>>>>
>>>>>>>>> into your RSS reader so that you get daily summaries of changes.
>>>>>>>>>
>>>>>>>>> I don't follow this too religiously (as I typically only built
>>>>>>>>> r-devel
>>>>>>>>> once we have
>>>>>>>>> alpha/beta/rc candidates) but even I am aware that
>>>>>>>>>
>>>>>>>>>   a) dynamic .Rd conversion at runtime, so Miktex may no longer be
>>>>>>>>> needed
>>>>>>>>>
>>>>>>>>>   b) untgz.exe on Windows to read (compressed) tarballs
>>>>>>>>>
>>>>>>>>> Dirk
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Three out of two people have difficulties with fractions.
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>> ______________________________________________
>>>>>>>> R-devel at r-project.org mailing list
>>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>> ______________________________________________
>>>> R-devel at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>>>         
>>>       
>>



[Rd] Windows Source Install Without Rtools
Duncan Murdoch