R-package RJDBC install

Hello

I wand to connect to the database with a R-Script. And therefore I use the node "R Source Table". If I wann install the package "RJDBC" I get with all mirrors the following error messages:

+ install.packages("RJDBC")
Warning: unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.0
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.0

How can I install packages from R in KNIME?

Thanks!

Hey,

According to this post you need...

...to specify the mirror to use (which is not specified in the internal R installation in KNIME):

s = getOption("repos") # hard code the UK repo for CRAN
s["CRAN"] = "http://cran.uk.r-project.org"
options(repos = s)
rm(s)

install.packages("portfolio")
library(portfolio)

Best,
Ferry