On 12/29/2010 1:01 PM, Marc Schwartz wrote:
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?
Well, my initial query was just for an icon that I could use in a
presentation to represent several R packages
and the relations among them.
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.
You raise the more interesting question of OS-specific icons for
R-related file types (.R, .Rd, .RData, .Rnw),
but the only ones I know of are the .RData icon under Windows, and icons
used in eclipse/StatET.
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
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street Web: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
______________________________________________
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.