I am trying to install the "gam" package into KNIME.
Currently I am attempting this in an R Learner node using the code:
Which is giving me the error:
Error in zip.unpack(pkg, tmpDir) : zipfile 'gam' not found
Calls: install.packages -> .install.winbinary -> unpackPkgZip -> zip.unpack
Why can't it find the package? I am guessing my code is fine and I thought that KNIME linked directly with R so would have everything? I did run an update to be sure, but I get the same error message.
Do I have to download it somehow first and then run the install.packages line?
Any help is much appreciated.