Re: [R] creating a distinct zip file

2015-02-21 Thread peter dalgaard

 On 21 Feb 2015, at 18:01 , Erin Hodgess erinm.hodg...@gmail.com wrote:
 
 This is not for CRAN, just for someone else.
 
 
 It doesn't need to be submitted.
 

As I understand it, it doesn't need to be submitted in order to be submitted...

(to CRAN, winbuilder respectively).

Just make sure it satisfies the formal package structure, with yourself in the 
maintainer field. Check out

http://win-builder.r-project.org

-pd


 Thanks,
 Erin
 
 
 On Sat, Feb 21, 2015 at 2:56 AM, Prof Brian Ripley rip...@stats.ox.ac.uk
 wrote:
 
 On 21/02/2015 07:31, Jeff Newmiller wrote:
 
 On Windows it builds a zip file. If you are on Linux, you might [1] need
 [2].
 
 [1] https://stat.ethz.ch/pipermail/r-help/2005-January/063596.html
 [2] http://cran.r-project.org/doc/contributed/cross-build.pdf
 
 
 But the first is from 2005 and the second is invalid (it should be
 http://cran.r-project.org/doc/contrib/cross-build.pdf and describes R
 1.7.x: what it describes is no longer supported).
 
 For some time you can install a package without compilable sources on any
 R platform.  So the tarball would be all that is needed.  If compilation is
 needed, submit to winbuilder to make  .zip file.
 
 See also
 http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-
 can-I-get-a-binary-version-of-a-package_003f
 
 
 
 
 
 ---
 Jeff NewmillerThe .   .  Go
 Live...
 DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live
 Go...
   Live:   OO#.. Dead: OO#.. Playing
 Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
 /Software/Embedded Controllers)   .OO#.   .OO#.
 rocks...1k
 
 ---
 Sent from my phone. Please excuse my brevity.
 
 On February 20, 2015 6:56:34 PM PST, Rolf Turner r.tur...@auckland.ac.nz
 wrote:
 
 On 21/02/15 15:02, Jeff Newmiller wrote:
 
 R CMD INSTALL --build packagename
 
 
 That will create a *.tar.gz file, not a *.zip file.  The latter being
 what Erin wanted, if I understand correctly.
 
 I have worked around the problem in the past with a shell script
 like unto:
 
 #! /bin/csh
 set vnum = `grep Version $pkge/DESCRIPTION | sed -e 's/Version: //'`
 R CMD INSTALL -l Lib $pkge  /dev/null
 cd Lib
 zip -r -l $pkge.zip $pkge  /dev/null
 mv $pkge.zip ../$pkge_$vnum.zip
 
 In the foregoing pkge is the name of the package you are trying to
 build.  You will have to have created the holding library Lib a
 priori.
 
 There are doubtless (much) better ways of accomplishing this task, but
 I
 don't know them.
 
 cheers,
 
 Rolf
 
 
 
 ---
 
 Jeff NewmillerThe .   .  Go
 
 Live...
 
 DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#. Live
 
 Go...
 
Live:   OO#.. Dead: OO#..
 
 Playing
 
 Research Engineer (Solar/BatteriesO.O#.   #.O#. with
 /Software/Embedded Controllers)   .OO#.   .OO#.
 
 rocks...1k
 
 
 
 ---
 
 Sent from my phone. Please excuse my brevity.
 
 On February 20, 2015 1:07:10 PM PST, Erin Hodgess
 
 erinm.hodg...@gmail.com wrote:
 
 Hello yet again.
 
 I am trying to create a zip file for a friend who has a Windows
 machine.
 
 He needs to access this via the local zip file packages option.
 
 When I use R CMD INSTALL --compile-both, it produces an item in the
 library
 tree (as promised).
 
 However, I would like to have an actual .zip file.
 
 I do know at one time that was possible, not sure if I can still do
 
 it.
 
 
 I did try R CMD INSTALL --force-biarch as well, same result as
 
 compile
 
 both.
 
 thank you for any suggestions.
 
 Sincerely,
 Erin
 
 
 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 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.
 
 
 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 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,  rip...@stats.ox.ac.uk
 Emeritus Professor of Applied Statistics, University of Oxford
 1 South Parks Road, Oxford OX1 3TG, UK
 
 
 
 
 -- 
 Erin Hodgess
 Associate Professor
 Department of Mathematical and Statistics
 University of Houston - Downtown
 mailto: erinm.hodg...@gmail.com
 
   [[alternative HTML version deleted]]
 
 

Re: [R] creating a distinct zip file

2015-02-21 Thread Peter Langfelder
On Fri, Feb 20, 2015 at 6:56 PM, Rolf Turner r.tur...@auckland.ac.nz wrote:
 On 21/02/15 15:02, Jeff Newmiller wrote:

 R CMD INSTALL --build packagename


 That will create a *.tar.gz file, not a *.zip file.  The latter being
 what Erin wanted, if I understand correctly.


It depends on her system (I don't see it specified anywhere). On
Windows, R CMD INSTALL --build packagename produces a compiled .zip
file. On Mac it produces a .tgz. Haven't tried it on Linux.

Peter

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-21 Thread Erin Hodgess
This is not for CRAN, just for someone else.


It doesn't need to be submitted.

Thanks,
Erin


On Sat, Feb 21, 2015 at 2:56 AM, Prof Brian Ripley rip...@stats.ox.ac.uk
wrote:

 On 21/02/2015 07:31, Jeff Newmiller wrote:

 On Windows it builds a zip file. If you are on Linux, you might [1] need
 [2].

 [1] https://stat.ethz.ch/pipermail/r-help/2005-January/063596.html
 [2] http://cran.r-project.org/doc/contributed/cross-build.pdf


 But the first is from 2005 and the second is invalid (it should be
 http://cran.r-project.org/doc/contrib/cross-build.pdf and describes R
 1.7.x: what it describes is no longer supported).

 For some time you can install a package without compilable sources on any
 R platform.  So the tarball would be all that is needed.  If compilation is
 needed, submit to winbuilder to make  .zip file.

 See also
 http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-
 can-I-get-a-binary-version-of-a-package_003f




  
 ---
 Jeff NewmillerThe .   .  Go
 Live...
 DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live
 Go...
Live:   OO#.. Dead: OO#..  Playing
 Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
 /Software/Embedded Controllers)   .OO#.   .OO#.
 rocks...1k
 
 ---
 Sent from my phone. Please excuse my brevity.

 On February 20, 2015 6:56:34 PM PST, Rolf Turner r.tur...@auckland.ac.nz
 wrote:

 On 21/02/15 15:02, Jeff Newmiller wrote:

 R CMD INSTALL --build packagename


 That will create a *.tar.gz file, not a *.zip file.  The latter being
 what Erin wanted, if I understand correctly.

 I have worked around the problem in the past with a shell script
 like unto:

 #! /bin/csh
 set vnum = `grep Version $pkge/DESCRIPTION | sed -e 's/Version: //'`
 R CMD INSTALL -l Lib $pkge  /dev/null
 cd Lib
 zip -r -l $pkge.zip $pkge  /dev/null
 mv $pkge.zip ../$pkge_$vnum.zip

 In the foregoing pkge is the name of the package you are trying to
 build.  You will have to have created the holding library Lib a
 priori.

 There are doubtless (much) better ways of accomplishing this task, but
 I
 don't know them.

 cheers,

 Rolf


  
 ---

 Jeff NewmillerThe .   .  Go

 Live...

 DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live

 Go...

 Live:   OO#.. Dead: OO#..

 Playing

 Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
 /Software/Embedded Controllers)   .OO#.   .OO#.

 rocks...1k


  
 ---

 Sent from my phone. Please excuse my brevity.

 On February 20, 2015 1:07:10 PM PST, Erin Hodgess

 erinm.hodg...@gmail.com wrote:

 Hello yet again.

 I am trying to create a zip file for a friend who has a Windows
 machine.

 He needs to access this via the local zip file packages option.

 When I use R CMD INSTALL --compile-both, it produces an item in the
 library
 tree (as promised).

 However, I would like to have an actual .zip file.

 I do know at one time that was possible, not sure if I can still do

 it.


 I did try R CMD INSTALL --force-biarch as well, same result as

 compile

 both.

 thank you for any suggestions.

 Sincerely,
 Erin


 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 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.


 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 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,  rip...@stats.ox.ac.uk
 Emeritus Professor of Applied Statistics, University of Oxford
 1 South Parks Road, Oxford OX1 3TG, UK




-- 
Erin Hodgess
Associate Professor
Department of Mathematical and Statistics
University of Houston - Downtown
mailto: erinm.hodg...@gmail.com

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-21 Thread Jeff Newmiller
What is a compiled zip? There is a warning against using that term in section 
1 of the Writing R Extensions  documentation, along with a discussion of why it 
is ambiguous at best. Can you read that and clarify your statement?

Since you make this assertion that R  CMD INSTALL --build does not do what you 
want it to, I am not sure we are speaking of the same kind of file. If we are, 
then you may not have your system configured correctly.
---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On February 21, 2015 11:47:16 AM PST, Erin Hodgess erinm.hodg...@gmail.com 
wrote:
I have Windows, but the R CMD INSTALL --build pack does not produce a
compiled zip.

Thanks,
Erin


On Sat, Feb 21, 2015 at 1:49 PM, Peter Langfelder 
peter.langfel...@gmail.com wrote:

 On Fri, Feb 20, 2015 at 6:56 PM, Rolf Turner
r.tur...@auckland.ac.nz
 wrote:
  On 21/02/15 15:02, Jeff Newmiller wrote:
 
  R CMD INSTALL --build packagename
 
 
  That will create a *.tar.gz file, not a *.zip file.  The latter
being
  what Erin wanted, if I understand correctly.


 It depends on her system (I don't see it specified anywhere). On
 Windows, R CMD INSTALL --build packagename produces a compiled .zip
 file. On Mac it produces a .tgz. Haven't tried it on Linux.

 Peter


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-21 Thread Erin Hodgess
I have Windows, but the R CMD INSTALL --build pack does not produce a
compiled zip.

Thanks,
Erin


On Sat, Feb 21, 2015 at 1:49 PM, Peter Langfelder 
peter.langfel...@gmail.com wrote:

 On Fri, Feb 20, 2015 at 6:56 PM, Rolf Turner r.tur...@auckland.ac.nz
 wrote:
  On 21/02/15 15:02, Jeff Newmiller wrote:
 
  R CMD INSTALL --build packagename
 
 
  That will create a *.tar.gz file, not a *.zip file.  The latter being
  what Erin wanted, if I understand correctly.


 It depends on her system (I don't see it specified anywhere). On
 Windows, R CMD INSTALL --build packagename produces a compiled .zip
 file. On Mac it produces a .tgz. Haven't tried it on Linux.

 Peter




-- 
Erin Hodgess
Associate Professor
Department of Mathematical and Statistics
University of Houston - Downtown
mailto: erinm.hodg...@gmail.com

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-21 Thread Duncan Murdoch
On 21/02/2015 2:47 PM, Erin Hodgess wrote:
 I have Windows, but the R CMD INSTALL --build pack does not produce a
 compiled zip.

What does it do?  Can you show us a transcript?

Duncan Murdoch

 
 Thanks,
 Erin
 
 
 On Sat, Feb 21, 2015 at 1:49 PM, Peter Langfelder 
 peter.langfel...@gmail.com wrote:
 
 On Fri, Feb 20, 2015 at 6:56 PM, Rolf Turner r.tur...@auckland.ac.nz
 wrote:
 On 21/02/15 15:02, Jeff Newmiller wrote:

 R CMD INSTALL --build packagename


 That will create a *.tar.gz file, not a *.zip file.  The latter being
 what Erin wanted, if I understand correctly.


 It depends on her system (I don't see it specified anywhere). On
 Windows, R CMD INSTALL --build packagename produces a compiled .zip
 file. On Mac it produces a .tgz. Haven't tried it on Linux.

 Peter

 
 


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


[R] creating a distinct zip file

2015-02-20 Thread Erin Hodgess
Hello yet again.

I am trying to create a zip file for a friend who has a Windows machine.

He needs to access this via the local zip file packages option.

When I use R CMD INSTALL --compile-both, it produces an item in the library
tree (as promised).

However, I would like to have an actual .zip file.

I do know at one time that was possible, not sure if I can still do it.

I did try R CMD INSTALL --force-biarch as well, same result as compile both.

thank you for any suggestions.

Sincerely,
Erin


-- 
Erin Hodgess
Associate Professor
Department of Mathematical and Statistics
University of Houston - Downtown
mailto: erinm.hodg...@gmail.com

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-20 Thread Rolf Turner

On 21/02/15 15:02, Jeff Newmiller wrote:

R CMD INSTALL --build packagename


That will create a *.tar.gz file, not a *.zip file.  The latter being
what Erin wanted, if I understand correctly.

I have worked around the problem in the past with a shell script
like unto:

#! /bin/csh
set vnum = `grep Version $pkge/DESCRIPTION | sed -e 's/Version: //'`
R CMD INSTALL -l Lib $pkge  /dev/null
cd Lib
zip -r -l $pkge.zip $pkge  /dev/null
mv $pkge.zip ../$pkge_$vnum.zip

In the foregoing pkge is the name of the package you are trying to 
build.  You will have to have created the holding library Lib a priori.


There are doubtless (much) better ways of accomplishing this task, but I 
don't know them.


cheers,

Rolf


---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
   Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
---
Sent from my phone. Please excuse my brevity.

On February 20, 2015 1:07:10 PM PST, Erin Hodgess erinm.hodg...@gmail.com 
wrote:

Hello yet again.

I am trying to create a zip file for a friend who has a Windows
machine.

He needs to access this via the local zip file packages option.

When I use R CMD INSTALL --compile-both, it produces an item in the
library
tree (as promised).

However, I would like to have an actual .zip file.

I do know at one time that was possible, not sure if I can still do it.

I did try R CMD INSTALL --force-biarch as well, same result as compile
both.

thank you for any suggestions.

Sincerely,
Erin


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.




--
Rolf Turner
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
Home phone: +64-9-480-4619

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-20 Thread Jeff Newmiller
R CMD INSTALL --build packagename
---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On February 20, 2015 1:07:10 PM PST, Erin Hodgess erinm.hodg...@gmail.com 
wrote:
Hello yet again.

I am trying to create a zip file for a friend who has a Windows
machine.

He needs to access this via the local zip file packages option.

When I use R CMD INSTALL --compile-both, it produces an item in the
library
tree (as promised).

However, I would like to have an actual .zip file.

I do know at one time that was possible, not sure if I can still do it.

I did try R CMD INSTALL --force-biarch as well, same result as compile
both.

thank you for any suggestions.

Sincerely,
Erin

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-20 Thread Jeff Newmiller
On Windows it builds a zip file. If you are on Linux, you might [1] need [2].

[1] https://stat.ethz.ch/pipermail/r-help/2005-January/063596.html
[2] http://cran.r-project.org/doc/contributed/cross-build.pdf
---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On February 20, 2015 6:56:34 PM PST, Rolf Turner r.tur...@auckland.ac.nz 
wrote:
On 21/02/15 15:02, Jeff Newmiller wrote:
 R CMD INSTALL --build packagename

That will create a *.tar.gz file, not a *.zip file.  The latter being
what Erin wanted, if I understand correctly.

I have worked around the problem in the past with a shell script
like unto:

#! /bin/csh
set vnum = `grep Version $pkge/DESCRIPTION | sed -e 's/Version: //'`
R CMD INSTALL -l Lib $pkge  /dev/null
cd Lib
zip -r -l $pkge.zip $pkge  /dev/null
mv $pkge.zip ../$pkge_$vnum.zip

In the foregoing pkge is the name of the package you are trying to 
build.  You will have to have created the holding library Lib a
priori.

There are doubtless (much) better ways of accomplishing this task, but
I 
don't know them.

cheers,

Rolf


---
 Jeff NewmillerThe .   .  Go
Live...
 DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live
Go...
Live:   OO#.. Dead: OO#.. 
Playing
 Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
 /Software/Embedded Controllers)   .OO#.   .OO#. 
rocks...1k

---
 Sent from my phone. Please excuse my brevity.

 On February 20, 2015 1:07:10 PM PST, Erin Hodgess
erinm.hodg...@gmail.com wrote:
 Hello yet again.

 I am trying to create a zip file for a friend who has a Windows
 machine.

 He needs to access this via the local zip file packages option.

 When I use R CMD INSTALL --compile-both, it produces an item in the
 library
 tree (as promised).

 However, I would like to have an actual .zip file.

 I do know at one time that was possible, not sure if I can still do
it.

 I did try R CMD INSTALL --force-biarch as well, same result as
compile
 both.

 thank you for any suggestions.

 Sincerely,
 Erin

 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 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.


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] creating a distinct zip file

2015-02-20 Thread Prof Brian Ripley

On 21/02/2015 07:31, Jeff Newmiller wrote:

On Windows it builds a zip file. If you are on Linux, you might [1] need [2].

[1] https://stat.ethz.ch/pipermail/r-help/2005-January/063596.html
[2] http://cran.r-project.org/doc/contributed/cross-build.pdf


But the first is from 2005 and the second is invalid (it should be
http://cran.r-project.org/doc/contrib/cross-build.pdf and describes R 
1.7.x: what it describes is no longer supported).


For some time you can install a package without compilable sources on 
any R platform.  So the tarball would be all that is needed.  If 
compilation is needed, submit to winbuilder to make  .zip file.


See also
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-can-I-get-a-binary-version-of-a-package_003f




---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
   Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
---
Sent from my phone. Please excuse my brevity.

On February 20, 2015 6:56:34 PM PST, Rolf Turner r.tur...@auckland.ac.nz 
wrote:

On 21/02/15 15:02, Jeff Newmiller wrote:

R CMD INSTALL --build packagename


That will create a *.tar.gz file, not a *.zip file.  The latter being
what Erin wanted, if I understand correctly.

I have worked around the problem in the past with a shell script
like unto:

#! /bin/csh
set vnum = `grep Version $pkge/DESCRIPTION | sed -e 's/Version: //'`
R CMD INSTALL -l Lib $pkge  /dev/null
cd Lib
zip -r -l $pkge.zip $pkge  /dev/null
mv $pkge.zip ../$pkge_$vnum.zip

In the foregoing pkge is the name of the package you are trying to
build.  You will have to have created the holding library Lib a
priori.

There are doubtless (much) better ways of accomplishing this task, but
I
don't know them.

cheers,

Rolf




---

Jeff NewmillerThe .   .  Go

Live...

DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live

Go...

Live:   OO#.. Dead: OO#..

Playing

Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.

rocks...1k



---

Sent from my phone. Please excuse my brevity.

On February 20, 2015 1:07:10 PM PST, Erin Hodgess

erinm.hodg...@gmail.com wrote:

Hello yet again.

I am trying to create a zip file for a friend who has a Windows
machine.

He needs to access this via the local zip file packages option.

When I use R CMD INSTALL --compile-both, it produces an item in the
library
tree (as promised).

However, I would like to have an actual .zip file.

I do know at one time that was possible, not sure if I can still do

it.


I did try R CMD INSTALL --force-biarch as well, same result as

compile

both.

thank you for any suggestions.

Sincerely,
Erin


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.



__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.