On Dec 29, 2010, at 11:32 AM, Michael Friendly wrote: > On 12/29/2010 11:02 AM, David Winsemius wrote: >> >> On Dec 29, 2010, at 10:03 AM, Michael Friendly wrote: >> >>> I'm looking for an icon to represent an R package. Perhaps something >>> like >>> >>> http://cdn2.iconfinder.com/data/icons/DarkGlass_Reworked/128x128/apps/package.png >>> >>> >>> >>> but with the R logo rather than KDE. >> >> Can't you just get the location of an "R" at CRAN? >> >> http://cran.r-project.org/Rlogo.jpg >>> >> >> > Sorry for not being clearer. What I want is an icon for a *package*, > such as I gave in the iconfinder link > above, but with the R logo *superposed*. Such 3D icons are common in the > Mac world, but I couldn't > find anything similar for R, so thought I'd ask before trying my (poor) > hand with PhotoShop or something > similar.
Michael, Are you referring to an icon that would be displayed for an R package when browsing in a file manager, such as Nautilus, Konqueror or Finder? If so, those icons are typically associated with a file using MIME types and are based upon the file type in question having a unique extension and perhaps being associated with a particular application that is installed. Since R packages are either .zip files or tar archive files (.tar.gz or .tgz), they will use the default theme icons for the OS/File Manager in use for those extensions, possibly for the archiving application associated with those file types. I don't know of any way off-hand, to differentiate R packages from other files that have the same extensions and therefore have a unique icon displayed in the respective file manager application. Regards, Marc Schwartz ______________________________________________ R-help@r-project.org mailing list 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.