[Rd] Non-webby links on Windows web page

Jeroen Ooms jeroenooms at gmail.com
Thu Nov 13 05:58:17 CET 2014


This caused by the Berkeley web server setting strange content-types.
It is probably more suitable to report this to the Berkeley mirror
admin or cran maintainers.

> library(httr)
> GET("http://cran.cnr.berkeley.edu/bin/windows/base/README.R-3.1.2")$headers["content-type"]
$`content-type`
[1] "application/x-troff-man"

> GET("http://cran.r-project.org/bin/windows/base/README.R-3.1.2")$headers["content-type"]
$`content-type`
[1] "text/plain"




On Wed, Nov 12, 2014 at 7:05 PM, Boylan, Ross <Ross.Boylan at ucsf.edu> wrote:
> On the Windows download page the second link is "Installation and other instructions" http://cran.cnr.berkeley.edu/bin/windows/base/README.R-3.1.2.  Clicking on this gets me a "download or open as" dialogue rather than a page of text.
>
> I think something like this happened a few years ago, and the problem was the MIME type of the link.
>
> It would be nice to fix.
>
> Thanks.
> Ross Boylan
>
> P.S. I was using http://cran.cnr.berkeley.edu/ and FF 33.1 on Win 7.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list