ESRI Shape reader

Guido Masarotto guido@hal.stat.unipd.it (Guido Masarotto)
Tue, 27 Jul 1999 08:26:21 +0100


On Tue, Jul 27, 1999 at 02:07:57PM +0800, Nicholas Lewin-Koh wrote:
> Well Dr. Ripley helped me solve the first problem, next question
> I need to do some debugging now that the function loads properly
> into R. I checked the S documentation and to use the C I/O functions
> you need to include newredef.h, this file doesn't exist in /src/include.
> How does this work in R? under S3.4 on a dec station i could use
> 
> fprintf(stdout,..);
> fflush(stdout);
> 

  Previous lines works in Rterm but not in Rgui.
  For both, you can use 'REprintf', e.g.,

  REprintf("%s %d",aString,anInt);

  This is a function exported by R.dll. So to get it properly linked
  you have:
  (i) to install also the rwXXXsp.zip file;
  (ii) to regenerate libR.a (the import library for R.dll);
  (iii) to link your dll against libR.a (-L/path-to-libR.a -lR)

  Alternative: use 'gdb'; details on Brian's rw FAQ.

  guido
    






-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._