Sorry guys it seems you will have to recompile yourself the SpikeOMaticLibrary
in order to have the MCMC routines running. Don't panick it's not that
hard.
You first have to download and install cygwin.
When you download it be careful to select:
- The GNU compiler (gcc) in the directory "Devel". The simplest is
to click once on the "Default" string which will then switch to
"Install".
- The GSL (Gnu Scientific Library) in the "Libs" directory.
Fine. Then the installation procedure takes some time (10 to 30
minutes).
Go and drink a coffee.
I will assume in the sequel that you have chosen to install cygwin in: c:\cygwin
and that you were logged on as administrator which means you
should now find the following folder: c:\cygwin\home\administrator.
Your next task is to download and install gengetopt.
Download it to your brand new folder: c:\cygwin\home\administrator
Now start cygwin by double clicking on its icon on your
desktop. You should be in your folder (c:\cygwin\home\administrator)
typing:
should show you, among other things:
That is, the package you have just downloaded. You now just have to type in
the following commands:
- tar -xvzf gengetopt-2.12.tar.gz
- cd gengetopt-2.12
- ./configure
- make
- make install
- cd ..
Congratulations, you have just compiled your first package! Let's keep
going with the SpikeOMaticLibrary.
Download the source file of the library
to c:\cygwin\home\administrator
Then type:
- tar -xvzf SpikeOMaticLibrary.tar.gz
- cd SpikeOMaticLibrary
- make
- make check_noX
- cd ..
The check command (make check_noX) will take one or two
minutes to run.
You are almost there!
To finish the work, copy and paste file som_mcmc.exe from c:\cygwin\home\administrator\SpikeOMaticLibrary
to: c:\cygwin\bin
You just need to add this last directory to your PATH
variable (see below) and that's it...
You can now start R and re-generate the second tutorial of
SpikeOMatic... But be patient it takes much more
time on Windows than on Linux.
To add a directory to the PATH variable, go to Start - Control
Panel - System - Advanced - Environment Variable and edit the variable
"Path". You can add the directory c:\cygwin\bin
in which
you put your file som_mcmc.exe.