0
  1. I install the recipes library just fine using:

    install.packages("recipes", dependencies = c("Depends", "Suggests")) 
    
  2. This gives me the following error:

Error in library(recipes) : there is no package called ‘recipes’

I having a bigger issue, I am unable to load caret but it seems the reason I cannot is recipes, so I assume if I solve the recipes issue I will be able to load caret.

m0nhawk
  • 22,980
  • 9
  • 45
  • 73
Andreas
  • 1
  • 1
  • 1

2 Answers2

0

This issue is impossible to replicate. You need to answer the following questions:

  • What is the error message?
  • What R version are you running?
  • What is your system?

I tried to install with exactly the same command. Got an error of some missing dependencies, and after running this install.packages(c("caret", "recipes", "klaR", "ipred")) I could finally load "recipes".

Aleh
  • 776
  • 7
  • 11
  • thanks for the prompt response Aleh, I have tried your install.packages command with the 4 packages but I still get the same error when I try to load the library(recipes). – Andreas Feb 18 '18 at 19:47
  • error message: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘recipes’ Error: package or namespace load failed for ‘caret’ – Andreas Feb 18 '18 at 19:48
  • R version I am running: 3.3.3 – Andreas Feb 18 '18 at 19:49
  • System: Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X Yosemite 10.10.5 – Andreas Feb 18 '18 at 19:49
0

os it seems I couldn't install recipes package because of gfortran-4.8 not been available in my system. I followed this and now I can finally load recipes and caret. thank you

Andreas
  • 1
  • 1
  • 1