Re: [R] Builind C code for R with cygwin [C1]

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 07 Apr 2008 09:26:12 +0100 (BST)

And I guess you installed R for Windows and then tried to do this?

You must either
1) Build R under cygwin as a Unix-alike or 2) Use the Rtools make if building R for Windows.

R for Windows is a Windows program, and cygwin's make does not accept Windows' file paths any more (it used to).

On Mon, 7 Apr 2008, sylvain.archenault_at_sgcib.com wrote:

> Hello,
>
> I would like to build shared lib for R using cygwin environment. After
> installing needed tools (mainly perl, make and compilers), I ran
> R CMD SHLIB hw.c
>
> But I get the following error :
> $ R CMD SHLIB hw.c
> c:/PROGRA~1/R/R-26~1.2/src/gnuwin32/MakeDll:82: *** multiple target
> patterns. Stop.
>
> Google it didn't give me any hints.

But the 'R Installation and Administration Manual' told you firmly that this is not going to work.

> Thanks for your help.
> Sylvain Archenault.
> *************************************************************************
> This message and any attachments (the "message") are con...{{dropped:13}}
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 07 Apr 2008 - 08:28:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 Apr 2008 - 09:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive