Hi,

when I am trying to deug a package, I am getting the error.

> library(quantstrat)
> setBreakpoint("strategy.R#3",envir=environment(strategy))
No source refs found.

In R studio, I get a strange message, "Breakpoints will be activated when an 
updated version of the quantstrat package is loaded."

However, when I do Hmisc, everything works fine.

> library(Hmisc)
> setBreakpoint("F:\\ProgramFiles\\R\\R-3.1.1\\library\\HmiscSRC\\R\\Misc.s#1221",
>  env=environment(hdquantile)) 

F:\ProgramFiles\R\R-3.1.1\library\HmiscSRC\R\Misc.s#1221:
 hdquantile step  2 in <environment: namespace:Hmisc>
 hdquantile step  2 in <environment: package:Hmisc>

 Tracing function "hdquantile" in package "namespace:Hmisc"
Tracing function "hdquantile" in package "Hmisc"
Also, I can set "RStudio breakpoints" in R Studio on many lines in Misc.s
What is this error, "No source refs found."

Please help.
Thanks.

 Andre Mikulec 
 andre_miku...@hotmail.com                                        
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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