[R] About choosing file

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Sep 15 15:20:48 CEST 2010



On 26.08.2010 09:50, Stephen Liu wrote:
> Hi folks,
>
>
> Following command only works on Windows
>> Test01=read.table(file.choose(), header=TRUE)
>
> It popup open a dialog box for choosing file.
>
>
> But it doesn't work on Linux (Ubuntu);
>> Test01=read.table(file.choose(), header=TRUE)
> Enter file name:
>
>
> Entering file name doesn't work.  Please advise.  TIA


(assuming R-2.11.1)

Why not? What happens? What is the error message? Which file did you 
specify and does
list.files()
lists the file? Please show the output.

Best,
Uwe Ligges

>
> B.R.
> Stephen L
>
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



More information about the R-help mailing list