Hi, 

I'm working on a set of demo files for a package, and I'm having a problem because I 
have two demo files (one called "logit", the other called "blogit") and when I type 
demo(logit), it gives me demo(blogit) instead.  (And calls it the the demo for logit.) 
 

I've figured out that this is because the demo() function searches through all the 
demo directories (in the installed libraries) and looks for the string "logit" and 
takes only the first match in alphabetical order [?] (which is "blogit" in this case). 
 

Is there any way to modify the demo() function so that it looks for the exact match, 
not a match for the string?  I could of course rename the demo file, but I'm afraid 
that students won't remember it (blogit is a name of a function as well).  

Thanks in advance, 

Olivia Lau, 
"Novice R Programmer"  
        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to