When I try the following code, the file is downloaded, but I can't open it. This may be due to the fact that you can only get to this link if you sign in on the website (i.e. you need to be a member)?
download.file( url = "https://members.tsetmc.com/tsev2/excel/MarketWatchPlus.aspx", destfile = "file.xlsx")