Installing SpikeOMatic on Windows
Good news it is straightforward…with the binary distribution
Download SpikeOMatic_0.6-1.zip for
Windows, then from the package menu of the R window,
select the package (that is, point to the folder where you dowloaded
it). R should then to everything by itself.
Other required packages
In order to make full use of the GUIs of SpikeOMatic you will need
some additional R packages from BioConductor. These packages are:
- tkWidgets
- widgetTools
- DynDoc
To get and install them, just click on the package menu of
the R GUI. Then select bioconductor packages and then the
three above packages… That's it.
Compile it from source
First of all, go to the Building R for
Windows page. Read it carefully and download the tools Duncan
Murdoch and Brian Ripley recommand.
Then, dowload the SpikeOMatic source package, unzip
it and detar it. Go to the src folder and get rid of
everything which is not a C source file (i.e., everything which
something else than a .c suffix). Issue the two following
commands in the src folder:
- gcc -O3 -c soml_find_spikes.c soml_make_samples.c soml_em.c
- R CMD SHLIB -o SpikeOMatic.dll soml_find_spikes.o soml_make_samples.o soml_em.o
In principle using directly:
- R CMD SHLIB -o SpikeOMatic.dll soml_find_spikes.c soml_make_samples.c
soml_em.c
should work but in practice it does not (in that case). If someone has
an idea I'd be very happy to hear about it (I don't know much about
Windows and I'm eager to learn about the ennemy).
Then put your SpikeOMatic.dll somewhere not in the
SpikeOMatic folder and delete the src sub-folder in
it. Go to the root folder of SpikeOMatic and issue:
That should generate a SpikeOMatic folder in your R arborization
(e.g., in R\rw1091\library). Go into
R\rw1091\library\SpikeOMatic and add a libs folder
to it, where you just have to paste SpikeOMatic.dll. That's it.
Back to SpikeOMatic page
Back to C Pouzat Home Page
Retour à la page titre de C Pouzat