Hoofdstuk1

Dit is de eerste regel van hoofdstuk1

In [2]:
x =3.1415
print(x)
print(x+1)
3.1415
4.141500000000001

Hoofdstuk2

Dit is de eerste regel van hoofdstuk2

In [7]:
import math
y = math.exp(1)
print(y)
2.718281828459045

Dit is een doodgewone tekst over de constante e met waarde {{y}}

$P(A \mid B) = \frac{P(B \mid A)P(A)}{P(B)}$

In [5]:
import sys
print(sys.version)

import os
os.system('jupyter nbconvert --to html speel_schrijfboekje.ipynb')
3.6.4 |Anaconda, Inc.| (default, Mar 13 2018, 01:15:57) 
[GCC 7.2.0]
Out[5]:
0
In [1]:
!ls
cars.png		   toy_document_orgmode_python_en.org
cosxsx.png		   toy_document_orgmode_python_fr.org
speel_schrijfboekje.html   toy_document_orgmode_R_en.org
speel_schrijfboekje.ipynb  toy_document_orgmode_R_fr.org
toy_document_en.Rmd	   toy_notebook_en.ipynb
toy_document_fr.Rmd	   toy_notebook_fr.ipynb
In [1]:
%load_ext rpy2.ipython
In [3]:
%%R
sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.3 LTS

Matrix products: default
BLAS: /opt/conda/lib/R/lib/libRblas.so
LAPACK: /opt/conda/lib/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets  methods  
[8] base     

loaded via a namespace (and not attached):
[1] compiler_3.4.1
In [ ]: