Short answer: I have not.

Long answer: Read the posting guide. Provide a reproducible example. Show actual error messages. Identify your operating system and version of R. Read the posting guide. Then try posting again.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

"M. Tran" <michellev.tran@gmail.com> wrote:

Dear All

I have a program that breaks at the following lines of code:

bigfunction =
{
... 

object1 = myfunction(x)
object2 = strsplit(object1, ",")[[1]]

...
}

where myfunction is defined elsewhere outside of bigfunction. 

The error I get is "error in strsplit() -- object1 not found".

However, when I insert browser() into my code so that the above reads,

bigfunction =
{
... 

browser()
object1 = myfunction(x)
object2 = strsplit(object1, ",")[[1]]

...
}

my entire program runs successfully, and oddly *never enters browser mode*.

Has anyone encountered a similar problem? Any advice would be greatly
appreciated.

Thank you,
Michelle

--
View this message in context: http://r.789695.n4.nabble.com/program-never-enters-browser-mode-when-I-add-browser-tp3948920p3948920.html
Sent from the R help mailing list archive at Nabble.com.

_____________________________________________

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.


	[[alternative HTML version deleted]]

