search for: myclass1

Displaying 4 results from an estimated 4 matches for "myclass1".

Did you mean: myclass
2004 May 13
0
using trace() on S4 coerce method
...uld re-define the method in terms of an ordinary function and trace the later function, as suggested by John Chambers to another user: https://stat.ethz.ch/pipermail/r-devel/2003-August/027249.html But it would be nice to be able to trace the method directly.) Thanks Gordon > setClass("MyClass1",representation(a="numeric")) [1] "MyClass1" > setClass("MyClass2",representation(a="character")) [1] "MyClass2" > setAs("MyClass1","MyClass2",function(from,to) new(to,a=as.character(from at a))) > x <- new(&...
2008 Aug 20
1
acts_as_ferret and DRb server errors
I am seeing this in my ferret_server.log when I do a search: DRb server: ensure_index_exists for class Myclass1 DRb server: ensure_index_exists for class Myclass2 DRb server: ensure_index_exists for class Myclass3 DRb server: ensure_index_exists for class Myclass4 #method_missing(:id_multi_search, ["Myclass1", "test*", ["Myclass4", "Myclass3", "Myclass2", &qu...
2006 Jan 12
2
Finding by association
I have two objects that are associated in the following way: class Class1 < ApplicationController has_and_belongs_to_many :class2s has_and_belongs_to_many :otherClasses end class Class2 < ApplicationController has_and_belongs_to_many :class1s has_and_bleongs_to_many :otherClasses end Now, when I run the following query, @objects = Class1.find(:all, :conditions
2011 Aug 19
0
retain class after merge
Dear All, is there a simple way to retain the class attribute of a column, if merging two data.frames? When merging the example data.frames form help(merge) I am unable to keep the class attribute as set before merging (see below). Two columns are assigned new classes before merge (myclass1, myclass2), but after merge the resulting column has class "character". best regards, Heinz ## use character columns of names to get sensible sort order authors <- data.frame( surname = I(c("Tukey", "Venables", "Tierney", "Ripley", &quo...