From phgrosjean at sciviews.org  Fri Apr 29 20:25:21 2005
From: phgrosjean at sciviews.org (Philippe Grosjean)
Date: Fri Apr 29 20:25:44 2005
Subject: [Rd] Installing different files in R packages,
	depending on the platform
Message-ID: <42727C11.8090205@sciviews.org>

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@umh.ac.be
  ) ) ) ) )
( ( ( ( (    web:   http://www.umh.ac.be/~econum
  ) ) ) ) )          http://www.sciviews.org
( ( ( ( (
..............................................................


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