Hi I have just dwonloaded QCA3 onto this machine (ubuntu, karmic, amd64) and a mac. The examples run fine on teh mac, but crashed R on ubuntu. Any help much apprecia\ted. Thanks Richard ------------------------------------------------------------------------------ Terminal log:> conditions <- > c("Developed.FZ","Urban.FZ","Literate.FZ","Industrial.FZ", "Stable.FZ") > > reduce(mydata=Lipset_fs,"Survived.FZ",conditions,explain="positive",remaind="exclude",prepro="fs",consistency=0.7)*** caught segfault *** address 0x4, cause 'memory not mapped' Traceback: 1: .C("lpslink", direction = as.integer(direction), x.count as.integer(x.count), objective = as.double(objective), const.count as.integer(const.count), constraints = as.double(constraints), int.count = as.integer(int.count), int.vec = as.integer(int.vec), bin.count as.integer(bin.count), binary.vec = as.integer(binary.vec), num.bin.solns = as.integer(num.bin.solns), objval = as.double(objval), solution = as.double(solution), presolve = as.integer(presolve), compute.sens = as.integer(compute.sens), sens.coef.from as.double(sens.coef.from), sens.coef.to = as.double(sens.coef.to), duals = as.double(duals), duals.from = as.double(duals.from), duals.to as.double(duals.to), scale = as.integer(scale), use.dense as.integer(use.dense), dense.col = as.integer(dense.col), dense.val as.double(dense.val), dense.const.nrow = as.integer(dense.const.nrow), dense.ctr = as.integer(dense.ctr), use.rw = as.integer(use.rw), tmp as.character(tmp), status = as.integer(status), PACKAGE = "lpSolve") 2: lpSolve:::lp(direction = "min", objective.in = rep(1, nrow(PIChart)), const.mat = t(PIChart), const.dir = ">=", 1, all.bin = TRUE) 3: solvePIChart(PIChart) 4: reduce.default(mydata = Lipset_fs, "Survived.FZ", conditions, explain = "positive", remaind = "exclude", prepro = "fs", consistency 0.7) 5: reduce(mydata = Lipset_fs, "Survived.FZ", conditions, explain "positive", remaind = "exclude", prepro = "fs", consistency = 0.7) Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: --------------------------------------------------> Sys.getlocale()[1] "LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C">-- View this message in context: http://n4.nabble.com/QCA3-segfault-tp2017493p2017493.html Sent from the R help mailing list archive at Nabble.com.
ded0rg <richard <at> finghall1.plus.com> writes:> I have just dwonloaded QCA3 onto this machine (ubuntu, karmic, amd64) and a > mac. The examples run fine on teh mac, but crashed R on ubuntu. Any help > much apprecia\ted. >You should probably contact the package maintainer (see help(package="QCA3")). You don't say exactly which example crashed, nor do you give your version of R etc. (sessionInfo()). On my machine (Ubuntu Intrepid, 32-bit) I was able to install QCA3 and run the ?reduce and ?Lipset examples without a problem. sessionInfo() R version 2.10.1 (2009-12-14) i486-pc-linux-gnu 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=C 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] stats graphics grDevices utils datasets grid methods [8] base other attached packages: [1] QCA3_0.0-2 digest_0.4.2 reshape_0.8.3 plyr_0.1.9 proto_0.3-8 loaded via a namespace (and not attached): [1] ggplot2_0.8.7 lpSolve_5.6.4 tools_2.10.1
this should have gone to the package manager apologies to all rg ded0rg wrote:> Hi > > I have just dwonloaded QCA3 onto this machine (ubuntu, karmic, amd64) and a > mac. The examples run fine on teh mac, but crashed R on ubuntu. Any help > much apprecia\ted. > > Thanks > > Richard > > ------------------------------------------------------------------------------ > Terminal log: > > >> conditions <- >> c("Developed.FZ","Urban.FZ","Literate.FZ","Industrial.FZ", "Stable.FZ") >> >> reduce(mydata=Lipset_fs,"Survived.FZ",conditions,explain="positive",remaind="exclude",prepro="fs",consistency=0.7) >> > > *** caught segfault *** > address 0x4, cause 'memory not mapped' > > Traceback: > 1: .C("lpslink", direction = as.integer(direction), x.count > as.integer(x.count), objective = as.double(objective), const.count > as.integer(const.count), constraints = as.double(constraints), int.count > = as.integer(int.count), int.vec = as.integer(int.vec), bin.count > as.integer(bin.count), binary.vec = as.integer(binary.vec), > num.bin.solns = as.integer(num.bin.solns), objval = as.double(objval), > solution = as.double(solution), presolve = as.integer(presolve), > compute.sens = as.integer(compute.sens), sens.coef.from > as.double(sens.coef.from), sens.coef.to = as.double(sens.coef.to), duals > = as.double(duals), duals.from = as.double(duals.from), duals.to > as.double(duals.to), scale = as.integer(scale), use.dense > as.integer(use.dense), dense.col = as.integer(dense.col), dense.val > as.double(dense.val), dense.const.nrow = as.integer(dense.const.nrow), > dense.ctr = as.integer(dense.ctr), use.rw = as.integer(use.rw), tmp > as.character(tmp), status = as.integer(status), PACKAGE = "lpSolve") > 2: lpSolve:::lp(direction = "min", objective.in = rep(1, nrow(PIChart)), > const.mat = t(PIChart), const.dir = ">=", 1, all.bin = TRUE) > 3: solvePIChart(PIChart) > 4: reduce.default(mydata = Lipset_fs, "Survived.FZ", conditions, > explain = "positive", remaind = "exclude", prepro = "fs", consistency > 0.7) > 5: reduce(mydata = Lipset_fs, "Survived.FZ", conditions, explain > "positive", remaind = "exclude", prepro = "fs", consistency = 0.7) > > Possible actions: > 1: abort (with core dump, if enabled) > 2: normal R exit > 3: exit R without saving workspace > 4: exit R saving workspace > Selection: > > -------------------------------------------------- > >> Sys.getlocale() >> > [1] > "LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C" > > > >-- Richard Gott 1 Willow Court Finghall Leyburn N Yorks DL8 5NL 01677 450 974