Discussion:
[R] package installation failure virtualisation environment
rl
2014-10-14 15:00:55 UTC
Permalink
Subscribers,

A version of R is installed in a virtual machine, which has complete
internet access via the host.

The following error occurs when a package is selected:

install.packages([packagename], dependencies=TRUE)
--- Please select a CRAN mirror for use in this session ---
Killed

The error also occurs with:

install.packages()

The process is killed as shown previously (but not the R session), after
selection of a package in the Tcl/tk dialogue window.

The error occurs both as root and normal user.

Any suggestions please to solve?

R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 3
minor 1.1
year 2014
month 07
day 10
svn rev 66115
language R
version.string R version 3.1.1 (2014-07-10)
nickname Sock it to Me
Sven E. Templer
2014-10-14 15:40:57 UTC
Permalink
Prevent graphic menues with:
options(menu.graphics = FALSE)
or and define repositories:
options(repos = c(CRAN = "http://cran.r-project.org"))
Post by rl
Subscribers,
A version of R is installed in a virtual machine, which has complete
internet access via the host.
install.packages([packagename], dependencies=TRUE)
--- Please select a CRAN mirror for use in this session ---
Killed
install.packages()
The process is killed as shown previously (but not the R session), after
selection of a package in the Tcl/tk dialogue window.
The error occurs both as root and normal user.
Any suggestions please to solve?
R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 3
minor 1.1
year 2014
month 07
day 10
svn rev 66115
language R
version.string R version 3.1.1 (2014-07-10)
nickname Sock it to Me
______________________________________________
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.
rl
2014-10-15 08:51:48 UTC
Permalink
Post by Sven E. Templer
options(menu.graphics = FALSE)
Same response after a pause: 'Killed'
Post by Sven E. Templer
options(repos = c(CRAN = "http://cran.r-project.org"))
Same response after a pause: 'Killed'
Sven E. Templer
2014-10-15 09:13:01 UTC
Permalink
did you check the connection in R via for example:

head(readLines("http://cran.r-project.org/web/licenses/GPL-3"))

which should yield:

[1] " GNU GENERAL PUBLIC LICENSE"
[2] " Version 3, 29 June 2007"
[3] ""
[4] " Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>"
[5] " Everyone is permitted to copy and distribute verbatim copies"
[6] " of this license document, but changing it is not allowed."
Post by rl
Post by Sven E. Templer
options(menu.graphics = FALSE)
Same response after a pause: 'Killed'
Post by Sven E. Templer
options(repos = c(CRAN = "http://cran.r-project.org"))
Same response after a pause: 'Killed'
rl
2014-10-16 09:00:26 UTC
Permalink
Post by Sven E. Templer
head(readLines("http://cran.r-project.org/web/licenses/GPL-3"))
[1] " GNU GENERAL PUBLIC LICENSE"
[2] " Version 3, 29 June 2007"
[3] ""
[4] " Copyright (C) 2007 Free Software Foundation, Inc.
<http://fsf.org/>"
[5] " Everyone is permitted to copy and distribute verbatim copies"
[6] " of this license document, but changing it is not allowed."
Yes, this result is seen.
William Dunlap
2014-10-15 15:36:36 UTC
Permalink
Have you looked at recent entries in the system log files in /var/log,
especially /var/log/kern.log?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
Post by rl
Post by Sven E. Templer
options(menu.graphics = FALSE)
Same response after a pause: 'Killed'
Post by Sven E. Templer
options(repos = c(CRAN = "http://cran.r-project.org"))
Same response after a pause: 'Killed'
______________________________________________
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.
rl
2014-10-16 09:03:49 UTC
Permalink
Post by William Dunlap
Have you looked at recent entries in the system log files in /var/log,
especially /var/log/kern.log?
No such log file exist and other files in the directory do not make
reference to R and any general errors (e.g. internet access).
William Dunlap
2014-10-16 15:52:16 UTC
Permalink
The log files may not have the name of the process ("R"), but only its
process number. A good way to look at the log files in /var/log is to
cause your 'Kill' problem then use 'ls -lstA' or 'ls -lstrA' in
/var/log to see which ones changed recently.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
Post by rl
Post by William Dunlap
Have you looked at recent entries in the system log files in /var/log,
especially /var/log/kern.log?
No such log file exist and other files in the directory do not make
reference to R and any general errors (e.g. internet access).
Continue reading on narkive:
Loading...