Skip to content

Instantly share code, notes, and snippets.

@mndrake
Created April 23, 2014 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mndrake/11223590 to your computer and use it in GitHub Desktop.
Save mndrake/11223590 to your computer and use it in GitHub Desktop.
IFSharp initialization script -- customized for Deedle and RProvider
// include directory, this will be replaced by the kernel
#I "{0}"
// load base dlls
#r "IfSharp.Kernel.dll"
#r "System.Data.dll"
#r "System.Windows.Forms.DataVisualization.dll"
#r "FSharp.Data.TypeProviders.dll"
#r "FSharp.Charting.dll"
#r "fszmq.dll"
// open the global functions and methods
open FSharp.Charting
open IfSharp.Kernel
open IfSharp.Kernel.Globals
// --- custom initialization --
// project Euler methods
#load "src/Euler.fs"
// RProvider
#load "src/FSharpR.fsx"
// FSharp Data
#r "lib/FSharp.Data.dll"
// Deedle formatter
#load "src/DeedleFormatter.fsx"
// Extend Util module for Deedle Series and IFrame
[<RequireQualifiedAccess>]
module Util =
let Deedle (o:obj) =
DeedleFormatter.getHtml(o)
|> Util.Html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment