Merci beaucoup Renaud pour toutes ces précisions !
En effet, MinGW et hcc.exe ne me seront pas très utiles a priori... (leurs fonctions m'avaient échappé en lisant les docs pré-citées).
Pour ma part, je me suis déjà servi des aides en CHTML pour explorer des packages que je venais d'installer - il y a notamment une fonction "Rechercher" - mais ça ne me paraît pas franchement indispensable, en particulier s'agissant d'un package perso !
Dernière chose : Dans la doc, vous semblez préconiser d'ajouter les jeux de données après création du squelette (en les incluant manuellement dans le répertoire /data). Est-ce volontaire - ie. pour ne pas avoir à les documenter ? car, sinon, il est peut-être préférable de les "loader" en même temps que l'on "source" les fonctions, juste avant d'exécuter la fonction package.skeleton().
(Encore merci !)
Jacques
ps :
Un bon résumé sur la page "Technical Notes on the R Programming" :
http://www.sfu.ca/~sblay/R/index.html#docs"Building R packages from source code under Windows XP - minimum installation:
Go to the web portal Building R for Windows.
Download and install:
* tools.zip make, sh, cat, cp, diff, echo, mkdir, mv, rm, sed
* ActivePerl-5.8.6.811-MSWin32-x86-122208.msi perl
* MinGW-3.1.0-1.exe gcc, necessary for installing R packages that include C or Fortran code
* htmlhelp.exe creates compiled html (.chm), needed to build documentation files and to run 'R CMD check'
Add R, tools, MinGW and HTML HELP to your PATH.
The subdirectories to add are something like:
...\R\rw2000\bin
...\tools\bin
...\MinGW\bin
...\HTML HELP WORKSHOP
ActiveState adds Perl\bin to your path automatically
docs says you should put tools\bin at the front of your path
To Add a directory to you PATH on Windows XP select
Control Panel -> System -> Advanced -> Environment Variables
Directories that include spaces in their name were not a problem on my
system. However, on other systems you may have to do the following:
on the Windows command prompt
cd to a directory that includes that directory and type
dir /x to find the short form of the directory name.
To install a package, type at the Windows command prompt:
R CMD INSTALL --docs=none MyPkg
if you want to install documentations, you need to
download and install htmlhelp.exe
Further reading:
Building R for Windows
(the path to your R installation) .../R/rw2000/README.packages"