Skip to content

Instantly share code, notes, and snippets.

View tvatter's full-sized avatar

Thibault Vatter tvatter

View GitHub Profile
@tvatter
tvatter / sample.Rmd
Created June 6, 2019 17:29
Test styler on R markdown files
---
title: "whatever"
author: "John Doe"
---
```{r}
ugly_code <- "a=function( x){1+1} "
```
@tvatter
tvatter / # llvm - 2019-02-22_11-19-38.txt
Created February 22, 2019 16:33
llvm on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for llvm on macOS 10.13.6
Build date: 2019-02-22 11:19:38
@tvatter
tvatter / config.site
Created August 10, 2018 21:36 — forked from jeroen/config.site
Building R on Solaris
## Copy this file into config.site ##
CC="cc -xc99"
CFLAGS="-O -xlibmieee -xlibmil -xtarget=native -nofstore"
F77="f95"
FFLAGS='-O -libmil -xtarget=native -nofstore'
CXX="CC -library=stlport4"
CXXFLAGS="-O -xlibmil -xtarget=native -nofstore"
CXX1X="/opt/csw/bin/g++"
CXX1XFLAGS="-O2"
CXX1XPICFLAGS=-fPIC
library(parallel)
## small/large obviously depend on the OS and memory available
n_small <- 1e2
n_large <- 1e4
## example from ?svd
hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") }
my_svd <- function(..., n){
X <- hilbert(n)[, 1:6]
@tvatter
tvatter / # cereal - 2017-06-09_10-24-28.txt
Created June 9, 2017 14:25
cereal on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for cereal on macOS 10.12.5
Build date: 2017-06-09 10:24:28