Skip to content

Uploading into R

3 messages · carlb1, Duncan Murdoch

#
Hi 

I am just starting out in R and im trying to upload some data into it. I
have saved a small file from excel as a .txt file in the working directory i
am using in a folder of the same name as the .txt file. When i write the
function to open it I keep getting this message
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file 'working directory': Permission denied

I cant seem to get any help on the internet to what I am doing wrong and
what does this mean? 

any help appreciated 

C

--
View this message in context: http://r.789695.n4.nabble.com/Uploading-into-R-tp4354538p4354538.html
Sent from the R help mailing list archive at Nabble.com.
#
On 12-02-03 8:00 AM, carlb1 wrote:
If you are really using the working directory in your read.table call, 
that's wrong.  Use the file path.

The easiest way to specify a file in Windows is file.choose().

Duncan Murdoch