I have a long-ish script to do some data analysis, and it has to connect to several databases. One of the databases tends to update my password more frequently than I like,
You answered your own question: you do in fact need <<- in these tcltk examples---see the various posts by Peter over the years, or other examples floating around, other CRAN packages using, or even in the package itself. Try