search for: afoo

Displaying 8 results from an estimated 8 matches for "afoo".

Did you mean: _foo
2004 Apr 19
3
How to write an S4 method for sum or a Summary generic
If I have a class Foo, then i can write an S3 method for sum for it: >setClass("Foo",representation(a="integer"));aFoo=new("Foo",a=c(1:3,NA)) >sum.Foo <- function(x,na.rm){print(x);print(na.rm);sum(x at a,na.rm=na.rm)} >sum(aFoo) But how do I write an S4 method for this? All my attempts to do so have foundered. For example >setMethod("sum",signature("Foo","logical&quo...
2010 Apr 09
5
SSH Through R Script
...ut SSH doesn't allow that, my only option then is to set up a private/public key pair. But the admin of the remoteserver doesn't allow me to do that. Is there a way in which I can SSH in? Or is there a command in R that allows me to interact with the command prompts interactively? thanks, afoo -- View this message in context: http://n4.nabble.com/SSH-Through-R-Script-tp1809635p1809635.html Sent from the R help mailing list archive at Nabble.com.
2008 Jan 21
2
experiments with slot functions and possible problems NOTE
Hello, first of all, thanks to LT for \pkg{codeutils}. I agree that it is indeed very useful to identify errors and also to encourage re-thinking past solutions. My problem: I want to compare different sets of related sub-functions which should be used alternatively by the same top-level function. Sets of related functions should be bound together (as lists) and the workspace should be as clean
2012 Jan 02
0
[LLVMdev] Transforming wide integer computations back to vector computations
...-matt target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-apple-darwin11.2.0" define void @f_fu(float* nocapture %RET, float* nocapture %aFOO, float %b) nounwind { for_exit: %x = alloca i64, align 16 %tmpcast = bitcast i64* %x to [8 x i8]* store i64 -1, i64* %x, align 16 %ptr_cast_for_load = bitcast float* %aFOO to <4 x i32>* %masked_load202 = load <4 x i32>* %ptr_cast_for_load, align 4 %gather_bitcast = bitcast &...
2007 Aug 12
1
using complete email address as username
I've been poking around the dovecot wiki, and this idea looks plausible. I'm just double-checking with the assembled experts to see if there is some "gotcha" that will happen to me down the road. I have in mind a deployment of dovecot which will use serve several unrelated domains. My plan is to use the complete email address of the users as the unique userid. So, for
2007 Oct 10
2
Something to think about
...ID" term to each document, and construct a composite query. For example, the search "author:foo" across databases with ids "db1" and "db2", where the prefix for author in db1 is "A" and the prefix for author in db2 is "B", would become: (Afoo FILTER db1) OR (Bfoo FILTER db2) This should give the right sort of results, but the statistics for the terms will be a bit broken. (Actually, I'm not totally convinced they'll be broken in a harmful way, because if the term is more frequent in one collection than another, this could c...
2006 Apr 06
5
Using helper method of another model
I have a template that belongs to a certain model (model A). I need to call a helper method of a different model (model B). Then I need the helper method of B to call a helper method of model C. I tried using "include" and "require" and using namespaces, but I got "undefined method". What is the way to do it? -- Posted via http://www.ruby-forum.com/.
2014 Oct 13
16
[LLVMdev] RFC: variable names
I’d like to discuss revising the LLVM coding conventions to change the naming of variables to start with a lowercase letter. This should not be a discussion on the pain of such a transition, or how to get from here to there, but rather, if there is a better place to be. My arguments for the change are: 1. No other popular C++ coding style uses capitalized variable names. For instance here