similar to: debug/mtrace problem

Displaying 20 results from an estimated 600 matches similar to: "debug/mtrace problem"

2004 Mar 25
1
mlocal/mtrace inside a loop
Hello I need some help in figuring Bravington’s debugger out. Ok I have 2 functions, fun1 and fun2 saved in a ASCII file say filename is funs. Fun1 has a loop which calls fun2, fun2 has a loop which fails and I need to find out the value of the variables of the fun2 and fun1 loops at the specific iteration that fails. Both fun1 and fun2 loops will iterate thousands of times so line by line debug
2015 May 26
0
Compatibility issue between lme4 and kml (operateur "[")
Hi all, There is a compatibility issue between the package 'lme4' and my package 'kml'. I define the "[" operator. It works just fine in my package (1). If I try to use the lme4 package, then it does no longer work (2). Moreover, it has some kind of strange behavior (3). Do you know what is wrong? Any idea of how I can correct that? Thanks for your help Christophe ---
2008 Apr 13
1
R 2.7 package.skeleton
Hi the devel list I am testing package.skeleton in R 2.7 (download today). I get an error that I do not understand. I guess it is not an error from my code since I have no probleme when I source it. So is it a error in package.skeleton? Here is my code : --- 8< ------ File essai.r ------------- setClass( Class="ClusterizLongData", representation=representation(
2007 Nov 06
3
Produce a multiple formats graphic
Is it possible to produce the same graphic in different formats in one shot? Now if I want to produce the same graphic in pdf, ps and jpeg I run the producing code, but I change the graphic device, and I choose successively : pdf(...) ps(...) jpeg(...) So in this case I run the same code 3 times, or I have to choose a format and use converters... Is it possible to produce the 3 graphics in once
2008 Jun 05
2
bartlett.test()
i'm trying to test the homogeneity of variance of 92 samples each one contains 3 observations. to use bartlett.test function i have created a (3,92) matrix (named xx): >bartlett.test(xx) this message appears: >Erreur dans bartlett.test.default(xx) : l'argument "g" est manquant, avec aucune valeur par d?faut when i checked the help i have understood that in g i should
2010 Oct 29
2
how to debug (mtrace) a function defined inside a function?
Hi, everyone. I am using a fair amount of closures in my code. Problem i am experiencing is i cannot figure out how to mtrace functions defined within a function. There must be some way to name such function for mtrace to see it and let me step into it. For example, say i have code mymodel<-function(){ data<-numeric(0) build<-function(){ data<<-1 } m<-list()
2007 Apr 04
1
Need mtrace (malloc debugging) help
Hi all, I am using "mtrace" malloc debugging utility to trace memory leaks in my application. I followed following steps: 1. Added mtrace() function in the beginning of my main function. 2. exported the MALLOC_TRACE environment variable. $ export MALLOC_TRACE=memory.log 3. Run the program 4. trace the program for memory leaks. $ mtrace <myprogram> $MALLOC_TRACE But In
2006 Oct 18
1
strange error in mtrace
Dear useRs, I am experiencing very strange error with Mark Bravington's package "debug". I haven't seen them before. Here is the sample session > library(debug) Loading required package: mvbutils MVBUTILS: no "tasks" vector found in ROOT Loading required package: tcltk Loading Tcl/Tk interface ... done > x<-function() return(1) > mtrace(x) > x() Error
2004 Sep 27
1
mtrace and debug
Hello, pointed to the article "Debugging Without (Too Many) Tears" of Mark Bravington in Rnews Vol 3/3, December 2003 there is a package mvbutils mentioned. So I started to install this package from within R > install.package(mvbutils) I receive an error essage that this package is not found! Is due to a merge,removal or rename of this package? When I try to follow this
2012 Jan 24
1
debug package: mtrace fails
Hi all, Since three month ago I started working with R professionally, I never did it before, so I am such a newbie. I am having some problems using the 'debug' package. I love this package, but most of the times I wanna use it it just fails :P When typing at prompt 'mtrace(myfunct)' most of the times I get the following error: "Error in x[[i]] : subscript out of
2010 May 04
0
masking of objects between mtrace() and getYahooData()
I am using getYahooData from TTR to get daily data. When i do it standalone, it is fine. It also works fine inside my code. However, when i run code inside mtrace(), i always get the following error: Error in xts(cbind(adj[[1]], adj[[2]]), index(obj)): order.by requires an appropriate time-based object After a lot of hand wringing, it looks to me that it happens because index in xts masks
2011 Dec 22
1
mtrace function
I use windows xp. When trying to use the function mtrace from package debug the window that should open with the function to be debugged do not show any text at all. It shows only a part of my desktop. Does anyone know why. Is there any imcompatibility between windows xp and debug package. Thanks in advance. Enio Jelihovschi [[alternative HTML version deleted]]
2012 Jan 06
0
graphic problem: transparent window when starting mtrace() from package debug
Hi Jannis [I'm the author of package debug... I know this is 6 months after your query, sorry-- but I don't subscribe to R-help, and you didn't post to the maintainer! I'm primarily sending this to close off the thread.] > when I use the package debug, mark a function with mtrace() and enter > into the browser like mechanism of debug a window displaying the code of >
2011 Jul 23
0
graphic problem: transparent window when starting mtrace() from package debug
Deal R , when I use the package debug, mark a function with mtrace() and enter into the browser like mechanism of debug a window displaying the code of the marked function with the current line highlighted usually appears. When I use GUIs other than ess or the standard R console sometimes this window is totally transparent so it is not possible to see any code in it. After closing/resizing
2007 May 12
1
mtrace() fails
I find the R debug package very useful. I've installed and used it on several of the machines I use, without problems, but on one machine I get the following error: Loading required package: mvbutils Loading required package: utils MVBUTILS: no "tasks" vector found in ROOT Loading required package: tcltk Loading Tcl/Tk interface ... done [Previously saved
2005 Jul 22
1
multiplicate 2 functions
Thks for your answer, here is an exemple of what i do with the errors in french... > tmp [1] 200 150 245 125 134 345 320 450 678 > beta18 Erreur : Objet "beta18" not found //NORMAL just to show it > eta [1] 500 > func1<-function(beta18) dweibull(tmp[1],beta18,eta) > func1<-func1(beta18) * function(beta18) dweibull(tmp[2],beta18,eta) Erreur dans dweibull(tmp[1],
2006 May 18
1
Negatives density values (PR#8876)
Full_Name: Cuvelier Etienne Version: R version 2.2.1 OS: Windows XP Submission from: (NULL) (81.240.71.204) If we use the "density" function "far" from the data, some values are negatives. I know that these value of the density are "near equal" to zero, but the change of sign can involve some "false" decision. Here is an example of this fact: > x =
2007 Sep 06
1
labelling specific points xyplot
Hello R-helpers, I'm trying to add labels to points in xyplot graphs, but I want lo label only those points which have a certain level of my grouping variable, and have encountered a few problems. An example dataframe that goes with the following code is at the end of this message. 1st step, adding labels (from another column in the dataframe) to my chosen points : I've figures this
2006 Mar 11
2
Draw level lines on the surface of a bivariate function
Hello, Is it possible to draw level lines on the surface of a bivariate function? In the following example, to draw surface and levels lines for a multivariate normal law, I use persp, trans3d, contourLines and lines, but if the lines are correctly drawn, some parts of them are, of course, visible even if they are drawn on a non visible "face". Any suggestion to avoid this problem
2006 Oct 23
0
FW: Debug package question
Dear list, I received the response below from the package author of 'debug'. I post it to the list, with Mark's approval, in case it is useful to others too. Regards, Matthew -----Original Message----- From: Mark.Bravington at csiro.au [mailto:Mark.Bravington at csiro.au] Sent: 22 October 2006 23:53 To: Matthew Dowle Cc: Mark.Bravington at csiro.au Subject: RE: Debug package