I would like to upgrade one R package to the newer version which is already available. I tried
update.packages(c("R2jags"))
but it does nothing! No output on console, no error, nothing. I used the same syntax as for install.packages
but perhaps I'm doing something wrong. I have been looking at ?update.packages
but I was not been able to figure out how it works, where to specify the package(s) etc. There is no example. I also tried to update the package using install.packages
to "install" it again but that says "Warning: package ‘R2jags’ is in use and will not be installed".