Displaying 2 results from an estimated 2 matches for "allfun".
Did you mean:
callfun
2007 Jun 30
1
graphic for the R profiler
...Tsvg > test3.svg
Some example graphics are presented in the R wiki here:
http://wiki.r-project.org/rwiki/doku.php?id=tips:misc:profiling
Cheers,
Romain
<code perl>
#! /usr/bin/perl
use Getopt::Long;
my $cutoff=5;
GetOptions ('cutoff=s' => \$cutoff );
%calltree = ();
%allfun = ();
while (<>) {
if (/^sample\.interval=/) {
s <http://www.perldoc.com/perl5.6/pod/func/s.html>/sample\.interval=//;
$sample = $_ / 1e6;
} else {
chomp <http://www.perldoc.com/perl5.6/pod/func/chomp.html>;
@line = reverse <http://www.perldoc.com/perl5.6/pod/...
2012 Apr 05
1
issue with base:::namespaceImportMethods
...========
--- src/library/base/R/namespace.R (revision 58917)
+++ src/library/base/R/namespace.R (working copy)
@@ -930,8 +930,10 @@
namespaceImportMethods <- function(self, ns, vars) {
allVars <- character()
+ generics <- character()
+ packages <- character()
allFuns <- methods:::.getGenerics(ns) # all the methods tables in ns
- packages <- attr(allFuns, "package")
+ allPackages <- attr(allFuns, "package")
pkg <- methods:::getPackageName(ns)
if(!all(vars %in% allFuns)) {
message(gettextf("No methods...