On May 11, 2011, at 4:00 PM, Thomas Roth wrote: > Hi, > > There's a possibility to put images into documentation files. Have a look at > the package visualizationTools to see how it works. The original idea is/was > by Romain Francois as far as i remember. > > For instance have a look at the documentation for the function CLT >
Interesting - ?CLT takes forever (about 30s) on a fairly fast machine (8-core Xeon) - every time! That sort of defeats the purpose of help pages ... so whatever it's doing (behind your back - the help in the console still shows no images, obviously), I would not recommend it as it makes the help unusable. Cheers, S > > 2011/5/11 Hadley Wickham <had...@rice.edu> > >>> Im trying to figure out how to put images into my packages help >>> documentation. Ive gotten to the point where I can put the images in the >>> /inst/doc/ directory. I have also gotten to the point where I have >> package >>> checks without any warnings. I couldnt find the terms picture, >> image, >>> or graphic in a text search within the Writing R Extensions: 2 Writing >> R >>> documentation files >> >> I think you're asking the wrong question. You should be asking: "Can >> I include images in help files?". As far as I know, the answer is no. >> >> You might be able to do it for specific output formats. See >> http://cran.r-project.org/doc/manuals/R-exts.html#Conditional-text >> >> Hadley >> >> -- >> Assistant Professor / Dobelman Family Junior Chair >> Department of Statistics / Rice University >> http://had.co.nz/ >> >> ______________________________________________ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel [[alternative HTML version deleted]]
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel