Thank Andy Liaw for his response to my enquiry. He suggested creating the
tar.gz source package at the parent directory of the fixed code using 
      R CMD build  GLMMGibbs
and then R CMD INSTALL GLMMGibbs to install the package. The package is now
installed and works fine.

Thanks Andy,

-- Richard 

My original question message:

> 
> Dear all;
> 
> Installing the GLMMGibbs package to my Solaris Unix box, I 
> got an compiling error:
> 
>               ars.c:497:10: missing terminating " character
>               ars.c: In function `dump_arse':
>               ars.c:498: error: parse error before "mylesj"
> 
>               .....
> 
> The compiling error was reported to the list on Jul 3, 2003. 
> According to Prof. Brain Ripley this is a known problem with 
> the package and gcc 3.3, and the maintainer has been informed ...
> 
> Because I was unable to reach the maintainer by email (my 
> email to [EMAIL PROTECTED] on Oct. 2, bounced), I saved 
> the GLMMGibbs package from the tmp directory, edited the 
> offensive lines in src/ars.c and saved the file. Following a 
> test compiling the edited ars.c without error, I re-tarred 
> and gzipped the saved GLMMGibbs package, stored the new 
> GLMMGibbs_0.5-1.tar.gz in a directory Rsources.
> 
> I expected to install the package from the saved directory 
> (similar to "install package(s) from local zip files..." on 
> W2K) and used the install.packages():
> 
> > install.packages("GLMMGibbs", 
> lib="/PATH/Rsources/R-1.7.1/library", destdir = "/PATH/Rsources")
> 
> Instead of using the local zip file from the Rsources 
> directory, R downloaded the GLMMGibbs_0.5-1.tar.gz from CRAN:
> 
>       trying URL 
> `http://cran.r-project.org/src/contrib/GLMMGibbs_0.5-1.tar.gz'
>       Content type `application/x-tar' length 346260 bytes
>       opened URL
>       .....
> 
>       and produced the same compiling error. 
> 
> The question becomes how to install packages from local zip 
> files on Solaris or Linux platforms? 
> 
> In the absence of the original maintainer, could someone in R 
> team edit the source file ars.c in compliance with gcc 3.3? 
> 
> TIA,
> 
> Richard 
> 
> 
> 
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to