[R-wiki] sourcing code from wiki

Philippe Grosjean phgrosjean at sciviews.org
Wed Jul 26 16:36:15 CEST 2006


Hello,

There is a series of functions to manipulate, search, edit R Wiki pages 
from within R that will be provided by the future 'rwiki' r package in 
development. Here is the function that does what you want in attachment.
Best,

Philippe Grosjean

Gabor Grothendieck wrote:
> This was just posted to r-help:
> 
>    https://www.stat.math.ethz.ch/pipermail/r-help/2006-July/109931.html
> 
> Now suppose we wanted to run the code on the wiki page referenced
> in that post.  Currently I copy and paste the code from that wiki page into an R
> session (or else into a file, save it and source it).  It would be
> convenient if it were possible to source the code for each of the code snippets
> on the referenced wiki page directly:
> 
>    source("http://...whatever...")
> 
> Is this already possible?
> If so, how does one discover the url?
> 
> If not,it would be nice to have some feature to facilitate grabbing code
> from the wiki.
> 
> _______________________________________________
> R-sig-wiki mailing list
> R-sig-wiki at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-wiki
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getWikiRcode.R
Url: https://stat.ethz.ch/pipermail/r-sig-wiki/attachments/20060726/08fc0948/attachment.pl 


More information about the R-sig-wiki mailing list