Other...

Generally, Google will help you to find whatever package you are looking for. This chapter is just a motivation to show what is possible with R.

Files

  • file - opens a connections to a file

  • url - opens connection to server

  • gzfile - opens connection to .gz archive

  • bzfile - opens connection to .bz2 archive

If you need more, ask R for help by running ?connections command.

Reading images

  • jpeg provides an easy and simple way to read, write and display bitmap images stored in the JPEG format.

  • readbitmap identifies and reads Windows BMP, JPEG and PNG format bitmap images.

  • png provides an easy and simple way to read, write and display bitmap images stored in the PNG format.

  • EBImage provides general purpose functionality for the reading, writing, processing and analysis of images. Furthermore, in the context of microscopy based cellular assays, EBImage offers tools to transform the images, segment cells and extract quantitative cellular descriptors.

Reading GIS data

  • rgdal provides bindings to Frank Warmerdam's Geospatial Data Abstraction Library (GDAL) and access to projection/transformation operations from the PROJ.4 library.

  • rgeos is interface to Geometry Engine - Open Source (GEOS) using the C API for topology operations on geometries.

  • raster provides reading, writing, manipulating, analyzing and modeling of gridded spatial data.

Reading music

  • tuneR provides collection of tools to analyze music, extract features like MFCCs, handling wave files, read mp3, transcription and so on. Also contains functions ported from the rastamat Matlab package.

  • seewave provides functions for analysing, manipulating, displaying, editing and synthesizing time waves and many other features.

Other databases

  • RODBC provides access to many databases

  • RPostgreSQL provides full access to PostresSQL

  • RMongo provides interface to MongoDb

Other data formats

Foregin package provides functions for reading and writing data stored by some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and for reading and writing some dBase files.

Last updated