I have a code that makes use of passwords that I have in my .Rprofile and without the right user password, the code doesn't work.
Is there a way to pass a variable to reprex from the global environment or to make use of the current .Rprofile in the reprexed code ?
Unfortunatly, the way it is setup is that the Rprofile creates a new environment and all the username and passwords are within that new environment. This is an example of the way it's done in the .Rprofile
and I would like to make this new environment accessible to reprexed code
Your solution is a good one but it's not exactly what I want (I'm sorry if my question wasn't really clear)