Skip to main content
  • 7264 Accesses

Abstract

In this chapter, we focus on file processing, i.e., processing files for given purposes, which can be considered as data processing. Specifically, we write and analyze programs to investigate and modify files. As opposed to many other problems in computer science, file processing is usually very dependent on the syntax of the programming language.

Nevertheless, some common strategies need to be developed to investigate, process, and modify files. Some languages, such as R, provide many higher-level functions that can easily be used to perform complex input/output operations, whereas others may need more programmer efforts. In this chapter, we attack some basic problems, whose solutions can easily be performed using different programming languages. In general, we consider files that contain numbers or some texts that are investigated, processed, and modified. We also consider programs with multiple input and output files, whose contents need to be processed quickly for efficient programming.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag London

About this chapter

Cite this chapter

Ergül, Ö. (2013). File Processing. In: Guide to Programming and Algorithms Using R. Springer, London. https://doi.org/10.1007/978-1-4471-5328-3_8

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-5328-3_8

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-4471-5327-6

  • Online ISBN: 978-1-4471-5328-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics