On 06.12.2011 18:45, Michael wrote:
yeah, any one line command of checking which function is currently in the
memory?

Which memory? You have to think about namespaces and environments in such a case, and then, we need to know what you are actually doing.



so if I find any function not in the .GlobalEnv.
then I know what the problem is?

Err, no. So are you working on package and may NAMESPACES be involved or not? If not, my initial guess may be wrong. I think you have to provide more information what you are actually doing and how you did define all your functions that are involved.

best,
uwe Ligges







2011/12/6 Uwe Ligges<lig...@statistik.tu-dortmund.de>



On 06.12.2011 18:29, Michael wrote:

how do I check and make sure? thx


E.g. insert cat("Hello World!\n") in the first line of your function you
called "subroutine".

Best,
Uwe Ligges









On 12/6/11, Uwe 
Ligges<lig...@statistik.tu-**dortmund.de<lig...@statistik.tu-dortmund.de>>
  wrote:



On 06.12.2011 18:06, Michael wrote:

It's weird!

I am sure that I have inserted "browser()" in a sub-routine where I
wanted to stop and debug...

But when I start running the main function from the separate main file,

it doesn't stop within the target sub-routine at all.


Probably you are using some package and call the "subroutine" within the
NAMESPACE of the package rather than the one in .GlobalEnv.

Uwe Ligges


Please help me!

Thanks!

______________________________**________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
PLEASE do read the posting guide
http://www.R-project.org/**posting-guide.html<http://www.r-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.





______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to