0
votes

if i try to run

library('C50')

Error: package or namespace load failed for ‘C50’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘libcoin’ >

install.packages("C50", repos="http://R-Forge.R-project.org") Installing package into ‘C:/Users/balaj/OneDrive/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘C50’ These will not be installed

1
So you got a message that you needed the tools for compiling packages from source. Do you have those tools? If not, have you looked for them? If you have them, then you should provide details. - IRTFM
Also, you may need package libcoin first? - Roman Luštrik
I had the same issue and it worked - WAF

1 Answers

1
votes

As suggested in a comment, this did the trick for me:

install.packages('libcoin', dependencies = T)
install.packages('C50', dependencies = T)