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 wrote:
> i open a table
> table<-read.table(file.choose(),skip=
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 Nabble
2 matches
Mail list logo