~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to R/zzz.R

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
   if (length(grep("darwin", R.version$platform)))
34
34
     message("Please try running R inside an X11 terminal.")
35
35
 }
 
36
 
 
37
 .initClasses()
36
38
}
37
39
 
38
40
.install_system_dependencies <- function()
47
49
  
48
50
  darwin_config <- list(
49
51
    source = F,
50
 
    gtk_url = "http://r.research.att.com/gtk2-runtime.dmg", 
 
52
    gtk_url = "http://r.research.att.com/libs/GTK_2.18.5-X11.pkg", 
51
53
    installer = function(path) {
52
 
      system(paste("hdiutil attach ", path, sep=""))
53
 
      system("open '/Volumes/GTK+ 2.14.3 run-time/gtk2-runtime.pkg'")
54
 
      system("hdiutil detach '/Volumes/GTK+ 2.14.3 run-time'")
 
54
      system(paste("open", path))
55
55
    }
56
56
  )
57
57