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
packrat: Failed to download current version of foreign(0.8-67)
5 messages · G.Maubach at weinwolf.de, Uwe Ligges
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.
Hi Mr. Ligges,
doing as you said R responds with
install.packages("foreign")
trying URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip'
Warning in install.packages :
cannot open URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip':
HTTP status was '403 Forbidden (Content blocked by Trustwave Secure Web
Gateway)'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip'
Warning in install.packages :
download of package ?foreign? failed
Running
install.packages("foreign", type = "source")
trying URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz'
Warning in install.packages :
cannot open URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz': HTTP
status was '403 Forbidden (Content blocked by Trustwave Secure Web
Gateway)'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz'
Warning in install.packages :
download of package ?foreign? failed
The firewall in my company blocks all binary files. Foreign is downloaded
in "wb" mode. Thus I have no chance to get it. The first fresh
installation was done from an external drive. As packrat is also
downloading the binaries instead of the source my download will always
fail.
My sessionInfo() is
sessionInfo()
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
loaded via a namespace (and not attached):
[1] tools_3.3.2
Do have a suggestion?
Kind regards
Georg
Von: Uwe Ligges <ligges at statistik.tu-dortmund.de>
An: G.Maubach at weinwolf.de, r-help at r-project.org,
Datum: 20.02.2017 21:29
Betreff: Re: [R] packrat: Failed to download current version of
foreign(0.8-67)
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.
Yes, then we cannot help and you have to ask your company how to get the files, of course. Best, Uwe Ligges
On 21.02.2017 08:16, G.Maubach at weinwolf.de wrote:
Hi Mr. Ligges,
doing as you said R responds with
install.packages("foreign")
trying URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip'
Warning in install.packages :
cannot open URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip':
HTTP status was '403 Forbidden (Content blocked by Trustwave Secure Web
Gateway)'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip'
Warning in install.packages :
download of package ?foreign? failed
Running
install.packages("foreign", type = "source")
trying URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz'
Warning in install.packages :
cannot open URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz': HTTP
status was '403 Forbidden (Content blocked by Trustwave Secure Web
Gateway)'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz'
Warning in install.packages :
download of package ?foreign? failed
The firewall in my company blocks all binary files. Foreign is downloaded
in "wb" mode. Thus I have no chance to get it. The first fresh
installation was done from an external drive. As packrat is also
downloading the binaries instead of the source my download will always
fail.
My sessionInfo() is
sessionInfo()
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
loaded via a namespace (and not attached):
[1] tools_3.3.2
Do have a suggestion?
Kind regards
Georg
Von: Uwe Ligges <ligges at statistik.tu-dortmund.de>
An: G.Maubach at weinwolf.de, r-help at r-project.org,
Datum: 20.02.2017 21:29
Betreff: Re: [R] packrat: Failed to download current version of
foreign(0.8-67)
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.
Packrat does a beautiful job, creating local project repositories of all used libraries. If only one library is missing the complete repository is not stored. Having all but one library in the repository is far better than having none. I suggest to change the behaviour of packrat to store all libraries it can get in the directory "packrat" and not delete it if one library is missing. This would help a lot. Is this possible? Kind regards Georg Von: Uwe Ligges <ligges at statistik.tu-dortmund.de> An: G.Maubach at weinwolf.de, Kopie: r-help at r-project.org Datum: 21.02.2017 09:50 Betreff: Re: Antwort: Re: [R] packrat: Failed to download current version of foreign(0.8-67) Yes, then we cannot help and you have to ask your company how to get the files, of course. Best, Uwe Ligges
On 21.02.2017 08:16, G.Maubach at weinwolf.de wrote:
Hi Mr. Ligges,
doing as you said R responds with
install.packages("foreign")
trying URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip'
Warning in install.packages : cannot open URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip':
HTTP status was '403 Forbidden (Content blocked by Trustwave Secure Web Gateway)' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL
'https://cran.uni-muenster.de/bin/windows/contrib/3.3/foreign_0.8-67.zip'
Warning in install.packages :
download of package ?foreign? failed
Running
install.packages("foreign", type = "source")
trying URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz'
Warning in install.packages :
cannot open URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz': HTTP
status was '403 Forbidden (Content blocked by Trustwave Secure Web
Gateway)'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL
'https://cran.uni-muenster.de/src/contrib/foreign_0.8-67.tar.gz'
Warning in install.packages :
download of package ?foreign? failed
The firewall in my company blocks all binary files. Foreign is
downloaded
in "wb" mode. Thus I have no chance to get it. The first fresh
installation was done from an external drive. As packrat is also
downloading the binaries instead of the source my download will always
fail.
My sessionInfo() is
sessionInfo()
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
loaded via a namespace (and not attached):
[1] tools_3.3.2
Do have a suggestion?
Kind regards
Georg
Von: Uwe Ligges <ligges at statistik.tu-dortmund.de>
An: G.Maubach at weinwolf.de, r-help at r-project.org,
Datum: 20.02.2017 21:29
Betreff: Re: [R] packrat: Failed to download current version of
foreign(0.8-67)
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.