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]]
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]] > > ______________________________________________ > R-help at r-project.org 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, 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
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. > > ______________________________________________ > R-help at r-project.org 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.