It is very unlikely that this is related to R or RStudio, since you are using a relative path, start by making sure your working directory is set where you think it is, run getwd() and see if it returns the folder where "timelinetest.csv" is stored.
Also, you could use an absolute path to reference the files to avoid any possible confusion.