"R code execution error" when importing text file!

Hi there, I just tried to import data from a text file into Rstudio (1.3.959). I click on Import Dataset> From text (base)>select the needed file (.txt)>open and then it always shows an error message and says: R code execution error, and in the Console part it says Error in file: cannot open the file "path" : no such file or directory. Can anyone help? Thanks in advance!