NOEL Yvonnick <yvonnick.noel <at> free.fr> writes:
Dear Noel,

> 
> Hello,
> 
> I note that the following gWidgets code that works under Linux fails 
> under Windows with R-2.7.0 (gWidgets-0.0.27, gWidgetsRGTk2-0.0.33, 
> RGtk2-2.12.5-3):
> 
> ghelp("anorexia",package="MASS",cont=TRUE)
> 
> The help file is apparently looked for in a /library/car/chm folder 
> which does not exist.
> 



The ghelp widget under windows is a bit broken, as it expects the help files to
be in a format that isn't typically installed under windows. I need to add in
some windows-specific code to handle cfm(?) filea. Currently the basic code is:

helpFile = help(topic, package=force(pkg), verbose=TRUE)[1]
text = readLines(helpFile)


where pkg and topic are passed in and "text" gets processed then displayed. I
think I can easily crib the windows code from some source, so I'll see what I
can do about adding this feature with the next release. --John


> Thank you.
> 
> Yvonnick Noel, PhD.
> University of Brittany
> France
>

_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-gui

Reply via email to