Problems installing mice package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems installing mice package

Jérémie Juste


Hello,

I tried intalling mice package and got the following error:

* installing *source* package ‘mice’ ...
** package ‘mice’ successfully unpacked and MD5 sums checked
** libs
g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2  -c RcppExports.cpp -o RcppExports.o
g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2  -c match.cpp -o match.o
g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to R! Goodbye!
g++: error: Welcome: No such file or directory
g++: error: to: No such file or directory
g++: error: R!: No such file or directory
g++: error: Goodbye!: No such file or directory
/usr/local/lib/R/share/make/shlib.mk:6: recipe for target 'mice.so' failed
make: *** [mice.so] Error 1
ERROR: compilation failed for package ‘mice’
* removing ‘/home/djj/R/x86_64-pc-linux-gnu-library/3.4/mice’

The downloaded source packages are in
        ‘/tmp/Rtmpgam70t/downloaded_packages’
Error in library(mice) : there is no package called ‘mice’
In addition: Warning message:
In install.packages(deparse(substitute(mice)), repos = "http://cran.us.r-project.org") :
  installation of package ‘mice’ had non-zero exit status

I'm unable to resolve it. Any help please?

Best regards,

Jeremie

______________________________________________
[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: Problems installing mice package

Jérémie Juste
Hello,

The installation of the developpment version seems to go through
https://github.com/stefvanbuuren/mice,

Best regards,

Jeremie

On Wed, Nov 15, 2017 at 10:08 AM, Jeremie Juste <[hidden email]>
wrote:

>
>
> Hello,
>
> I tried intalling mice package and got the following error:
>
> * installing *source* package ‘mice’ ...
> ** package ‘mice’ successfully unpacked and MD5 sums checked
> ** libs
> g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-
> linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2
> -c RcppExports.cpp -o RcppExports.o
> g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-
> linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2
> -c match.cpp -o match.o
> g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to
> R! Goodbye!
> g++: error: Welcome: No such file or directory
> g++: error: to: No such file or directory
> g++: error: R!: No such file or directory
> g++: error: Goodbye!: No such file or directory
> /usr/local/lib/R/share/make/shlib.mk:6: recipe for target 'mice.so' failed
> make: *** [mice.so] Error 1
> ERROR: compilation failed for package ‘mice’
> * removing ‘/home/djj/R/x86_64-pc-linux-gnu-library/3.4/mice’
>
> The downloaded source packages are in
>         ‘/tmp/Rtmpgam70t/downloaded_packages’
> Error in library(mice) : there is no package called ‘mice’
> In addition: Warning message:
> In install.packages(deparse(substitute(mice)), repos = "
> http://cran.us.r-project.org") :
>   installation of package ‘mice’ had non-zero exit status
>
> I'm unable to resolve it. Any help please?
>
> Best regards,
>
> Jeremie
>



--
Jérémie Juste

        [[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: Problems installing mice package

David Winsemius
In reply to this post by Jérémie Juste

> On Nov 15, 2017, at 1:08 AM, Jeremie Juste <[hidden email]> wrote:
>
>
>
> Hello,
>
> I tried intalling mice package and got the following error:
>
> * installing *source* package ‘mice’ ...
> ** package ‘mice’ successfully unpacked and MD5 sums checked
> ** libs
> g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2  -c RcppExports.cpp -o RcppExports.o
> g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2  -c match.cpp -o match.o
> g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to R! Goodbye!

Somehow you have sent an R "welcome message" to the installer script. What was the action that started all this? Were you in an R session or was this something done from a bash console?

> g++: error: Welcome: No such file or directory
> g++: error: to: No such file or directory
> g++: error: R!: No such file or directory
> g++: error: Goodbye!: No such file or directory
> /usr/local/lib/R/share/make/shlib.mk:6: recipe for target 'mice.so' failed
> make: *** [mice.so] Error 1
> ERROR: compilation failed for package ‘mice’
> * removing ‘/home/djj/R/x86_64-pc-linux-gnu-library/3.4/mice’
>
> The downloaded source packages are in
> ‘/tmp/Rtmpgam70t/downloaded_packages’
> Error in library(mice) : there is no package called ‘mice’
> In addition: Warning message:
> In  :

That's a rather strange method for invoking install.packages. Usually it would be just:

install.packages("mice", repos = "http://cran.us.r-project.org")



Your best venue for linux installation questions is probably:

https://stat.ethz.ch/mailman/listinfo/r-sig-db


>  installation of package ‘mice’ had non-zero exit status
>
> I'm unable to resolve it. Any help please?
>
> Best regards,
>
> Jeremie
>
> ______________________________________________
> [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.

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law

______________________________________________
[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: Problems installing mice package

Jérémie Juste
Hello,

Many thanks for your time

My mistake was to put <cat("Welcome to R!\n")> in the .Rprofile.
I've never got any problem with the package installation before though.

Best regards,

Jeremie


On Wed, Nov 15, 2017 at 6:49 PM, David Winsemius <[hidden email]>
wrote:

>
> > On Nov 15, 2017, at 1:08 AM, Jeremie Juste <[hidden email]>
> wrote:
> >
> >
> >
> > Hello,
> >
> > I tried intalling mice package and got the following error:
> >
> > * installing *source* package ‘mice’ ...
> > ** package ‘mice’ successfully unpacked and MD5 sums checked
> > ** libs
> > g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-
> linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2
> -c RcppExports.cpp -o RcppExports.o
> > g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-
> linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2
> -c match.cpp -o match.o
> > g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to
> R! Goodbye!
>
> Somehow you have sent an R "welcome message" to the installer script. What
> was the action that started all this? Were you in an R session or was this
> something done from a bash console?
>
> > g++: error: Welcome: No such file or directory
> > g++: error: to: No such file or directory
> > g++: error: R!: No such file or directory
> > g++: error: Goodbye!: No such file or directory
> > /usr/local/lib/R/share/make/shlib.mk:6: recipe for target 'mice.so'
> failed
> > make: *** [mice.so] Error 1
> > ERROR: compilation failed for package ‘mice’
> > * removing ‘/home/djj/R/x86_64-pc-linux-gnu-library/3.4/mice’
> >
> > The downloaded source packages are in
> >       ‘/tmp/Rtmpgam70t/downloaded_packages’
> > Error in library(mice) : there is no package called ‘mice’
> > In addition: Warning message:
> > In  :
>
> That's a rather strange method for invoking install.packages. Usually it
> would be just:
>
> install.packages("mice", repos = "http://cran.us.r-project.org")
>
>
>
> Your best venue for linux installation questions is probably:
>
> https://stat.ethz.ch/mailman/listinfo/r-sig-db
>
>
> >  installation of package ‘mice’ had non-zero exit status
> >
> > I'm unable to resolve it. Any help please?
> >
> > Best regards,
> >
> > Jeremie
> >
> > ______________________________________________
> > [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.
>
> David Winsemius
> Alameda, CA, USA
>
> 'Any technology distinguishable from magic is insufficiently advanced.'
>  -Gehm's Corollary to Clarke's Third Law
>
>
>
>
>
>


--
Jérémie Juste

        [[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.