[R] Help required to install package from a website

Eamonn O'Brien eamonnjobrien at gmail.com
Sun Dec 14 16:33:30 CET 2008


Thanks Ben
Successfully installed.

On Sun, Dec 14, 2008 at 2:59 PM, Ben Bolker <bolker at ufl.edu> wrote:
>
>
>
> Eamonn O'Brien wrote:
>>
>> Hi,
>> I am new to R and I'm looking to perform some method comparison
>> analysis and would be grateful for some help regarding package
>> installation.
>> There is a package 'MethComp' that I want to use
>> (http://staff.pubhealth.ku.dk/~bxc/MethComp/Courses/Sthm.2007/.)
>> Unfortunately I am unable to install it. I have tried numerous
>> approaches but to no avail. this is the first time I have tried to
>> install a package 'outside' of R. My operating system is Windows XP.
>>
>> Here's one attempt that does not work:
>>
>> where="http://staff.pubhealth.ku.dk/~bxc/MethComp/Archive/?C=M;O=D"
>>
>> install.packages("MethComp_0.4.1.tar.gz",contriburl=where)
>>
>> Warning messages:
>> 1: In read.dcf(file = tmpf) ... :
>>   Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!
>> 2: In read.dcf(file = tmpf) ... : Line starting '<html> ...' is malformed!
>> 3: In read.dcf(file = tmpf) ... : Line starting ' <head> ...' is
>> malformed!
>> 4: In read.dcf(file = tmpf) ... :
>>   Line starting '  <title>Index of /~ ...' is malformed!
>> 5: In read.dcf(file = tmpf) ... : Line starting ' </head> ...' is
>> malformed!
>> 6: In read.dcf(file = tmpf) ... : Line starting ' <body> ...' is
>> malformed!
>> 7: In read.dcf(file = tmpf) ... :
>>   Line starting '<h1>Index of /~bxc/M ...' is malformed!
>> 8: In read.dcf(file = tmpf) ... :
>>   Line starting '<pre> "/icon ...' is malformed!
> 9: In read.dcf(file = tmpf) ... : Line starting '<hr </pre> ...' is
> malformed!
>> 10: In read.dcf(file = tmpf) ... :
>>   Line starting '<address>Apache/2.0. ...' is malformed!
>> 11: In read.dcf(file = tmpf) ... : Line starting '</body></html> ...'
>> is malformed!
>>
>
> Download MethComp_0.1.19.zip  from the web site
> (assuming you are using Windows) and use the "Install
> local packages" option under the File (?) menu
> --
> View this message in context: http://www.nabble.com/Help-required-to-install-package-from-a-website-tp21000979p21001109.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list