Skip to content

Instantly share code, notes, and snippets.

@pyetras
Created August 20, 2015 17:31
Show Gist options
  • Save pyetras/b2ca6c9611767b1ee788 to your computer and use it in GitHub Desktop.
Save pyetras/b2ca6c9611767b1ee788 to your computer and use it in GitHub Desktop.
Installing rnlopt

Add

CC=gcc-5
CXX=g++-5
PKG_CFLAGS=  -I/Users/Pietras/Downloads/nloptr-master/nlopt-2.4.2/include
PKG_LIBS=  -lm /Users/Pietras/Downloads/nloptr-master/nlopt-2.4.2/lib/libnlopt_cxx.a

to ~/.R/Makevars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment