Wizards...
With regards to Mario's Mandelbrot.c programming -- would
some kind wizard show how to compile and run his code on
a Win installation. I'm looking for a simple "cookbook" example
in
the same manner that Mario show for Linux.
I have Win2000 on this machine.
REX
--------------- Original Message ---------------------
Date: Wed, 01 Oct 2003 14:09:36 +0100
From: ucgamdo at ucl.ac.uk
Subject: [R] Re: Mandelbrot set and C code
To: Martin Maechler <maechler at stat.math.ethz.ch>
Cc: r-help at stat.math.ethz.ch
Message-ID: <3.0.5.32.20031001140936.007e2100 at pop-server.ucl.ac.uk>
Content-Type: text/plain; charset="us-ascii"
-- Snip --
To anyone interested in trying out these functions, just save the C code
into a file, say 'mandelbrot.c', to be able to use the C code with R a
shared object needs to be created. This is done simple running the
following command from the directory where 'mandelbrot.c' is stored
(note
this code was tried in Linux, for Win users I think the instructions are
similar but you need you check it out):
R CMD SHLIB mandelbrot.c
This will create the file 'mandelbrot.so' in that same directory.
Start R from this directory and paste the above R code into the console.
Type
> dyn.load("mandelbrot.so")
--snip--