Breaks down compatibility with r-cran-lpsolve
Bug #874261 reported by
Tommi Tervonen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
revolution-mkl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
By installing revolution-r, R is replaced (?) with a different version that doesn't work with r-cran-lpsolve (i.e. instead of 386-R we have 686 one).
To reproduce, do:
sudo apt-get install r-cran-lpsolve lp-solve revolution-r
R
> library(lpSolve)
> f.obj <- c(1, 9, 3)
f.con <- matrix (c(1, 2, 3, 3, 2, 2), nrow=2, byrow=TRUE)
f.dir <- c("<=", "<=")
f.rhs <- c(9, 15)
lp ("max", f.obj, f.con, f.dir, f.rhs)
... and it will segfault.
Now, do apt-get remove revolution-r, and everything works again.
To post a comment you must log in.