[R] how to get file name/file path

2012-02-28 Thread sagarnikam123
i open a table table-read.table(file.choose(),skip=1) at sometime i forget which file i open,so i want file name/file path -- View this message in context: http://r.789695.n4.nabble.com/how-to-get-file-name-file-path-tp4428126p4428126.html Sent from the R help mailing list archive at

Re: [R] how to get file name/file path

2012-02-28 Thread R. Michael Weylandt
Use this line instead: table - read.table(fileIchoose - file.choose(), skip = 1) This will have the side effect of creating fileIchoose as a variable containing a file path. Michael On Tue, Feb 28, 2012 at 8:34 AM, sagarnikam123 sagarnikam...@gmail.com wrote: i open a table