From ggrothendieck at gmail.com  Sat Apr 28 16:51:43 2007
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sat, 28 Apr 2007 10:51:43 -0400
Subject: [Rd] pure R code package for Windows
In-Reply-To: <20070428114959.GA25723@cs.cas.cz>
References: <20070428114959.GA25723@cs.cas.cz>
Message-ID: <971536df0704280751r5fd2d4a7p48880f3a6b4dc261@mail.gmail.com>

If you want to build it on Windows (rather than do a cross build) there are
links to HowTo's in the Links section of this page regarding various
Windows tasks:

   http://code.google.com/p/batchfiles/

On 4/28/07, Petr Savicky <savicky at cs.cas.cz> wrote:
> Dear R developers,
>
> I am using R under Linux, but I would like to share
> an extension package with some Windows users. The package
> contains only data and .R scripts. There is no src directory.
>
> So, I think I do not need a Windows machine with C compiler,
> "make", "sh" and "perl". If I am wrong, please tell me.
>
> I tried the following approaches (after verifying the package
> using R CMD check - 1 warning concerning the missing documentation
> for some of the R-functions.)
>
> 1. Installing the source package (with no C, C++ or F files)
>   directly on Windows XP. Installation complains that
>   "make" command is mising. OK, it is a source package.
>
> 2. Building binary package using R CMD build --binary --use-zip
>   on Linux and try to install it under Windows XP. Installation
>   complains that "make" command is missing. (Why, if it is
>   a binary package?).
>
> 3. Build the package from source on Windows XP using
>   R CMD build <package>. Installation complains that "sh"
>   is missing. (Why is it looking for "sh", if it is a properly
>   working R installation under Windows?)
>
> 4. Install the package under Linux and zip the directory
>   library/<package> and unzip it in the library directory
>   on Windows machine. This works. The package behaves
>   correctly. However, I do not think that this is a suggested
>   method.
>
> Could you help me?
>
> Thank you in advance. Petr Savicky.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] pure R code package for Windows
Gabor Grothendieck