i am new to R and i would like to ask for some advice. i need to install an R package, that has quite a lot dependencies, available through http://cran.r-project.org
multiple deps blow up on the way, but to start somewhere: 'lpSolve' (an interface to lpsolve) blows up on <sys/timeb.h> (that was patched out of lpsolve): ... cc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia -I/usr/local/include/ereadline -I/usr/local/include -fpic -O2 -pipe -c lp_utils.c -o lp_utils.o lp_utils.c:8:23: error: sys/timeb.h: No such file or directory /usr/local/lib/R/etc/Makeconf:127: recipe for target 'lp_utils.o' failed gmake: *** [lp_utils.o] Error 1 ERROR: compilation failed for package ‘lpSolve’ * removing ‘/home/f/R/i386-unknown-openbsd5.6-library/3.1/lpSolve’ The downloaded source packages are in ‘/tmp/RtmpvAcJI2/downloaded_packages’ Warning message: In install.packages(c("lpSolve")) : installation of package ‘lpSolve’ had non-zero exit status so the R package itself needs patching before it is being compiled. how do i do that? :) but maybe the bigger question is, seeing all this compiling of _many_ packages, it is math after all, and -O2/-O3 and all the linuxisms under the sun, will there be openbsd packages (if people start submitting them) of (the most common) R packages (out of the 6131 available) a la r-this, r-that? is there a chance JGR will ever work or should i just use a different platform? -f -- dos tip: don't use dos.