To check what your actual working directory is try getwd()
To look a list of files in your actual working directory try dir() If your working directory is not what you expected change it with setwd("path to directory") There are several ways in Windows to ensure that R starts in the required directory (eg double clicking on a file which starts in R in the working directory or setting up a short cut on your desktop which starts R in that directory, use projects in RStudio). I usually use the setwd() method or PStudio projects. John C Frain 3 Aranleigh Park Rathfarnham Dublin 14 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:fra...@tcd.ie mailto:fra...@gmail.com On 8 August 2015 at 21:19, Nikita Dinger <dingernik...@gmail.com> wrote: > Have saved text files in the same working directory as well as in the > desktop. > I am still unable to read url or files in R. > > Screenshot of the commands given by me in R are attached herewith. > > The version of R I am using is 3.2.1 on a Windows 8 laptop. > > Thanks for the help. > > Regards, > Nikita Dinger > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.