tags:

views:

68

answers:

1

When trying to read a csv file in StatET/Eclipse (OS X 10.6, Eclipse 3.6) using the following command:

 read.csv(file.choose(),header=T)

I get the response:

Error in file.choose() : file choice cancelled

The command works as expected in 'R' itself and reading a named csv file works in StatET. What am I doing wrong?

Thanks in advance.

A: 

Everything seems ok for me. My platform is StatET/Eclipse(win7-x64, Eclipse 3.6).

Only when I click 'cancel' in the select file dialog, it will give that error message.

Gary Lee