/ess-r-spreadsheet

Emacs ESS extension to view R's object in your spreadsheet progam

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

https://travis-ci.org/five-dots/ess-r-spreadsheet.svg?branch=master

ess-r-spreadsheet

Simple extension for Emacs ESS to view R’s data in a spreadsheet program. This small elisp is largely insipired by ess-view, but rewrited for my purpose. Currently data.frame (inc. tibble), matrix and vector are supported.

Usage

  • Open R source file.
  • Start iESS process.
  • M-x ess-r-spreadsheet on an object symbol.

https://user-images.githubusercontent.com/51394432/66276927-74b05480-e8d2-11e9-9cbd-a03d4ba76edd.gif

Installation

ess-r-spreadsheet is not available through MELPA at this time. First you have to clone the repo.

git clone https://github.com/five-dots/ess-r-spreadsheet.git

Then, add to your load-path and require:

(add-to-list 'load-path "/path/to/repo")
(require 'ess-r-spreadsheet)

Or if you like use-package:

(use-package ess-r-spreadsheet
  :load-path "/path/to/repo"
  :commands ess-r-spreadsheet)

Configuration

  • Default configuration
;; Search executables in the list and use found first.
(setq ess-r-spreadsheet-programs '("libreoffice" "gnumeric" "openoffice" "soffice"))

(setq ess-r-spreadsheet-temp-dir "/tmp/ess-r-spreadsheet/")

TODOs

  • [x] Unit testing and CI facility
  • [ ] Write command options
  • [ ] Expand test coverage
  • [ ] Windows support
  • [ ] Prompt for selecting data inside a list object