-
Install latest Dotnet SDK for your platform (Mac/Linux/Windows)
-
And then,
- Windows : download and install Build Tools 2019, select F# in your workload
- Linux :
- Add mono repo as recommanded on mono project page
- on Ubuntu/Debian :
sudo apt-get update sudo apt-get install fsharp
- on CentOS/RHEL/Amazon/Fedora :
sudo yum update sudo yum install mono-complete fsharp
- Macos :
- Install mono for mac
- Add
/bin
from Mono to your PATH:
export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin/
-
Install jupyter notebook, if you haven't done it already.
-
Download latest release of Ifsharp, the F# kernel for jupyter.
-
Unzip it and launch
ifsharp.exe
via mono, if applicable (linux/macos), or directly from windows. -
exit the notebook server
And finally :
- Windows :
git clone https://github.com/fradav/anf_fp.git cd anf_fp jupyter notebook
- Linux
git clone https://github.com/fradav/anf_fp.git cd anf_fp cp local/linux/SQLite.Interop.dll local/ jupyter notebook
- Mac
git clone https://github.com/fradav/anf_fp.git cd anf_fp cp local/macos/SQLite.Interop.dll local/ jupyter notebook
And choose the "F# Introduction.ipynb" file at the jupyter homepage.
The first cell is paket
initialization, it should take some time the first time.
The RProvider
part supposes that you have an R
interpreter in your path.