Hi people.
I have an application who needs to read other file to connect to database.
The main file calls "dados.R" and i have to carry the code coming from other file called "db.R".
I'm using the following code:
source("db.R")
But appears the following error:
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'db.R': No such file or directory
The files are in the same directory and I checked the name correctly.