mice package won't install

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

mice package won't install

David Krackhardt
When I try to install the "mice" package, it tells me I can't without a
current version of Rtools.  When I try to install Rtools, it tells me the
current version is actually Rtools40.  When I try to install Rtools40, it
tells me that Rtools40 is not available for R version 3.6.3, which is the
newest version of R (and the one I have).

All I want is the "mice" library.  What do I do?

-David
 --------------------

David Krackhardt, Professor of Organizations
Heinz College of Public Policy and Management, and
     The Tepper School of Business
2215 Hamburg Hall
Carnegie Mellon University
Pittsburgh, PA 15213
website: www.andrew.cmu.edu/~krack
     (Erdos#=2)

--------------------

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: mice package won't install

Ivan Krylov
On Thu, 23 Jul 2020 12:44:57 -0400
David Krackhardt <[hidden email]> wrote:

> When I try to install Rtools, it tells me the current version is
> actually Rtools40.  When I try to install Rtools40, it tells me that
> Rtools40 is not available for R version 3.6.3, which is the newest
> version of R (and the one I have).

For R 3.6.3, install the previous version of Rtools (see the
compatibility matrix at [*]).

The latest version of R as of now is R 4.0.2 [**], not 3.6.3.

I wonder why doesn't it install the binary package from [***] despite
it being available there.

--
Best regards,
Ivan

[*] https://cran.r-project.org/bin/windows/Rtools/history.html

[**] https://cran.r-project.org/bin/windows/base/R-4.0.2-win.exe

[***] https://cran.r-project.org/bin/windows/contrib/3.6/

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: mice package won't install

J C Nash
In reply to this post by David Krackhardt
Apologies in advance if this is a red herring, but I've had a number of issues
with installing latest (4.0.2) version of R and related packages. Maybe my
experience will be helpful to you.

Note that you don't give your OS etc., which also my mean my suggestions are
moot.

I run Linux, mostly Mint. Recently I upgraded to LM 20. And then upgraded
R from 3.5.x to 4.0.x. When updating packages, I found lots of errors where
a dependency was stated to be pre-version 4 and to reinstall. But even
after a re-install, I got the same message. This occurred on 3 machines in
slightly different manifestations, likely because the machines are different
ages and there may be more or less "old" material lurking in folders that
should have been removed a long time ago. My suspicion is that the wrong
libraries were being accessed.

My solution was to
- remove --purge r-base-dev r-recommended
- delete directories /usr/lib/R, /usr/local/lib/R and ~/R
- reinstall (noting that the software sources needed to point to debian focal and cran40).
- install packages I needed

This may be a bit drastic, but R and Linux make the task relatively undemanding. It also
gives a cleaned up R ecosystem, as the ongoing addition of bits and pieces makes for
quite a load of packages, some of which are almost certain to be unused but may cause
trouble.

Good luck,

John Nash

On 2020-07-23 12:44 p.m., David Krackhardt wrote:

> When I try to install the "mice" package, it tells me I can't without a
> current version of Rtools.  When I try to install Rtools, it tells me the
> current version is actually Rtools40.  When I try to install Rtools40, it
> tells me that Rtools40 is not available for R version 3.6.3, which is the
> newest version of R (and the one I have).
>
> All I want is the "mice" library.  What do I do?
>
> -David
>  --------------------
>
> David Krackhardt, Professor of Organizations
> Heinz College of Public Policy and Management, and
>      The Tepper School of Business
> 2215 Hamburg Hall
> Carnegie Mellon University
> Pittsburgh, PA 15213
> website: www.andrew.cmu.edu/~krack
>      (Erdos#=2)
>
> --------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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.
>

______________________________________________
[hidden email] 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.