[R] installing package from source with Linux
bt_jannis at yahoo.de
Fri Dec 17 19:40:04 CET 2010
It defenitely seems to be related to the zipping/tar program. "Untaring"
the file with gzip/tar and then installing the uncompressed folder with
R CMD INSTALL seems to work (it gives quite a bunch of warnings though....).
> Dear list,
> this may not be related to R but rather to my OS, but I do not
> understand the issue of compiling R packages deeply enough to figure
> out the exact cause of the problem.
> I am trying to install a R package from source as it is not yet
> available under Cran (Rssa, downloaded here:
> sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz
> from the console however gives me these error messages:
> Warnung in untar2(tarfile, files, list, exdir) :
> checksum error for entry 'pax_global_header'
> Fehler in untar2(tarfile, files, list, exdir) : unsupported entry type
> Does anybody have any hints on how to solve this? Do I have the wrong
> packing program installed?
> I am trying this with Ubuntu 9.10 and the following R system:
> > sessionInfo()
> R version 2.12.0 (2010-10-15)
> Platform: i486-pc-linux-gnu (32-bit)
>  LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=C
>  LC_TIME=de_DE.UTF-8 LC_COLLATE=de_DE.UTF-8
>  LC_MONETARY=C LC_MESSAGES=de_DE.UTF-8
>  LC_PAPER=de_DE.UTF-8 LC_NAME=C
>  LC_ADDRESS=C LC_TELEPHONE=C
>  LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> loaded via a namespace (and not attached):
>  tools_2.12.0
> Thanks for any hints! Trying the same with another package downloaded
> from Cran worked.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help