# [R] Making R packages

Ernesto Jardim ernesto at ipimar.pt
Tue Sep 9 15:01:21 CEST 2003

On Tue, 2003-09-09 at 13:39, Gattuso, Jean-Pierre wrote:
> Hi:
>
> I am posting this message for a colleague who has
> a lot of trouble to build an R package on
> Windows. He did not find a solution to his
> problems on the R-help archives and hopes that
> one of the R gurus will be able to help.
>
> He has a directory "CO2" which should contain all
> the required files and directories:
> 	DATA:
> 	DESCRIPTION
> 	MAN:
> 	R:
> 	SRC:
>
> The following command is run in a windows console:
> 	C:\Program Files\R\rw1071\bin\rcmd INSTALL D:\CO2
>
> Then he gets the following error (approximate
> translation of a French message) :
> 	"Perl is not recognized as an internal or
> external command, an executable file or a command
> file"
>
> Perl has of course been installed on the PC and
> my colleague has the "Tools" file. He does not
> know what is wrong although he suspects that
> environment variables (which ones?) must be
> changed.
>
> Any help would be appreciated.
>
> jp

Hi JP,

Depending on your OS version you can change the PATH variable. In NT
version is under "system" I believe (I don't have a M\$ system here to
check).

Hope this helps.

Regards

EJ