Rcmd build -binary -- problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Rcmd build -binary -- problem

Stephen Eick
Hi.  I need a bit of help.  I'm running Windows 7 and "out of the box"
versions of Rtools and R (version 2.14.2) and am trying to compile a
package that worked before. When I run the command:

> Rcmd build -binary mypackage
> Warning: unknown option '-binary'

i get a warning and it creates the tar.gz file but not the zip file like
before.  Something has changed with the more recent versions of R.  Any
suggestions on how to make the .zip file?

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

Prof Brian Ripley
On 22/03/2012 17:33, Stephen Eick wrote:

> Hi.  I need a bit of help.  I'm running Windows 7 and "out of the box"
> versions of Rtools and R (version 2.14.2) and am trying to compile a
> package that worked before. When I run the command:
>
>> Rcmd build -binary mypackage
>> Warning: unknown option '-binary'
>
> i get a warning and it creates the tar.gz file but not the zip file like
> before.  Something has changed with the more recent versions of R.  Any
> suggestions on how to make the .zip file?

Nothing has changed.  It is --binary (two hyphens) as it always was (and
you explicitly asked not to send HTML, as you always were).

>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


--
Brian D. Ripley,                  [hidden email]
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

Stephen Eick
Nope.  I tried -- too.  I tried many other variations too.  Any suggestions?

R>Rcmd build --binary thinc
Rcmd build --binary thinc
Warning: unknown option '--binary'
* checking for file 'thinc/DESCRIPTION' ... OK
* preparing 'thinc':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory 'thinc/data'
* building 'thinc_1.0.tar.gz'

I don't understand your comment about "you explicitly asked not to
send HTML, as you always were..."  Is this in regards to using gmail??

On Thu, Mar 22, 2012 at 5:01 PM, Prof Brian Ripley
<[hidden email]> wrote:

>
> On 22/03/2012 17:33, Stephen Eick wrote:
>>
>> Hi.  I need a bit of help.  I'm running Windows 7 and "out of the box"
>> versions of Rtools and R (version 2.14.2) and am trying to compile a
>> package that worked before. When I run the command:
>>
>>> Rcmd build -binary mypackage
>>> Warning: unknown option '-binary'
>>
>>
>> i get a warning and it creates the tar.gz file but not the zip file like
>> before.  Something has changed with the more recent versions of R.  Any
>> suggestions on how to make the .zip file?
>
>
> Nothing has changed.  It is --binary (two hyphens) as it always was (and you explicitly asked not to send HTML, as you always were).
>
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> [hidden email] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
>
>
> --
> Brian D. Ripley,                  [hidden email]
> 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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

Uwe Ligges-3


On 23.03.2012 18:43, Stephen Eick wrote:

> Nope.  I tried -- too.  I tried many other variations too.  Any suggestions?
>
> R>Rcmd build --binary thinc
> Rcmd build --binary thinc
> Warning: unknown option '--binary'
> * checking for file 'thinc/DESCRIPTION' ... OK
> * preparing 'thinc':
> * checking DESCRIPTION meta-information ... OK
> * cleaning src
> * checking for LF line-endings in source and make files
> * checking for empty or unneeded directories
> Removed empty directory 'thinc/data'
> * building 'thinc_1.0.tar.gz'



Brian Ripley was probably confused by the obvious typo you had in your
first request. R CMD build --binary is defunct nowadays, please use, as
suggested for many many years:

R CMD INSTALL --build

in order to produce Windows binaries.

Best,
Uwe Ligges




> I don't understand your comment about "you explicitly asked not to
> send HTML, as you always were..."  Is this in regards to using gmail??
>
> On Thu, Mar 22, 2012 at 5:01 PM, Prof Brian Ripley
> <[hidden email]>  wrote:
>>
>> On 22/03/2012 17:33, Stephen Eick wrote:
>>>
>>> Hi.  I need a bit of help.  I'm running Windows 7 and "out of the box"
>>> versions of Rtools and R (version 2.14.2) and am trying to compile a
>>> package that worked before. When I run the command:
>>>
>>>> Rcmd build -binary mypackage
>>>> Warning: unknown option '-binary'
>>>
>>>
>>> i get a warning and it creates the tar.gz file but not the zip file like
>>> before.  Something has changed with the more recent versions of R.  Any
>>> suggestions on how to make the .zip file?
>>
>>
>> Nothing has changed.  It is --binary (two hyphens) as it always was (and you explicitly asked not to send HTML, as you always were).
>>
>>>
>>>         [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> [hidden email] mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>> --
>> Brian D. Ripley,                  [hidden email]
>> 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
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

David Winsemius
In reply to this post by Stephen Eick

On Mar 23, 2012, at 1:43 PM, Stephen Eick wrote:

> Nope.  I tried -- too.  I tried many other variations too.  Any  
> suggestions?
>
> R>Rcmd build --binary thinc
> Rcmd build --binary thinc
> Warning: unknown option '--binary'
> * checking for file 'thinc/DESCRIPTION' ... OK
> * preparing 'thinc':
> * checking DESCRIPTION meta-information ... OK
> * cleaning src
> * checking for LF line-endings in source and make files
> * checking for empty or unneeded directories
> Removed empty directory 'thinc/data'
> * building 'thinc_1.0.tar.gz'
>
> I don't understand your comment about "you explicitly asked not to
> send HTML, as you always were..."  Is this in regards to using gmail??

It is in regards to your not using gmail properly.

--
David.

>
> On Thu, Mar 22, 2012 at 5:01 PM, Prof Brian Ripley
> <[hidden email]> wrote:
>>
>> On 22/03/2012 17:33, Stephen Eick wrote:
>>>
>>> Hi.  I need a bit of help.  I'm running Windows 7 and "out of the  
>>> box"
>>> versions of Rtools and R (version 2.14.2) and am trying to compile a
>>> package that worked before. When I run the command:
>>>
>>>> Rcmd build -binary mypackage
>>>> Warning: unknown option '-binary'
>>>
>>>
>>> i get a warning and it creates the tar.gz file but not the zip  
>>> file like
>>> before.  Something has changed with the more recent versions of  
>>> R.  Any
>>> suggestions on how to make the .zip file?
>>
>>
>> Nothing has changed.  It is --binary (two hyphens) as it always was  
>> (and you explicitly asked not to send HTML, as you always were).
>>
>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> [hidden email] mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>> --
>> Brian D. Ripley,                  [hidden email]
>> 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
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

Berend Hasselman
In reply to this post by Stephen Eick

On 23-03-2012, at 18:43, Stephen Eick wrote:

> .....
> I don't understand your comment about "you explicitly asked not to
> send HTML, as you always were..."  Is this in regards to using gmail??
>
No.
It means please configure your mail client to send mail in plain text.
Please do not send in html format.

When one receives mail fro R-help you can see this message (at least I can)

>>>
>>>        [[alternative HTML version deleted]]
>>>


R-help doesn't want an HTML version.

Berend

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

jack306
In reply to this post by David Winsemius
After I used rtools 2.15 and R-2.14.2 to create an R package, I have some thoughts that some R users may try:

1. If rcmd is not recognized even the path is set under advanced environmental variables, use "path C:\Program Files\R\R-2.14.2\bin\x64" if you try to use win-64 bit under cmd dos mode.

2. I have not been able to create a zip file using "R CMD install --build mypackage" for many times , but it seems that whole package can be installed under a specific directory. Mine is located a sub folder of My Documents.  I used winrar software to package all installed files and all subfolders to create a zip file.

It seems very successful to me. Good luck!

Jixiang Wu

Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

Uwe Ligges-3


On 28.03.2012 22:22, jack306 wrote:
> After I used rtools 2.15 and R-2.14.2 to create an R package, I have some
> thoughts that some R users may try:
>
> 1. If rcmd is not recognized even the path is set under advanced
> environmental variables, use "path C:\Program Files\R\R-2.14.2\bin\x64" if
> you try to use win-64 bit under cmd dos mode.
>
> 2. I have not been able to create a zip file using "R CMD install --build
> mypackage"


1. Because it is "INSTALL", not "install"?
2. Because it is mypackage_version.tar.gz?
3. Because there is no "dos mode"?

If you can install from sources, than you can also build. If not, we
need details.

Uwe Ligges

 > for many times , but it seems that whole package can be installed

> under a specific directory. Mine is located a sub folder of My Documents.  I
> used winrar software to package all installed files and all subfolders to
> create a zip file.
>
> It seems very successful to me. Good luck!
>
> Jixiang Wu
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Rcmd-build-binary-problem-tp4496900p4513561.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Rcmd build -binary -- problem

jack306
Thanks for the comments.

Using "INSTALL" rather than "install" gets the job done.

Best regards,

Jixiang Wu

On Thu, Mar 29, 2012 at 2:52 PM, Uwe Ligges-3 [via R] <[hidden email]> wrote:


On 28.03.2012 22:22, jack306 wrote:
> After I used rtools 2.15 and R-2.14.2 to create an R package, I have some
> thoughts that some R users may try:
>
> 1. If rcmd is not recognized even the path is set under advanced
> environmental variables, use "path C:\Program Files\R\R-2.14.2\bin\x64" if
> you try to use win-64 bit under cmd dos mode.
>
> 2. I have not been able to create a zip file using "R CMD install --build
> mypackage"


1. Because it is "INSTALL", not "install"?
2. Because it is mypackage_version.tar.gz?
3. Because there is no "dos mode"?

If you can install from sources, than you can also build. If not, we
need details.

Uwe Ligges

 > for many times , but it seems that whole package can be installed

> under a specific directory. Mine is located a sub folder of My Documents.  I
> used winrar software to package all installed files and all subfolders to
> create a zip file.
>
> It seems very successful to me. Good luck!
>
> Jixiang Wu
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Rcmd-build-binary-problem-tp4496900p4513561.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



If you reply to this email, your message will be added to the discussion below:
http://r.789695.n4.nabble.com/Rcmd-build-binary-problem-tp4496900p4516710.html
To unsubscribe from Rcmd build -binary -- problem, click here.
NAML