Re: ESRI Shape reader

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: ESRI Shape reader
From: Guido Masarotto (guido@hal.stat.unipd.it)
Date: Tue 27 Jul 1999 - 17:26:21 EST


Message-ID: <19990727082621.38191@hal.stat.unipd.it>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:06 EST