similar to: generic/method consistency ?

Displaying 20 results from an estimated 12000 matches similar to: "generic/method consistency ?"

2003 Dec 19
2
generic/method consistency
Hi, I realize the answer is very likely in the section Generic functions and methods (or Adding new generics), but I'm not clear what to do with the following. Running R CMD check, I get the following warnings for my generic functions. Does this mean I need the argument * checking generic/method consistency ... WARNING leps: function(x, ...) leps.default: function(x, pred, titl,
2012 Nov 21
1
S3 generic/method consistency issue with R CMD check
Hi, I'm having some trouble setting methods for the qr family of functions. I believe I have distilled my misunderstanding in the code snippet below: foo <- function(x, ...) UseMethod("foo") foo.default <- function(x) { } # foo setGeneric(name = "foo", useAsDefault = foo) setMethod("foo", signature(x="bar"), function(x, ...) { } )
2002 May 07
1
Generic/method consistency in print and summary
In R 1.5.0 (and earlier): > print function (x, ...) UseMethod("print") > summary function (object, ...) UseMethod("summary") Is there a reason for this inconsistency in the name of the object? It makes a single help file for both functions look ugly, because it has to document both "x" and "object", which are really the same thing. Duncan
2004 Mar 30
1
Fatal: RAND_bytes() failed
This morning dovecot died with the following messages in the errorlog. Any solution to this problem? I am using Fedora Core 1 on a SMP i686 box. imap-login: Mar 30 08:08:00 Fatal: RAND_bytes() failed: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded dovecot: Mar 30 08:08:00 Error: Login process died too
2003 Sep 26
2
checking generic/method consistency
Hi, I wrote a package for linear programming and want to submit it to CRAN. Since the package 'quadprog' has a function with the name 'solve.QP' to perform Quadratic Programming, I named my (main) function 'solve.LP'. However 'R CMD check' gives one warning: * checking generic/method consistency ... WARNING solve: function(a, b, ...) solve.LP:
2008 Jul 31
2
S 3 generic method consistency warning please help
I would like to include this in a package. The S3 methods on R CMD check says * checking S3 generic/method consistency ... WARNING window: function(x, ...) window.chron: function(data, day1, hour1, day2, hour2, ...) See section 'Generic functions and methods' of the 'Writing R Extensions' manual. I have looked and can not figure it out. This function is for convience. What
2005 Sep 01
1
generic function S3 consistency warning advice
Hi section 6.1 of R-exts suggests that a package can take over a function in the base package and make it generic. I want to do this with Re() and have the following lines in my R code: "Re" <- function(x){UseMethod("Re" )} "Re.default" <- get("Re" ,pos=NULL,mode="function") "Re.octonion" <- function(x){give.comp(x,1)}
2003 Jul 16
2
Density function for non-central t distribution
Hi, I've written some C code for density evaluation of the non-central t distribution. It works with the R-1.7.1 source code if placed in the src/nmath directory and after appropriate changes are made to Makefiles, to the dt function in src/library/base/R/distn.R etc. I haven't read a lot of R source code so it may need some R-ification, but I've tried to use the dt.c file as a
2008 Jun 25
1
weighted inverse chi-square method for combining p-values
Hi, This is more of a general question than a pure R one, but I hope that is OK. I want to combine one-tailed independent p-values using the weighted version of fisher's inverse chi-square method. The unweighted version is pretty straightforward to implement. If x is a vector with p-values, then I guess that this will do for the unweighted version: statistic <- -2*sum(log(x)) comb.p <-
2004 Apr 02
2
[LLVMdev] Function pointers
OK, I solved it all ( so far :) ), mixing in some load-instructions and called on the result of that, which worked. Here is the skeleton-code: %kernel = type { int ()* } int puts_kernel(){...} ; main() %theKernel = malloc %kernel %puts_kernelPTR = getelementptr %kernel* %theKernel, long 1, ubyte 0 store int ()* %puts_kernel, int ()** %puts_kernelPTR %tmp.11 = load int ()** %puts_kernelPTR
2012 Mar 19
2
[LLVMdev] Python bindings in tree
On Sun, Mar 18, 2012 at 09:52:12PM -0700, Gregory Szorc wrote: > The automatic generation of the Python ctypes interfaces using the Clang > Python bindings is pretty friggin cool! A nice side effect is that everything is added to the interface. So it is easy to add a small proxy over the lib that shows which parts of the llvm-c API that is exercised by the tests. (have that in my bindings)
2006 Apr 04
3
degraded performance under domain login load
Hi guys, Not sure how to diagnose this problem however i have recently upgraded one of my schools sites from gentoo to freebsd which moved us from samba 3.0.14 to 3.0.21b and the first thing I noticed was when the students came to login if they all logged in at once the performance of login was crippled to a near standstill! As a test i swapped in the gentoo box and forced the upgrade to
2010 Apr 29
12
[Bug 1765] New: Error message if key not first in authorized_keys file
https://bugzilla.mindrot.org/show_bug.cgi?id=1765 Summary: Error message if key not first in authorized_keys file Product: Portable OpenSSH Version: 5.5p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org
2004 Apr 02
0
[LLVMdev] Function pointers
On Fri, 2 Apr 2004, Anders Alexandersson wrote: > OK, I solved it all ( so far :) ), mixing in some load-instructions and > called on the result of that, which worked. > > Here is the skeleton-code: > > %kernel = type { int ()* } > > int puts_kernel(){...} > > ; main() > > %theKernel = malloc %kernel > %puts_kernelPTR = getelementptr %kernel* %theKernel,
2010 Nov 22
9
[Bug 1841] New: Error message if key not first in authorized_keys file
https://bugzilla.mindrot.org/show_bug.cgi?id=1841 Summary: Error message if key not first in authorized_keys file Product: Portable OpenSSH Version: 5.6p1 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org
2003 Jun 10
1
Samba 2.2.7 as PDC causing BSOD on 2K domain logon
Hello, Have wrestled this one for about a week, now, getting frustrated ;-) Running samba as PDC for my domain (cf. smb.conf further down) When logging in on my 2K Pro machine, I first get a "can't find roaming profile, attempting local profile"-error, but logon using my user's smb account accepts only the correct password and so the identification part works well. Next,
2006 Apr 08
3
stress testing
Does anyone know how to stress test samba without getting a whole room of people to login to all the computers at once ? perhaps some kind person has coded up a nice app that can be run on the server ?? just curious.. Kind Regards, Chris Anders Network Engineer Anders Networks Mobile - 0421 580 017 Email - chris@anders.net.au Web - http://www.anders.net.au ? --- This
2004 Mar 31
2
[LLVMdev] Function pointers
Hello out there! I am trying to build a table of 2 function poiters by using an array: %kernel = alloca [ 2 x int ()* ] I try to access the first pointer to be able to store location of my first function like this: %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long 0 store int ()* %function_1, int ()* %function_pointer_1 But, I get the error message from llvm-asm:
2010 Nov 24
3
[LLVMdev] Question regarding the alias analysis chaining behaviour
Hi, I am using LLVM 2.4 on a Linux RHEL5 machine. I was trying to figure out how the chaining of the alias analysis passes works in LLVM. Here are the command I used to test the chaining part. 1. ./opt hello_world_1_nest_func.bc -o hello_world_1_nest_func_AA.bc -no-aa -anders-aa -licm Result: Anderson's AA and No Alias Analysis both are called. 2. ./opt hello_world_1_nest_func.bc -o
2011 Jul 29
1
Can't see shares...
I can't figure out what's wrong with my config, I can see the share \\beata\anders, but not store0 or store1; # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2011-03-01 [global] workgroup = NORRBRING passdb backend = tdbsam