Skip to content

Commit

Permalink
Updating & tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 22, 2009
1 parent 3eaae32 commit 4872edd
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 20 deletions.
5 changes: 4 additions & 1 deletion testing.md → complete/testing.md
Expand Up @@ -37,4 +37,7 @@ Questions

* how can tests be self documenting? `should "return its full name"`

* can we (by using codetools) only rerun tests that are affected by the changes we made?
* can we (by using codetools) only rerun tests that are affected by the changes we made?


See testthat
File renamed without changes.
21 changes: 3 additions & 18 deletions gui.md
@@ -1,28 +1,12 @@
High-level gui library for R
============================

Should be based on RGtk2, or other single library. Takes the best features of gWidgets and extends them in a way that isn't possible when you have to support multiple toolkits. (Another DSL)
Should be based on Qt. Takes the best features of gWidgets and extends them in a way that isn't possible when you have to support multiple toolkits. (Another DSL). Uses mutable objects to create DSL.

Ideas
-----

* use method chaining to make it easier to make multiple changes
slider$
set_value(30)$
set_height(20)

This moves away from R's usual object semantics, but immutable objects are not well suited for modelling things that are clearly mutable.


* structure of code (e.g. with indentation) should mimic structure of eventual gui
container$
add_child(x)$
add_child(new_group()$
add_child("Hi")$
add_button("Click me")
)
* use mvc ideas to connect gui elements to R objects
* should be easy to add handlers to different events
See mutatrGui for basics.

Higher-level interface should be centred around concept of typed variables:

Expand All @@ -33,3 +17,4 @@ Higher-level interface should be centred around concept of typed variables:
* multiselect: checkbox group, table, ...

Should separate between value (what computer uses) and label (what humans use).

4 changes: 3 additions & 1 deletion runtime-rcmd.md
Expand Up @@ -29,4 +29,6 @@ Pluggable components:
* load code
* compile C code

See menu() and select.list() for ui components.
See menu() and select.list() for ui components.

Use dependency description ideas from rake.
3 changes: 3 additions & 0 deletions search-keywords.md
Expand Up @@ -14,3 +14,6 @@ http://del.icio.us/url/d36da589362972cd6c657aeafb9970af
http://www.brandtags.net/browse.php?id=176

http://feeds.feedburner.com/~r/JuiceAnalytics/~3/507401848/


See related work in manyeyes and by juice analytics.
Empty file removed us-legislation.md
Empty file.

0 comments on commit 4872edd

Please sign in to comment.