I am sourcing a file with some connectivity details, however, I would like to see the contents inside to ensure the correct credentials are used, below is my code:
Source Code: source(paste("mypath/credentials.r",sep=""))
I tried using dput(source(paste("mypath/credentials.r",sep="")))
but it doesn't really gives the content inside credentials.r
The output after dput is :structure(list(value = <S4 object of class structure("PostgreSQLConnection", package = "RPostgreSQL")>,
visible = FALSE), .Names = c("value", "visible"))
Can somebody please help?