[R] map() and C++ interface

Nokome Bentley nbentley at trophia.com
Thu Feb 3 06:59:38 CET 2000


I am just beginning to use R for Windows and have two (perhaps naive)

1.  I am wanting to produce maps of the New Zealand coastline using R.   I
am aware of the map function in S-plus and was wondering if anyone had
ported it to R yet.  I could use the 'world' database for the data source
but since it is very large I was also wondering if anyone had fine scale
long and lat data for the NZ coatline.

2.  I am doing simulations using a C++ and am looking for a way to easily
transfer outputs to R.  Text files are an obvious way but it would be neat
to output all my simulation C++ objects into a single .RData file and then
to analyse and plot them from there.  Is there a way of doing that? Should I
consult the R source code?  Or would it be easier to create an R package
from within my C++ code.


Nokome Bentley

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list