==1147969== Memcheck, a memory error detector ==1147969== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1147969== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==1147969== Command: /data/blackswan/ripley/R/R-devel-vg/bin/exec/R --vanilla ==1147969== R Under development (unstable) (2021-03-19 r80100) -- "Unsuffered Consequences" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > pkgname <- "gconcord" > source(file.path(R.home("share"), "R", "examples-header.R")) > options(warn = 1) > library('gconcord') > > base::assign(".oldSearch", base::search(), pos = 'CheckExEnv') > base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv') > cleanEx() > nameEx("concord") > ### * concord > > flush(stderr()); flush(stdout()) > > ### Name: concord > ### Title: CONvex CORrelation selection methoD > ### Aliases: concord > > ### ** Examples > > library(mvtnorm) > > ## True omega > omega <- matrix(0,3,3) > omega[1,2] <- omega[2,3] <- 2.1 > omega <- t(omega) + omega > diag(omega) <- 3 > > sigma <- solve(omega) > > ## Generate data > set.seed(60) > data <- rmvnorm(100, rep(0,3), sigma) > > ## Solve > concord(data,2) ==1147969== Conditional jump or move depends on uninitialised value(s) ==1147969== at 0x5EC064: Rf_fmax2 (svn/R-devel/src/nmath/fmax2.c:25) ==1147969== by 0x48B25BD: concordC (packages/tests-vg/gconcord/src/concord.c:74) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== Uninitialised value was created by a heap allocation ==1147969== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==1147969== by 0x48B22C1: concordC (packages/tests-vg/gconcord/src/concord.c:41) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== ==1147969== Conditional jump or move depends on uninitialised value(s) ==1147969== at 0x5EC064: Rf_fmax2 (svn/R-devel/src/nmath/fmax2.c:25) ==1147969== by 0x48B2750: concordC (packages/tests-vg/gconcord/src/concord.c:89) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== Uninitialised value was created by a heap allocation ==1147969== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==1147969== by 0x48B22C1: concordC (packages/tests-vg/gconcord/src/concord.c:41) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== ==1147969== Conditional jump or move depends on uninitialised value(s) ==1147969== at 0x48B27B6: concordC (packages/tests-vg/gconcord/src/concord.c:102) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== by 0x417717: main (svn/R-devel/src/main/Rmain.c:29) ==1147969== Uninitialised value was created by a heap allocation ==1147969== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==1147969== by 0x48B22C1: concordC (packages/tests-vg/gconcord/src/concord.c:41) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== [,1] [,2] [,3] [1,] 0.5261383 0.1803893 0.0000000 [2,] 0.1803893 0.4300831 0.1581578 [3,] 0.0000000 0.1581578 0.5322110 attr(,"lambda") [1] 2 attr(,"iter") [1] 26 attr(,"solver") [1] "concord" attr(,"tol") [1] 1e-05 > > > > cleanEx() detaching ‘package:mvtnorm’ > nameEx("symlasso") > ### * symlasso > > flush(stderr()); flush(stdout()) > > ### Name: symlasso > ### Title: Symmetric Lasso (symlasso) > ### Aliases: symlasso > > ### ** Examples > > library(mvtnorm) > > ## True omega > omega <- matrix(0,3,3) > omega[1,2] <- omega[2,3] <- 2.1 > omega <- t(omega) + omega > diag(omega) <- 3 > > sigma <- solve(omega) > > ## Generate data > set.seed(60) > data <- rmvnorm(100, rep(0,3), sigma) > > ## Solve > symlasso(data,2.1) ==1147969== Conditional jump or move depends on uninitialised value(s) ==1147969== at 0x5EC064: Rf_fmax2 (svn/R-devel/src/nmath/fmax2.c:25) ==1147969== by 0x48B3D81: symlassoC (packages/tests-vg/gconcord/src/symlasso.c:84) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== Uninitialised value was created by a heap allocation ==1147969== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==1147969== by 0x48B3A78: symlassoC (packages/tests-vg/gconcord/src/symlasso.c:22) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== ==1147969== Conditional jump or move depends on uninitialised value(s) ==1147969== at 0x5EC064: Rf_fmax2 (svn/R-devel/src/nmath/fmax2.c:25) ==1147969== by 0x48B40A8: symlassoC (packages/tests-vg/gconcord/src/symlasso.c:91) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== Uninitialised value was created by a heap allocation ==1147969== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==1147969== by 0x48B3A78: symlassoC (packages/tests-vg/gconcord/src/symlasso.c:22) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== ==1147969== Conditional jump or move depends on uninitialised value(s) ==1147969== at 0x48B4109: symlassoC (packages/tests-vg/gconcord/src/symlasso.c:103) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== by 0x417717: main (svn/R-devel/src/main/Rmain.c:29) ==1147969== Uninitialised value was created by a heap allocation ==1147969== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==1147969== by 0x48B3A78: symlassoC (packages/tests-vg/gconcord/src/symlasso.c:22) ==1147969== by 0x49F508: do_dotCode (svn/R-devel/src/main/dotcode.c:1825) ==1147969== by 0x4D3566: bcEval (svn/R-devel/src/main/eval.c:7115) ==1147969== by 0x4F0077: Rf_eval (svn/R-devel/src/main/eval.c:727) ==1147969== by 0x4F1A8D: R_execClosure (svn/R-devel/src/main/eval.c:1897) ==1147969== by 0x4F2783: Rf_applyClosure (svn/R-devel/src/main/eval.c:1823) ==1147969== by 0x4F0243: Rf_eval (svn/R-devel/src/main/eval.c:850) ==1147969== by 0x52123C: Rf_ReplIteration (svn/R-devel/src/main/main.c:264) ==1147969== by 0x521587: R_ReplConsole (svn/R-devel/src/main/main.c:314) ==1147969== by 0x521614: run_Rmainloop (svn/R-devel/src/main/main.c:1113) ==1147969== by 0x52165D: Rf_mainloop (svn/R-devel/src/main/main.c:1120) ==1147969== [,1] [,2] [,3] [1,] 0.9628091 0.5859827 0.0000000 [2,] 0.5859827 0.9031807 0.5502611 [3,] 0.0000000 0.5502611 0.9701265 attr(,"lambda") [1] 2.1 attr(,"iter") [1] 39 attr(,"solver") [1] "symlasso" attr(,"tol") [1] 1e-05 > > > > ### *