[R] Dream of a wiki GUI for R

Philippe Grosjean phgrosjean at sciviews.org
Thu Oct 23 10:13:29 CEST 2008



Xiaoxu LI wrote:
> I should have read the following page on R_Extension_for_MediaWiki
> http://mars.wiwi.hu-berlin.de/mediawiki/sk/index.php/R_Extension_for_MediaWiki_v0.06#New_tags_and_attributes
> 
> Has anybody seen an <Rform>...</Rform> online example page in English?
> 
> I really wish wiki.r-project.org be equipped with parameter input
> interfaces and convenient R codes submit choices. Any donated Rweb,
> Rcgi or other R server can be the redirected server-side and the
> professional security burden can be avoided for wiki.r-project.org

Yes. Another option that was considered was to write a Sweave driver for 
the wiki pages. However, in any cases, there are serious security 
issues. Unless I am helped by an expert in this field, I don't feel 
confident enough to add that functionality in http://wiki.r-project.org.

One solution I could provide is a wiki R package with various utility 
functions. One of them would be a function to extract R code from given 
wiki pages in a text editor. Then, the user could run this code while 
keeping full control of the way the code is executed (locally, on his 
machine).

Best,

Philippe Grosjean
..............................................<°}))><........
  ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
  ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
  ) ) ) ) )   Mons-Hainaut University, Belgium
( ( ( ( (
..............................................................

> 
> LI Xiaoxu
> 
> School of Arts and Social Sciences,
> Shenzhen Graduate School,
> Peking Univ.(Shenzhen Campus)
> China
> 
> On Mon, Sep 29, 2008 at 7:12 PM, Philippe Grosjean
> <phgrosjean at sciviews.org> wrote:
>> Hello,
>>
>> Just to add to what Ajay said: the http://wiki.r-project.org does not
>> execute R code from within wiki pages. This is a choice for security
>> reasons. However, there are ways to get R code from R wiki pages and run it
>> in R: http://wiki.r-project.org/rwiki/doku.php?id=tips:misc:wikicode
>>
>> Also, there is a discussion about integrating Sweave in wiki pages:
>> http://wiki.r-project.org/rwiki/doku.php?id=developers:latex2wiki.
>>
>> If someone would like to start a "teaching stats with R" topic on the R wiki
>> and organize a section for this, he is more than welcome to make a proposal
>> (send it to me).
>>
>> Best,
>>
>> Philippe Grosjean
>>
>> ..............................................<°}))><........
>>  ) ) ) ) )
>> ( ( ( ( (    Prof. Philippe Grosjean
>>  ) ) ) ) )
>> ( ( ( ( (    Numerical Ecology of Aquatic Systems
>>  ) ) ) ) )   Mons-Hainaut University, Belgium
>> ( ( ( ( (
>> ..............................................................
>>
>> Ajay ohri wrote:
>>> Hi Tobias,
>>>
>>> It makes sense from a practical view point. SAS Institute funds its own
>>> wiki
>>> at www.sascommunity.org  The catch is they have editorial influence and
>>> can
>>> use offerings there for commercial purposes.
>>>
>>>
>>> The surprising thing is you can actually create a wiki in wikipedia
>>> itself.
>>> Just adopt a convention lets say Rproj for beginning of each wiki page.
>>>
>>> Note this would mean volunteers parsing the back and forth of messages
>>> into
>>> structure ( maybe it exists already)
>>>
>>> However  wikis are a bit outdated. The latest is knol.google.com as it
>>> gives
>>> you the right to make document editable, or allow comments, or even what
>>> kind of license you want content to be shared. The catch again is its
>>> owned
>>> by Google , the big company.
>>>
>>> Other options from Google include Google Docs as well as Google Sites.You
>>> can even create bulk Google Docs from a writely email that your
>>> docs.google.com account gives you, and just last week someone created a
>>> Google Docs plugin for sending R output directly to the Docs.
>>>
>>> As you may have noticed and I have pointed out once the R -project website
>>> itself is badly outdated compared to the software itself. The official R
>>> wiki  of course is here
>>> http://wiki.r-project.org/rwiki/doku.php
>>>
>>> So these are the options - noting that email groups are more easy to use
>>> and
>>>  addictive , though not the best for collobrative knowledge storage over a
>>> period of time.
>>>
>>> Regards,
>>>
>>> Ajay
>>>
>>> www.decisionstats.com
>>>
>>> On Sun, Sep 28, 2008 at 3:19 PM, Tobias Verbeke
>>> <tobias.verbeke at gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> I am just writing a draft to introduce confidence intervals of various
>>>>> "effect sizes" to my students. Surely, I'll recommend the package
>>>>> MBESS in R. Currently, it means I have to recommend R's interface at
>>>>> first. As a statistics teacher in a dept of psychology, I often have
>>>>> to reply why not to teach SPSS. Psychologists and their students hate
>>>>> to memorize codes, or even to call any function with a list of
>>>>> parameters. I know if I have an online R platform with a wiki
>>>>> html-form design, I can bypass the function calls and headache
>>>>> parameters to expose the power of R. Rcmdr and its plugins help some,
>>>>> but students like to remember just one menu structure in the SPSS
>>>>> textbook. A wiki interface means they can search and find a complete
>>>>> example in psychology, with self-explained parameter inputs and
>>>>> outputs.
>>>>>
>>>>> Do I actually dream a wikipedia with front forms and back R? Most R
>>>>> fans are wiki fans, but not vice verse. So, I think I should talk my
>>>>> dream here rather than at wikipedia. If you know it had been a
>>>>> practice rather than an idea, please tell me where to write my
>>>>> teaching interface.
>>>>>
>>>> Some have had similar dreams:
>>>>
>>>> http://ideas.repec.org/p/hum/wpaper/sfb649dp2008-030.html
>>>> http://www.r-project.org/user-2006/Slides/Klinke.pdf
>>>>
>>>>
>>>> http://www.r-project.org/user-2006/Abstracts/Klinke+Schmerbach+Troitschanskaia.pdf
>>>>
>>>> HTH,
>>>> Tobias
>>>>
>>>>
>>>> LI, Xiaoxu
>>>>> School of Arts and Social Sciences,
>>>>> Shenzhen Graduate School,
>>>>> Peking Univ.(Shenzhen Campus)
>>>>> China
>>>>>
>>>>> ______________________________________________
>>>>> R-help at r-project.org mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide
>>>>>
>>>>> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>
>>>>>
>>>>>
>>>> ______________________________________________
>>>> R-help at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>>
>>>> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>>
>>>
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list