[R] Can't resolve dependency problems with package "sem"

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Thu May 5 01:41:43 CEST 2016


Did you follow the instructions for setting up apt to pull recent versions of R, as described in CRAN? I suspect not, since your version is old. 
-- 
Sent from my phone. Please excuse my brevity.

On May 4, 2016 11:51:27 AM PDT, "C&A Säger" <saegerei at t-online.de> wrote:
>Hello,
>
>First time user on Ubuntu 14.4 with Ubuntus R Commander and
>
>> $ R --version
>> R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
>> Copyright (C) 2013 The R Foundation for Statistical Computing
>> Platform: x86_64-pc-linux-gnu (64-bit)
>
>The program icon of the commander executes
>
>> sh -c 'R_DEFAULT_PACKAGES="$R_DEFAULT_PACKAGES Rcmdr" R "$@"'
>
>On first run it started downloading, compiling and installing various
>packages. One of them fails:
>
>> 
>>> install.packages("sem",dependencies=TRUE)
>> Installing package into
>‘/home/andreas/R/x86_64-pc-linux-gnu-library/3.0’
>> (as ‘lib’ is unspecified)
>> Warnung: dependencies ‘MBESS’, ‘arm’, ‘plyr’ are not available
>> also installing the dependencies ‘scales’, ‘mi’, ‘DiagrammeR’
>> 
>> versuche URL
>'http://ftp5.gwdg.de/pub/misc/cran/src/contrib/scales_0.4.0.tar.gz'
>> Content type 'application/x-gzip' length 57358 bytes (56 Kb)
>> URL geöffnet
>> ==================================================
>> downloaded 56 Kb
>> 
>> versuche URL
>'http://ftp5.gwdg.de/pub/misc/cran/src/contrib/mi_1.0.tar.gz'
>> Content type 'application/x-gzip' length 793313 bytes (774 Kb)
>> URL geöffnet
>> ==================================================
>> downloaded 774 Kb
>> 
>> versuche URL
>'http://ftp5.gwdg.de/pub/misc/cran/src/contrib/DiagrammeR_0.8.2.tar.gz'
>> Content type 'application/x-gzip' length 3532835 bytes (3.4 Mb)
>> URL geöffnet
>> ==================================================
>> downloaded 3.4 Mb
>> 
>> versuche URL
>'http://ftp5.gwdg.de/pub/misc/cran/src/contrib/sem_3.1-7.tar.gz'
>> Content type 'application/x-gzip' length 154654 bytes (151 Kb)
>> URL geöffnet
>> ==================================================
>> downloaded 151 Kb
>> 
>> ERROR: dependency ‘plyr’ is not available for package ‘scales’
>> * removing ‘/home/andreas/R/x86_64-pc-linux-gnu-library/3.0/scales’
>> ERROR: dependency ‘arm’ is not available for package ‘mi’
>> * removing ‘/home/andreas/R/x86_64-pc-linux-gnu-library/3.0/mi’
>> ERROR: dependency ‘scales’ is not available for package ‘DiagrammeR’
>> * removing
>‘/home/andreas/R/x86_64-pc-linux-gnu-library/3.0/DiagrammeR’
>> ERROR: dependency ‘mi’ is not available for package ‘sem’
>> * removing ‘/home/andreas/R/x86_64-pc-linux-gnu-library/3.0/sem’
>> 
>> Die heruntergeladenen Quellpakete sind in
>> ‘/tmp/RtmplEqHDo/downloaded_packages’
>> Warnmeldungen:
>> 1: In install.packages("sem", dependencies = TRUE) :
>> Installation des Pakets ‘scales’ hatte Exit-Status ungleich 0
>> 2: In install.packages("sem", dependencies = TRUE) :
>> Installation des Pakets ‘mi’ hatte Exit-Status ungleich 0
>> 3: In install.packages("sem", dependencies = TRUE) :
>> Installation des Pakets ‘DiagrammeR’ hatte Exit-Status ungleich 0
>> 4: In install.packages("sem", dependencies = TRUE) :
>> Installation des Pakets ‘sem’ hatte Exit-Status ungleich 0
>
>How can I resolve the dependencies?
>Should I replace the Ubuntu version with something fresh?
>
>Thanks in advance,
>Andreas
>______________________________________________
>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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list