When I installed the package e1071 in R, it failed to install, and throws this error, which I can't solve after searching on the Internet.

** package ‘e1071’ successfully unpacked and MD5 sums checked
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.

Hi Li, welcome!
That message means that R is not being able to compile that package from source.
Could you tell us on which Operating System are you? And which version of R are you using?

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.