search for: testal

Displaying 7 results from an estimated 7 matches for "testal".

Did you mean: testa
2023 Jan 21
2
Object are not destroy while using error (Rf_error)
...ll, I try to understand why on my computer I do not clear all data with this code: #include <R.h> static int count = 0; class A { public: A(){ printf("c %d\n", count); count++; } ~A(){count--; printf("d %d\n", count); } }; extern "C" { void testAL(){ A a; { A b; } error("does not write [d 0]"); } } To run with R: I build gcc -shared -I/opt/R-202301/lib/R/include/ myError.cpp -o myError.so then in R: dyn.load("myError.so") .C("testAL") This writes c0, c1, d1 but not d0. If I comment li...
2010 Dec 14
1
survfit
...patient, the answer is "NULL". Could anyone help me with the problem? R.app GUI 1.34 (5589 Leopard build 32-bit) > library(glmpath) *> dataall <- list(x=lung.data$x[1:130,], time=lung.data$time[1:130], status=lung.data$status[1:130])* * > fit.a <- coxpath(dataall) > testall <- list(x=lung.data$x[131:137,], time=lung.data$time[131:137], status=lung.data$status[131:137]) > testpred <- predict(fit.a, testall, s=0.99, type='coxph', mode='lambda.fraction') > testpred Call: coxph(formula = Surv(time, status) ~ x, method = object$method)...
2006 Sep 15
3
Crashes and tests failures again with 0.10.4
...> Post.find_by_contents(''rubyforum'') # ok >> Post.find_by_contents(''ruby-forum'') /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:351: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i686-linux] The tests run fine on Linux, on OS X testall crashes with a segfault on test_index and several of the Ruby tests fail: 1) Failure: test_sorts(SearchAndSortTest) [./test/unit/../unit/analysis/../../unit/index/../../unit/query_parser/../../unit/search/tc_search_and_sort.rb:40:in `do_test_top_docs'' ./test/unit/../unit/ana...
2010 Dec 14
0
Urgent help requested using survfit(individual=T):
...patient, the answer is "NULL". Could anyone help me with the problem? R.app GUI 1.34 (5589 Leopard build 32-bit) > library(glmpath) *> dataall <- list(x=lung.data$x[1:130,], time=lung.data$time[1:130], status=lung.data$status[1:130])* * > fit.a <- coxpath(dataall) > testall <- list(x=lung.data$x[131:137,], time=lung.data$time[131:137], status=lung.data$status[131:137]) > testpred <- predict(fit.a, testall, s=0.99, type='coxph', mode='lambda.fraction') > testpred Call: coxph(formula = Surv(time, status) ~ x, method = object$method)...
2004 Aug 09
2
Approaches to using RUnit
...n CRAN. I'm wondering if there are any RUnit users out there that would be willing to share some tips on how they organize their code to work with RUnit. Specifically, I'm wondering about the best way to load/import/source the functions to be tested. I would like to end up with a script, testall or some such, that allows me to run all the unit tests in a given directory. One way I've thought about looks like: myfunc.R -------------- # some functions here -------------- runit_myfunc.R -------------- source("myfunc.R") # test function here -------------- + seth
2006 Aug 15
8
Ferret 0.10 series
Hi David, >> Otherwise I''m fully committed to getting 0.10 out. >> When it is out, I''d recommend getting it into your >> development app as soon as you can. Any idea of timeframe to a 0.10 alpha release? Kind Regards Neville
2005 May 01
6
win32-changejournal 0.2.0-1 compile error
I get the following error when trying to compile: win32-changejournal-0.2.0-1 on: Windows 2000, Service Pack 4 Microsoft Visual Studio 6 Any ideas? Thanks, Zach ----- ERROR BELOW----- C:\unzipped\win32-changejournal-0.2.0-1\win32-changejournal-0.2.0>nmake Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.