[Rd] problem building a package with C code (PR#13572)

From: <pfarina_at_mat.puc.cl>
Date: Thu, 05 Mar 2009 15:55:04 +0100 (CET)


Hi, my name is Paula. Im trying to learn how to build an R package in Windows XP using a simple example which includes a C source code. The foo.c file is located in mypkg/src/foo.c.

I used the command Rcmd build --force --binary [pkgpath]. The problem is when I install the zip file in R the function foo doesn´t exist.

The result a recieved during the building process is copied below.

I really appreciate some help....I very new on it and I have spent a lot of time trying to solve the problem alone without success.

Thanks a lot

Paula Farińa

C:\>cd C:\Archivos de programa\R\R-2.7.2\bin

C:\Archivos de programa\R\R-2.7.2\bin>Rcmd build --force --binary D:\2009\c2r\my
pkg
* checking for file 'D:\2009\c2r\mypkg/DESCRIPTION' ... OK

Using auto-selected zip options ''

Compiling c:\DOCUME~1\Lir\CONFIG~1\Temp\Rbuild96033789\mypkg\chm\mypkg.chm

Compile time: 0 minutes, 2 seconds

6       Topics
11      Local links
0       Internet links
1       Graphic


Created c:\DOCUME~1\Lir\CONFIG~1\Temp\Rbuild96033789\mypkg\chm\mypkg.chm, 18,792
 bytes
Compression increased file by 2,040 bytes.   adding MD5 sums

packaged installation of package 'mypkg' as mypkg_1.0.zip
* DONE (mypkg)

C:\Archivos de programa\R\R-2.7.2\bin>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 05 Mar 2009 - 21:12:15 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 Fri 06 Mar 2009 - 00:30:53 GMT.

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

list of date sections of archive