similar to: debugging S4 methods

Displaying 20 results from an estimated 1000 matches similar to: "debugging S4 methods"

2009 Oct 04
3
error installing/compiling kernlab
Hi everybody, I''m using R on a 64-bit Ubuntu 9.04 (Jaunty). I prefer to install R packages from source, even if they are available in Synaptic. The problem is that I can''t install/compile kernlab. Everything works fine until it gets to the lazy loading part: ** preparing package for lazy loading Creating a new generic function for "terms" in "kernlab"
2012 Oct 09
4
Modern Symbolic debugger for R programmes?
I think I am whistling in the wind, but is there a modern symbolic debugger for R programmes? I am working through some one else's code, thousands of lines, that has the occasional bug in it, and a lot in my understanding of it. I cannot make setBreakpoint or findLineNum work. I get "No source refs found.". I am starting to loose my mind! A debugger where I could set
2006 Nov 27
0
kernlab 0.9-0 on CRAN
A new version of kernlab has just been released. kernlab is a kernel-based Machine Learning package for R. kernlab includes the following functions: o ksvm() : Support Vector Machines for classification, regression, novelty detection, native multi-class classification, support for class-probability output and confidence intervals in regression. o gausspr()
2006 Nov 27
0
kernlab 0.9-0 on CRAN
A new version of kernlab has just been released. kernlab is a kernel-based Machine Learning package for R. kernlab includes the following functions: o ksvm() : Support Vector Machines for classification, regression, novelty detection, native multi-class classification, support for class-probability output and confidence intervals in regression. o gausspr()
2011 Apr 06
1
executing from .R source file in the src package
Can I run R code straight from R src (.R) file instead of .rdb/.rdx? I of course tried simply unzipping tar.gz in the R_LIBS directory but R complains with "not a valid installed package". Real issue: I am very new to R and all, so this could be something basic. I'm trying to use ess-tracebug (Emacs front-end to trace/browser et al). It works great when I trace functions in .R
2010 Nov 09
1
library(kernlab) --- unable to load shared library
Dear R users, I have recently encountered a problem with using the function `library` in order to load the package `kernlab`. My output of sessionInfo() is as follows: R version 2.10.1 (2009-12-14) x86_64-unknown-linux-gnu locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base I have installed the package by
2013 Nov 03
1
Failed to install kernlab package
Hi everyone, I am trying to install kernlab package, but failed many times by now on CentOS 6 operating system. FYI, I have no problem with this package installation on windows platform. Here is the error message: trying URL 'http://cran.wustl.edu/src/contrib/kernlab_0.9-18.tar.gz' Content type 'application/x-gzip' length 1069148 bytes (1.0 Mb) opened URL
2010 Nov 22
2
R package "kernlab" can not be properly loaded
Hi, I tried to load the package "kernlab" under R-v11 and R-v10, however it gave error message: Error in library.dynam(lib, package, package.lib) : shared library 'kernlab' not found In addition: Warning message: package 'kernlab' was built under R version 2.12.0 Error: package/namespace load failed for 'kernlab' Has anybody loaded this successfully before?
2009 Nov 29
2
kernlab's ksvm method freeze
Hello, I am using kernlab to do some binary classification on aminoacid strings. I am using a custom kernel, so i use the kernel="matrix" option of the ksvm method. My (normalized) kernel matrix is of size 1309*1309, my results vector has the same length. I am using C-svc. My kernlab call is something similiar to this: ksvm(kernel="matrix", kernelMatrix, trainingDataYs,
2009 Apr 28
1
kernlab - custom kernel
hi, I am using R's "kernlab" package, exactly i am doing classification using ksvm(.) and predict.ksvm(.).I want use of custom kernel. I am getting some error. # Following R code works (with promotergene dataset): library("kernlab") s <- function(x, y) { sum((x*y)^1.25) } class(s) <- "kernel" data("promotergene") gene <- ksvm(Class ~ .,
2006 Nov 24
1
How to find AUC in SVM (kernlab package)
Dear all, I was wondering if someone can help me. I am learning SVM for classification in my research with kernlab package. I want to know about classification performance using Area Under Curve (AUC). I know ROCR package can do this job but I found all example in ROCR package have include prediction, for example, ROCR.hiv {ROCR}. My problem is how to produce prediction in SVM and to find
2008 Aug 27
1
R 2.7.2 kernlab issues
Hello, After upgrading to 2.7.2 this morning via the cran repository, I get the following error when calling R via the command line: Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/home/jstumpf/R/i486-pc-linux-gnu-library/2.7/kernlab/libs/kernlab.so': libRlapack.so: cannot open shared object file: No such file or directory Fatal error: unable to
2007 Apr 20
1
speccing a call to break
How can I spec that a method calls break? As far as I can see from ri, break is a pure syntax element (not a method from Kernel or Object), so I''m not sure what to mock... E.g.: class SomeClass def a_method loop do break end end end Scott P.S. Sorry for the annoying questions, but I just want to know! P.P.S: What is the right form of the verb "to spec" in
2012 Nov 29
1
Help with this error "kernlab class probability calculations failed; returning NAs"
I have never been able to get class probabilities to work and I am relatively new to using these tools, and I am looking for some insight as to what may be wrong. I am using caret with kernlab/ksvm. I will simplify my problem to a basic data set which produces the same problem. I have read the caret vignettes as well as documentation for ?train. I appreciate any direction you can give. I
2012 Jul 31
1
kernlab kpca predict
Hi! The kernlab function kpca() mentions that new observations can be transformed by using predict. Theres also an example in the documentation, but as you can see i am getting an error there (As i do with my own data). I'm not sure whats wrong at the moment. I haven't any predict functions written by myself in the workspace either. I've tested it with using the matrix version and the
2013 Apr 03
1
kernlab::kkmeans initial centers
Hi, I am trying to pass initial cluster assignments to the kkmeans method<http://rss.acs.unt.edu/Rdoc/library/kernlab/html/kkmeans.html>of kernlab. It is not clear to me how I can set the parameter *centers* with "initial cluster centers" as stated in the documentation? thanks, --ahmed [[alternative HTML version deleted]]
2005 Mar 17
1
kernlab sigest
hello, I have the following problem setting parameter 'frac' in the sigest function of the kernlab package. ## executing the ?sigest example: library(kernlab) data(spam) srange <- sigest(type~.,data = spam) ## works fine... ## setting 'frac' explicitly ## (in this case even to the default of .25) options(error=recover) srange <- sigest(type~.,data = spam, frac = .25) ##
2009 Dec 25
2
Help with SVM package Kernlab
Hi useR's, I am resending this request since I got no response for my last post and I am new to the list so pardon me if I am violating the protocol. I am trying to use the "Kernlab" package for training and prediction using SVM's. I am getting the following error when I am trying to use the predict function: > predictSvm = predict(modelforSVM, testSeq); Error in
2024 Aug 15
2
Certificates are not trusted
Hi, After returning home from holiday I tried to update my Fedora installation with the command 'sudo dnf update -y'. This command now terminates with the following error: error: Verifying a signature using certificate 3124D2EF76DA4D972F6BE4AC9D60CBB71A3B4456 (iucar_cran (None) <iucar#cran at copr.fedorahosted.org>): 1. Certificiate 9D60CBB71A3B4456 invalid: certificate is
2018 Jan 22
2
How to address the following: CRAN packages not using Suggests conditionally
Re-sending, since I forgot to include the list, sorry. I'm including r-package-devel too this time, as it seems more appropriate for this list. El 22 ene. 2018 10:11, "I?aki ?car" <i.ucar86 at gmail.com> escribi?: > > > El 22 ene. 2018 8:12, "Ulrich Bodenhofer" <bodenhofer at bioinf.jku.at> > escribi?: > > Dear colleagues, dear members of