This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ess-R-object-popup.el | |
;; | |
;; I have defined a function, ess-R-object-popup, that when | |
;; invoked, will return a popup with some information about | |
;; the object at point. The information returned is | |
;; determined by which R function is called. This is controlled | |
;; by an alist, called ess-R-object-popup-alist. The default is | |
;; given below. The keys are the classes of R object that will | |
;; use the associated function. For example, when the function | |
;; is called while point is on a factor object, a table of that |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import urllib | |
import urllib2 | |
import json | |
import logging | |
class GeonamesError(Exception): | |
def __init__(self, status): |