[R] packrat: Failed to download current version of foreign(0.8-67)

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Feb 20 21:29:53 CET 2017


foreign is a recommended package that is already part of your R 
installation. and there shoudl not be a problem to install a recent 
version of it.

What is the error message of you run
install.packages("foreign") from a new R session?

Best,
Uwe Ligges



On 20.02.2017 17:33, G.Maubach at weinwolf.de wrote:
> Hi All,
>
> I tried to use packrat on
>
> R version 3.3.2 (2016-10-31)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 7 x64 (build 7601) Service Pack 1
>
> locale:
> [1] LC_COLLATE=German_Germany.1252
> [2] LC_CTYPE=German_Germany.1252
> [3] LC_MONETARY=German_Germany.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=German_Germany.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods
> [7] base
>
> other attached packages:
> [1] packrat_0.4.8-1
>
> loaded via a namespace (and not attached):
> [1] tools_3.3.2
>
> Due to internal firewall restrictions the package "foreign" could not be
> downloaded as source. I assume that the package also contains some binary
> parts which will be blocked by the firewall.
>
> When running packrat a directory "packrat" and a file called .Rprofile
> were created in the project directory. A lot of library sources were
> download, but not for "foreign".
>
> After finishing the process the directory "packrat" and the file .Rprofile
> were deleted from the project directory.
>
> Why is that? Just one source library missing and the whole directory is
> gone? Having all libraries for my project without just one is better than
> none!
>
> How can I use packrat with the missing library "foreign"?
>
> Kind regards
>
> Georg
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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