[BlindRUG] file.choose()

Godfrey, Jonathan A.J.Godfrey at massey.ac.nz
Fri Feb 20 20:35:17 UTC 2015


Hello,

The file.choose() function was not so useful when it was first introduced (a long time ago)  but there is merit in its use now.
I think it may still have problems under much older operating systems than windows 7 where I've just tested it.

The file.choose() only gives you the ability to search for a file as part of importing data. You still need a command to actually import the chosen file.

I tried

  MyData = read.csv(file.choose())

And then searched for a csv file I was interested in looking at. The choice of read.csv() is because I prefer to use csv files, but this can be changed to related commands.

I confirmed the data had been imported by using the str() command on the intended new object called MyData.
  str(MyData)


This method is obviously only useful in an interactive session.

Sorry, I cannot test this works on XP or Vista all that easily anymore. I've only got one PC with Vista at home, and it's a music box now with a very old version of R on it that is there for doing calculations not work. I no longer have access to XP machines because my university recalled and retired all of them.

Jonathan


From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of Veronica via BlindRUG
Sent: Saturday, 21 February 2015 12:01 a.m.
To: Blind R Users Group
Subject: [BlindRUG] file.choose()

Hello Jonathan and all,
I read that the command "file.choose" is very useful when we need to know a file's path and that it's possible to copy and paste it in the syntax.

When I type "file.choose(), it opens a open file dialog box, I can choose the file, but when I select and open it, Jaws doesn't read anything.

Why? Could you help me?

Thanks.

Veronica Mattana
Psicologa del Lavoro, Ph.D
Mobile: +39 3463525300
Skype: veronica_mattana
Mail: veronica.mattana at gmail.com<mailto:veronica.mattana at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nfbnet.org/pipermail/blindrug_nfbnet.org/attachments/20150220/70e63a4f/attachment.html>


More information about the BlindRUG mailing list