2

I want to be able to read and write files, etc. How can I do this?

Gregory Higley
  • 15,923
  • 9
  • 67
  • 96

1 Answers1

5

Check out Chapter 28: Data Files of Learning J.

I found several other learning resources on J Software's Getting Started page.

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
  • 2
    They say to do this in the link Bill provided, but it's important to remember that a filename needs to be boxed before you can use it to import data in J. The first few times I tried file I/O, I had to re-discover that fact after an extended period of fussing. – estanford Jun 26 '10 at 10:57
  • 1
    Using the `files` library is usually the best workaround to avoid having to remember such nasty little requirements. – MPelletier Jul 20 '10 at 19:20