Dear Tobias, To create the etc subdirectory in the installed package, or in the Windows binary package .zip file, you need an inst/etc subdirectory in the package source tree. That is, etc should be a subdirectory of inst. This isn't peculiar to Rcmdr plug-in packages but is true of any package that uses a non-standard subdirectory or file. See the Writing R Extensions manual for details.
I hope this helps, John > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Tobias Schoch > Sent: September-23-09 8:54 AM > To: r-help@r-project.org > Subject: [R] Compiled Rcmdr Plugin package (zip) has no etc/menus.txt > > > Dear Rcmdr users, > I use R-2.9.2, Rcmdr 1.5-1 and the latest Rtools bundle (and the html help > workshop) under Windows XP. I wrote a RcmdrPlugin for some important > functions of Thomas Lumley's "survey" package. > > Problem: Package compilation works without displaying any errors. That is > 1) "R CMD build ..." works fine. > > 2) "R CMD INSTALL --build..." generates the zip-file (without error > message), but the folder "etc" and the "menus.txt" are missing in the zip. > Also the installed package in R-2.9.2/library/... does not contain "etc" and > "menus.txt". Thus, I am a bit confused, because the contents of the "etc" > folder should actually be included into the final package (as pointed out in > "writing R extensions"). > > Adding /etc/menus.txt to the zip-files fails since the MD5 (obviously) is > not correct any more. How can I generate packages as zip-files including the > Rcmdr-menu-structure. > > Thanks > Tobias > > > > -- > View this message in context: http://www.nabble.com/Compiled-Rcmdr-Plugin- > package-%28zip%29-has-no-etc-menus.txt-tp25531118p25531118.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.