This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Unable to install mclust package in rstudio

I am having an issue when installing the "mclust" package on rstudio. I appreciate any and all help with resolving the issue.

Here is the warning message:`I am having an issue when installing the "mclust" package on rstudio.

Here is the warning message:

'>install.packages("mclust") trying URL 'https://cran.rstudio.com/src/contrib/mclust_5.4.tar.gz' Content type 'application/x-gzip' length 2535477 bytes (2.4 MB)

downloaded 2.4 MB

  • installing source package ‘mclust’ ... * package ‘mclust’ successfully unpacked and MD5 sums checked * libs

/home/usr/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc - I/home/usr/anaconda3/lib/R/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -I/home/usr/anaconda3/include -fpic -march=nocona -mtune=haswell - ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe - I/home/usr/anaconda3/include -c init.c -o init.o

make: /home/usr/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc: Command not found

/home/usr/anaconda3/lib/R/etc/Makeconf:160: recipe for target 'init.o' failed

make: * [init.o] Error 127

ERROR: compilation failed for package ‘mclust’ * removing ‘/home/usr/anaconda3/lib/R/library/mclust’

Warning in install.packages : installation of package ‘mclust’ had non-zero exit status

The downloaded source packages are in ‘/tmp/RtmpGCCIZS/downloaded_packages’

Updating HTML index of packages in '.Library'

Making 'packages.html' ... done

In addition, I also tried to access the directory /home.usr/anaconda3/x86_64-conda_cos6-linux-gnu-cc , which apparently doesn't exist.`

r linux

Hello apulunuj!

We believe that this post does not fit the main topic of this site.

This is strictly pure R, nothing to do with bioinformatics as such. Please look into R forums.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

Noted thank you. I will take it down.

0 answers

No answers yet.

Log in to answer this question.