chris at psyctc.org
2006-Jul-09 17:40 UTC
[Rd] vignette("introduction") causes "Error in sprintf(" (PR#9069)
Full_Name: Chris Evans Version: 2.3.1 OS: Windoze XP Submission from: (NULL) (217.34.100.197) If I give "vignette("introduction")" I get: Error in sprintf(gettext(fmt, domain = domain), ...) : use format %s for character objects vignette() works for some other vignettes and "vignette()" gets me a list of vignettes and shows three with the name "introduction" (on my package collection). I don't know if that's related to this. Happy to try anything you want done (except perhaps trying to install the bleeding edge version of R!) Chris
Gabor Grothendieck
2006-Jul-09 18:02 UTC
[Rd] vignette("introduction") causes "Error in sprintf(" (PR#9069)
Same for me. Looking through the output of vignette I noticed that both the ggplot and reshape packages have a vignette called "introduction" in my case and either of the following brings up the associated vignette (as opposed to the error message): vignette("introduction", "ggplot") vignette("introduction", "reshape") On 7/9/06, chris at psyctc.org <chris at psyctc.org> wrote:> Full_Name: Chris Evans > Version: 2.3.1 > OS: Windoze XP > Submission from: (NULL) (217.34.100.197) > > > If I give "vignette("introduction")" I get: > Error in sprintf(gettext(fmt, domain = domain), ...) : > use format %s for character objects > > vignette() works for some other vignettes and "vignette()" gets me a list of > vignettes and shows three with the name "introduction" (on my package > collection). I don't know if that's related to this. > > Happy to try anything you want done (except perhaps trying to install the > bleeding edge version of R!) > > Chris > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Chris Evans
2006-Jul-09 18:21 UTC
[Rd] vignette("introduction") causes "Error in sprintf(" (PR#9069)
Gabor Grothendieck sent the following at 09/07/2006 19:02:> Same for me. Looking through the output of vignette > I noticed that both the ggplot and reshape packages have > a vignette called "introduction" in my case and either of > the following brings up the associated vignette (as opposed > to the error message): > > vignette("introduction", "ggplot") > vignette("introduction", "reshape")Aha, works for me too. Sorry, I probably should have been able to work that out myself. So: not so much a bug, more a wish as it might be good if the vignette code checked for multiple vignettes with the same name and returned a choice or a message warning you that there are multiples. Should I do a follow-up to that bug? Many thanks to you and all for R: incredible resource. Chris -- Chris Evans <chris at psyctc.org> Professor of Psychotherapy, Nottingham University; Consultant Psychiatrist in Psychotherapy, Rampton Hospital; Research Programmes Director, Nottinghamshire NHS Trust; Hon. SL Institute of Psychiatry, Hon. Con., Tavistock & Portman Trust **If I am writing from one of those roles, it will be clear. Otherwise** **my views are my own and not representative of those institutions **
Gabor Grothendieck
2006-Jul-09 20:27 UTC
[Rd] vignette("introduction") causes "Error in sprintf(" (PR#9069)
If there are no other instances of multiple vignettes with the same name perhaps the fastest solution is just for the author of those two vignettes to change them to each be unique. On 7/9/06, Chris Evans <chris at psyctc.org> wrote:> Gabor Grothendieck sent the following at 09/07/2006 19:02: > > Same for me. Looking through the output of vignette > > I noticed that both the ggplot and reshape packages have > > a vignette called "introduction" in my case and either of > > the following brings up the associated vignette (as opposed > > to the error message): > > > > vignette("introduction", "ggplot") > > vignette("introduction", "reshape") > > Aha, works for me too. Sorry, I probably should have been able to work > that out myself. > > So: not so much a bug, more a wish as it might be good if the vignette > code checked for multiple vignettes with the same name and returned a > choice or a message warning you that there are multiples. Should I do a > follow-up to that bug? > > Many thanks to you and all for R: incredible resource. > > Chris > > -- > Chris Evans <chris at psyctc.org> > Professor of Psychotherapy, Nottingham University; > Consultant Psychiatrist in Psychotherapy, Rampton Hospital; > Research Programmes Director, Nottinghamshire NHS Trust; > Hon. SL Institute of Psychiatry, Hon. Con., Tavistock & Portman Trust > **If I am writing from one of those roles, it will be clear. Otherwise** > > **my views are my own and not representative of those institutions ** >