[R] problem with installing rms package

477 views
Skip to first unread message

ramakanth reddy

unread,
May 25, 2012, 9:51:18 AM5/25/12
to r-h...@r-project.org
Hi

I am trying to install "rms" package but while installing it shows
following error
package 'survival' 2.36-2 is loaded, but >= 2.36.3 is required by 'rms'
what to do?

i am using linux OS

I have tried by updated r-base-core but it didnt work

regards
GRR

[[alternative HTML version deleted]]

______________________________________________
R-h...@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.

Marc Schwartz

unread,
May 25, 2012, 10:09:45 AM5/25/12
to ramakanth reddy, r-h...@r-project.org

On May 25, 2012, at 8:51 AM, ramakanth reddy wrote:

> Hi
>
> I am trying to install "rms" package but while installing it shows
> following error
> package 'survival' 2.36-2 is loaded, but >= 2.36.3 is required by 'rms'
> what to do?
>
> i am using linux OS
>
> I have tried by updated r-base-core but it didnt work
>
> regards
> GRR


The latest version of survival on CRAN is 2.36-14.

When you install rms, be sure to use:

install.packages("rms", dependencies = TRUE)

to be sure that package dependencies are satisfied during the installation.

Regards,

Marc Schwartz

Marc Schwartz

unread,
May 25, 2012, 11:11:44 AM5/25/12
to ramakanth reddy, R help
Hi,

First, please be sure to "reply-all" when following up so that the thread stays on the public list.

The messages suggest that you might not have 'root' access when installing the packages, so the installation of the packages to the default location fails.

You need to 'su' to root via the command line before running R and then installing the packages.

If your account does not have su permissions, you can either get a SysAdmin who does or specify a path for the 'lib' argument in install.packages() so that the packages are installed to a local folder where you have permissions. See ?install.packages for more information.

Marc

On May 25, 2012, at 9:54 AM, ramakanth reddy wrote:

> Hi
>
> i tried as u said but still library could not be loaded. it shows 18 warnings
>
> Warning messages:
> 1: In install.packages("rms", dependencies = TRUE) :
> installation of package 'RODBC' had non-zero exit status
> 2: In install.packages("rms", dependencies = TRUE) :
> installation of package 'diptest' had non-zero exit status
> 3: In install.packages("rms", dependencies = TRUE) :
> installation of package 'rgl' had non-zero exit status
> 4: In install.packages("rms", dependencies = TRUE) :
> installation of package 'lme4' had non-zero exit status
> 5: In install.packages("rms", dependencies = TRUE) :
> installation of package 'rms' had non-zero exit status
> 6: In install.packages("rms", dependencies = TRUE) :
> installation of package 'caTools' had non-zero exit status
> 7: In install.packages("rms", dependencies = TRUE) :
> installation of package 'testthat' had non-zero exit status
> 8: In install.packages("rms", dependencies = TRUE) :
> installation of package 'mlmRev' had non-zero exit status
> 9: In install.packages("rms", dependencies = TRUE) :
> installation of package 'MEMSS' had non-zero exit status
> 10: In install.packages("rms", dependencies = TRUE) :
> installation of package 'BayesX' had non-zero exit status
> 11: In install.packages("rms", dependencies = TRUE) :
> installation of package 'coxme' had non-zero exit status
> 12: In install.packages("rms", dependencies = TRUE) :
> installation of package 'gplots' had non-zero exit status
> 13: In install.packages("rms", dependencies = TRUE) :
> installation of package 'scales' had non-zero exit status
> 14: In install.packages("rms", dependencies = TRUE) :
> installation of package 'systemfit' had non-zero exit status
> 15: In install.packages("rms", dependencies = TRUE) :
> installation of package 'ROCR' had non-zero exit status
> 16: In install.packages("rms", dependencies = TRUE) :
> installation of package 'sampleSelection' had non-zero exit status
> 17: In install.packages("rms", dependencies = TRUE) :
> installation of package 'AER' had non-zero exit status
> 18: In install.packages("rms", dependencies = TRUE) :
> installation of package 'dynlm' had non-zero exit status
>
>
> what can be done?
>
> Regards
> GRR
>
> On 25 May 2012 10:09, Marc Schwartz <marc_s...@me.com> wrote:
>
> On May 25, 2012, at 8:51 AM, ramakanth reddy wrote:
>
> > Hi
> >
> > I am trying to install "rms" package but while installing it shows
> > following error
> > package 'survival' 2.36-2 is loaded, but >= 2.36.3 is required by 'rms'
> > what to do?
> >
> > i am using linux OS
> >
> > I have tried by updated r-base-core but it didnt work
> >
> > regards
> > GRR
>
>
> The latest version of survival on CRAN is 2.36-14.
>
> When you install rms, be sure to use:
>
> install.packages("rms", dependencies = TRUE)
>
> to be sure that package dependencies are satisfied during the installation.
>
> Regards,
>
> Marc Schwartz
>
>
>
>
> --
> Herzlichen Gruß,
> Ramakanth Reddy Guntuka
> ---------------------------------------------------------------------------------------
> Life Sc. Informatics Programme
> Bonn-Aachen International Center for Information Technology
> University of Bonn, Germany
> Mob: +49-015141366412
>


[[alternative HTML version deleted]]

Reply all
Reply to author
Forward
0 new messages