could not find function "cld", multcomp fail to install

Hi,
I try to us cld() function, so I installed multcomp package first, however, it ran into the following issues when installing multcomp.

> install.packages("multcomp")
Error in install.packages : Updating loaded packages
Warning messages:
1: In get(results[[i]], packages[[i]]) :
  internal error -3 in R_decompress1
2: In get(results[[i]], packages[[i]]) :
  internal error -3 in R_decompress1
3: In get(results[[i]], packages[[i]]) :
  internal error -3 in R_decompress1
> install.packages("multcomp")
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/multcomp_1.4-14.tgz'
Content type 'application/x-gzip' length 730998 bytes (713 KB)
==================================================
downloaded 713 KB


The downloaded binary packages are in
	/var/folders/70/843l4_112d338tx87s635s6w0000gs/T//RtmpJHykSO/downloaded_packages
> library(multcomp)
Error in value[[3L]](cond) : 
  Package ‘multcomp’ version 1.4.13 cannot be unloaded:
 Error in unloadNamespace(package) : namespace ‘multcomp’ is imported by ‘coin’ so cannot be unloaded

Can anyone help explain what does the error message means? how do I troubleshooting it?

Thanks,
Limin

It seems you have a previous version loaded, try restarting your R session Ctrl+Shift+F10 and loading the package again.

Thank you so much.

I reinstalled r and Rstudio.
It works now.

Best,

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.