search for: myclass2

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

Did you mean: myclass
2004 May 13
0
using trace() on S4 coerce method
...ed 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("MyClass1",a=20) > as(x,"MyClass2") An object of class "MyClass2" S...
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", "Myclass1"], {:limit=>:all}]) But every...
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", "McNeil&qu...
2007 May 28
7
$$ is slooooow in IE
While $$ and getElementsByClassName are ridiculously speedy in Firefox (thanks to XPath), I''m finding both functions to be intolerably slow in IE. The page I''m working with has fewer than 1000 elements -- doesn''t seem THAT big -- and it''s still taking upwards of 4 seconds (!) to pick out the right ones. Are there documented problems with particular