[R] problem in integrating C routine with R on windows XP

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Sep 29 08:33:34 CEST 2003

Pingzhao Hu wrote:

> Hi All,
> I a C function code, which has been successed in integrating
> with Splus on Unix. Now I want to move it on windows.
> So I want to integrate this C function with R on windows XP.
> I download tools.zip and saved it in c:\bin  directory,
> download  MinGW and saved it in c:\MinGw directory,
> download Perl and saved it in c:\Perl directory.
> My path is set as:
> C:\bin;C:\MinGW\bin;C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRo
> ot%\System32\Wbem;C:\Program Files\Common Files\Adaptec
> Shared\System;c:\matlab6p5\bin\win32;

Leave out the last semicolon.

> When I input the following command:
> c:\rw1071\bin>   Rcmd SHLIB -o simu.dll simu.c
> I met the following problem:
> 'make' is not recognized as an internal or external command,
> operable program or batch file.
> Could any one tell me the problem here? which steps I have lost or the path
> has not been correctly set???
> Thank you for your help in advance!
> Ping
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

You might also want to read ...\src\gnuwin32\install to set up an 
environment for compiling R completely (e.g. LaTeX for generating help 
files, manuals, vignettes, etc.). That's sufficient for compiling 
packages (you won't need everything, but it doesn't hurt having too much 

Uwe Ligges

More information about the R-help mailing list