[Rd] Installing different files in R packages, depending on the platform

Philippe Grosjean phgrosjean at sciviews.org
Fri Apr 29 20:25:21 CEST 2005


Hello,

I have a package that needs to install different files, depending if it 
is compiled under Windows, or under other platforms. Those files are 
currently in the ./inst subdirectory. What is the preferred way to do this?

I imagine that I have to place platform specific files in another place 
than ./inst, and then use configure and configure.win to do the job 
selectively. Is it a better way to do so? Can someone point me to an 
example package that does something similar?

Thanks,

Philippe

..............................................<°}))><........
  ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
  ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
  ) ) ) ) )   Mons-Hainaut University, Pentagone (3D08)
( ( ( ( (    Academie Universitaire Wallonie-Bruxelles
  ) ) ) ) )   8, av du Champ de Mars, 7000 Mons, Belgium
( ( ( ( (
  ) ) ) ) )   phone: + 32.65.37.34.97, fax: + 32.65.37.30.54
( ( ( ( (    email: Philippe.Grosjean at umh.ac.be
  ) ) ) ) )
( ( ( ( (    web:   http://www.umh.ac.be/~econum
  ) ) ) ) )          http://www.sciviews.org
( ( ( ( (
..............................................................



More information about the R-devel mailing list