AddType image/svg+xml .svg .svgz AddEncoding x-gzip .svgzto the <VirtualHost> stanza in your httpd.conf file. (See http://httpd.apache.org/docs/1.3/mod/mod_mime.html.) Alternatively, you can add it to an .htaccess within a directory to have it apply to it and all sub-directories. That directory must be configured in the server to allow .htaccess, i.e. the server has to know to read the .htaccess file. Note that the server must return a Content-Encoding of x-gzip and not gzip for Firefox to understand the type correctly. Opera understands both forms.
library(RCurl) x = getURLContent(u, .opts = list(verbose = TRUE), binary = TRUE)
We can refer to a CSS with a relative file name, a full path name, file:///Users/duncan/Rpackages/SVGAnnotation/CSS/RSVGPlot.css or file://localhost/Users/duncan/Rpackages/SVGAnnotation/CSS/RSVGPlot.css