[Distr-commits] r644 - branches/distr-2.3/pkg/distrEx/chm branches/distr-2.3/pkg/utils branches/distr-2.3/www pkg/utils www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Apr 9 16:23:54 CEST 2010


Author: ruckdeschel
Date: 2010-04-09 16:23:54 +0200 (Fri, 09 Apr 2010)
New Revision: 644

Modified:
   branches/distr-2.3/pkg/distrEx/chm/E.html
   branches/distr-2.3/pkg/utils/README-R-utils
   branches/distr-2.3/pkg/utils/finde.r
   branches/distr-2.3/www/RandVar.html
   branches/distr-2.3/www/distr-Familie.html
   branches/distr-2.3/www/distr.html
   branches/distr-2.3/www/distrDoc.html
   branches/distr-2.3/www/distrEx.html
   branches/distr-2.3/www/distrMod.html
   branches/distr-2.3/www/distrSim.html
   branches/distr-2.3/www/distrTEst.html
   branches/distr-2.3/www/distrTeach.html
   pkg/utils/README-R-utils
   pkg/utils/finde.r
   www/RandVar.html
   www/distr-Familie.html
   www/distr.html
   www/distrDoc.html
   www/distrEx.html
   www/distrMod.html
   www/distrSim.html
   www/distrTEst.html
   www/distrTeach.html
Log:
triggered by mail by Sven Sewitz sas69 at cam.ac.uk, replaced all dead links to distr.pdf in www files by url to vignette of distrDoc on CRAN;
also replaced uni-bayreuth.de mail address by itwm.fraunhofer.de one

to do this used new util ersetze (similar to finde) now in folder utils

Modified: branches/distr-2.3/pkg/distrEx/chm/E.html
===================================================================
--- branches/distr-2.3/pkg/distrEx/chm/E.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/pkg/distrEx/chm/E.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -558,7 +558,7 @@
 
 <h3>Author(s)</h3>
 
-<p>Matthias Kohl <a href="mailto:Matthias.Kohl at stamats.de">Matthias.Kohl at stamats.de</a> and Peter Ruckdeschel <a href="mailto:peter.ruckdeschel at uni-bayreuth.de">peter.ruckdeschel at uni-bayreuth.de</a></p>
+<p>Matthias Kohl <a href="mailto:Matthias.Kohl at stamats.de">Matthias.Kohl at stamats.de</a> and Peter Ruckdeschel <a href="mailto:peter.ruckdeschel at itwm.fraunhofer.de">peter.ruckdeschel at itwm.fraunhofer.de</a></p>
 
 
 <h3>See Also</h3>

Modified: branches/distr-2.3/pkg/utils/README-R-utils
===================================================================
--- branches/distr-2.3/pkg/utils/README-R-utils	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/pkg/utils/README-R-utils	2010-04-09 14:23:54 UTC (rev 644)
@@ -8,11 +8,16 @@
 #
 # searches for a given pattern (possibly with regular expressions)
 # in all files with a given file extension in a given folder
+# similarly replaces patterns
 # Syntax
 
 finde(x = "nchar", dir="C:/rtest/distrEx/R", ext = "R", rec = FALSE)
 ## args: x : pattern; dir: folder; ext: file extension, rec: recursive in subfolders?
 
+ersetze(x0 = "nchar", x1="nchar", dir="C:/rtest/distr/pkg/distr/R", ext = "R", rec = FALSE)
+## args: x0 : pattern to be replaced; x1= replacing text; dir: folder; 
+##       ext: file extension, rec: recursive in subfolders?
+
 ### ladealles.R
 #
 # sources in all .R - files from a given folder

Modified: branches/distr-2.3/pkg/utils/finde.r
===================================================================
--- branches/distr-2.3/pkg/utils/finde.r	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/pkg/utils/finde.r	2010-04-09 14:23:54 UTC (rev 644)
@@ -20,6 +20,33 @@
   }
 infind(dir)   
 }
+
+
 finde(x=".makeQNew", dir ="C:/rtest/distr/pkg/distr/R")
-finde(x=".makeQNew", dir ="C:/rtest/distr/pkg/distr", rec=TRUE)
+finde(x="http://distr\\.r-forge\\.r-project\\.org/distr\\.pdf", dir ="C:/rtest/distr/", rec=TRUE)
 
+ersetze <- function(x0 = "nchar", x1="nchar", dir="C:/rtest/distr/pkg/distr/R", ext = "R", rec = FALSE){
+  ow <- getwd()
+  on.exit(setwd(ow))
+  infind <- function(dir0){
+    setwd(dir0)
+    cat("\n")
+    findL <- function(y){
+       zz <- readLines(y)
+       lgr <- grep(x0,zz)
+       writeLines(gsub(x0,x1,zz),y)
+       if(length(lgr>0)){
+          if(rec)
+             cat(paste(dir0,"/",y,sep="")," :: ",paste(lgr),"\n")
+          else cat(y," :: ",paste(lgr),"\n")
+       }
+       invisible()
+    }
+  ext0 <- if(ext=="") "" else paste("\\.", ext, sep="")
+  DIR <- grep(ext0, dir(, rec = rec), value=TRUE)
+  s <- lapply(DIR,findL)
+  }
+infind(dir)
+}
+ersetze(x0="href=\"distr.pdf\"",x1="href=\"http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf\"", dir ="C:/rtest/distr/www", rec=TRUE,ext="html")
+ersetze(x0="peter.ruckdeschel at uni-bayreuth.de",x1="peter.ruckdeschel at itwm.fraunhofer.de", dir ="C:/rtest/distr/www", rec=TRUE, ext="html")

Modified: branches/distr-2.3/www/RandVar.html
===================================================================
--- branches/distr-2.3/www/RandVar.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/RandVar.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -185,7 +185,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 11-22-05.<br>
 </div>

Modified: branches/distr-2.3/www/distr-Familie.html
===================================================================
--- branches/distr-2.3/www/distr-Familie.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distr-Familie.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.0<br>
 Release Date: 2008-01-17 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -102,7 +102,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2008-01-17.<br>
 </div>

Modified: branches/distr-2.3/www/distr.html
===================================================================
--- branches/distr-2.3/www/distr.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distr.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2008-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -39,7 +39,7 @@
 </ul>
 Dependencies: requires package "<span style="color: rgb(51, 102, 255);">startupmsg</span>"
 by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 </div>
@@ -133,7 +133,7 @@
 <h2>Manual</h2>
 <div style="text-align: justify; color: rgb(0, 0, 0);">for version
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -1364,7 +1364,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a> and <a href="mailto:statho3 at web.de">Thomas Stabla</a>
 and last updated on 2009-03-09.<br>
 </div>

Modified: branches/distr-2.3/www/distrDoc.html
===================================================================
--- branches/distr-2.3/www/distrDoc.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distrDoc.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -37,7 +37,7 @@
 Dependencies: requires packages "<span style="color: rgb(51, 102, 255);">tools</span>"
 (standard package) as well as "<span style="color: rgb(51, 102, 255);">startupmsg</span>"
 by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 </div>
@@ -222,7 +222,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a> and <a href="mailto:statho3 at web.de">Thomas Stabla</a>
 and last updated on 2009-03-19.<br>
 </div>

Modified: branches/distr-2.3/www/distrEx.html
===================================================================
--- branches/distr-2.3/www/distrEx.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distrEx.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -24,7 +24,7 @@
 Authors: <a
  href="mailto:matthias.kohl at stamats.de?subject=%5BdistrEx%5D">Matthias
 Kohl,</a>&nbsp;&nbsp; <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5BdistrEx%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5BdistrEx%5D">Peter
 Ruckdeschel</a><br>
 Required R-Version: <br>
 <ul>
@@ -40,7 +40,7 @@
  style="color: rgb(51, 102, 255);">"distr"</span></a>
 version &gt;= 1.9 by the authors of this package and "<span
  style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a>
 also available from <a href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 <br>
@@ -79,7 +79,7 @@
 Theory of Robustness"</span>, App. D<br>
 available on <a class="moz-txt-link-freetext"
  href="http://stamats.de/ThesisMKohl.pdf">http://stamats.de/ThesisMKohl.pdf</a>&nbsp;
-as well as in an extensive<a href="distr.pdf"> manual </a>to the
+as well as in an extensive<a href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf"> manual </a>to the
 distrXXX packages (up to version 0.4-3)<br>
 <div style="text-align: justify; color: rgb(0, 0, 0);">from version
 0.4-3 on, we have converted this manual into a common vignette to
@@ -523,7 +523,7 @@
 </div>
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19.<br>
 <br>

Modified: branches/distr-2.3/www/distrMod.html
===================================================================
--- branches/distr-2.3/www/distrMod.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distrMod.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -26,7 +26,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a><br>
@@ -45,7 +45,7 @@
 Camphausen</a>,
 <br>
 and "<span style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;&nbsp;
 <hr style="width: 100%; height: 2px;">
@@ -334,7 +334,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19.<br>
 </div>

Modified: branches/distr-2.3/www/distrSim.html
===================================================================
--- branches/distr-2.3/www/distrSim.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distrSim.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -44,7 +44,7 @@
  style="color: rgb(51, 102, 255);">"distr"</span></a> version &gt;= 1.9
 by the authors of this package and "<span
  style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> <br>
 also available from <a href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 it also suggests package <a href="distrEx.html"><span
@@ -122,7 +122,7 @@
 <br>
 <div style="text-align: justify; color: rgb(0, 0, 0);">for version
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -405,7 +405,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2008-03-19.<br>
 </div>

Modified: branches/distr-2.3/www/distrTEst.html
===================================================================
--- branches/distr-2.3/www/distrTEst.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distrTEst.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -26,7 +26,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -48,7 +48,7 @@
 and <a href="distrSim.html"><span style="color: rgb(51, 102, 255);">"distrSim"</span></a>
 version &gt;= 1.9 by the authors of this package, <br>
 and "<span style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>; it also
 suggests package <a href="distrEx.html"><span
@@ -87,7 +87,7 @@
 <br>
 <div style="text-align: justify; color: rgb(0, 0, 0);">for version
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -348,7 +348,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19.<br>
 </div>

Modified: branches/distr-2.3/www/distrTeach.html
===================================================================
--- branches/distr-2.3/www/distrTeach.html	2010-03-01 19:29:11 UTC (rev 643)
+++ branches/distr-2.3/www/distrTeach.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -22,7 +22,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:eleonoragerber at gmx.de">Eleonara Feist</a>, <a
@@ -42,7 +42,7 @@
 Camphausen</a>,
 <br>
 and "<span style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;&nbsp;
 <hr style="width: 100%; height: 2px;">
@@ -64,7 +64,7 @@
 <div style="text-align: justify; color: rgb(0, 0, 0);">for versions of
 the illustrations
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -201,7 +201,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19<br>
 </div>

Modified: pkg/utils/README-R-utils
===================================================================
--- pkg/utils/README-R-utils	2010-03-01 19:29:11 UTC (rev 643)
+++ pkg/utils/README-R-utils	2010-04-09 14:23:54 UTC (rev 644)
@@ -8,11 +8,16 @@
 #
 # searches for a given pattern (possibly with regular expressions)
 # in all files with a given file extension in a given folder
+# similarly replaces patterns
 # Syntax
 
 finde(x = "nchar", dir="C:/rtest/distrEx/R", ext = "R", rec = FALSE)
 ## args: x : pattern; dir: folder; ext: file extension, rec: recursive in subfolders?
 
+ersetze(x0 = "nchar", x1="nchar", dir="C:/rtest/distr/pkg/distr/R", ext = "R", rec = FALSE)
+## args: x0 : pattern to be replaced; x1= replacing text; dir: folder; 
+##       ext: file extension, rec: recursive in subfolders?
+
 ### ladealles.R
 #
 # sources in all .R - files from a given folder

Modified: pkg/utils/finde.r
===================================================================
--- pkg/utils/finde.r	2010-03-01 19:29:11 UTC (rev 643)
+++ pkg/utils/finde.r	2010-04-09 14:23:54 UTC (rev 644)
@@ -20,6 +20,33 @@
   }
 infind(dir)   
 }
+
+
 finde(x=".makeQNew", dir ="C:/rtest/distr/pkg/distr/R")
-finde(x=".makeQNew", dir ="C:/rtest/distr/pkg/distr", rec=TRUE)
+finde(x="http://distr\\.r-forge\\.r-project\\.org/distr\\.pdf", dir ="C:/rtest/distr/", rec=TRUE)
 
+ersetze <- function(x0 = "nchar", x1="nchar", dir="C:/rtest/distr/pkg/distr/R", ext = "R", rec = FALSE){
+  ow <- getwd()
+  on.exit(setwd(ow))
+  infind <- function(dir0){
+    setwd(dir0)
+    cat("\n")
+    findL <- function(y){
+       zz <- readLines(y)
+       lgr <- grep(x0,zz)
+       writeLines(gsub(x0,x1,zz),y)
+       if(length(lgr>0)){
+          if(rec)
+             cat(paste(dir0,"/",y,sep="")," :: ",paste(lgr),"\n")
+          else cat(y," :: ",paste(lgr),"\n")
+       }
+       invisible()
+    }
+  ext0 <- if(ext=="") "" else paste("\\.", ext, sep="")
+  DIR <- grep(ext0, dir(, rec = rec), value=TRUE)
+  s <- lapply(DIR,findL)
+  }
+infind(dir)
+}
+ersetze(x0="href=\"distr.pdf\"",x1="href=\"http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf\"", dir ="C:/rtest/distr/www", rec=TRUE,ext="html")
+ersetze(x0="peter.ruckdeschel at uni-bayreuth.de",x1="peter.ruckdeschel at itwm.fraunhofer.de", dir ="C:/rtest/distr/www", rec=TRUE, ext="html")

Modified: www/RandVar.html
===================================================================
--- www/RandVar.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/RandVar.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -185,7 +185,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 11-22-05.<br>
 </div>

Modified: www/distr-Familie.html
===================================================================
--- www/distr-Familie.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distr-Familie.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.0<br>
 Release Date: 2008-01-17 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -102,7 +102,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2008-01-17.<br>
 </div>

Modified: www/distr.html
===================================================================
--- www/distr.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distr.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2008-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -39,7 +39,7 @@
 </ul>
 Dependencies: requires package "<span style="color: rgb(51, 102, 255);">startupmsg</span>"
 by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 </div>
@@ -133,7 +133,7 @@
 <h2>Manual</h2>
 <div style="text-align: justify; color: rgb(0, 0, 0);">for version
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -1364,7 +1364,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a> and <a href="mailto:statho3 at web.de">Thomas Stabla</a>
 and last updated on 2009-03-09.<br>
 </div>

Modified: www/distrDoc.html
===================================================================
--- www/distrDoc.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distrDoc.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -37,7 +37,7 @@
 Dependencies: requires packages "<span style="color: rgb(51, 102, 255);">tools</span>"
 (standard package) as well as "<span style="color: rgb(51, 102, 255);">startupmsg</span>"
 by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 </div>
@@ -222,7 +222,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a> and <a href="mailto:statho3 at web.de">Thomas Stabla</a>
 and last updated on 2009-03-19.<br>
 </div>

Modified: www/distrEx.html
===================================================================
--- www/distrEx.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distrEx.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -24,7 +24,7 @@
 Authors: <a
  href="mailto:matthias.kohl at stamats.de?subject=%5BdistrEx%5D">Matthias
 Kohl,</a>&nbsp;&nbsp; <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5BdistrEx%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5BdistrEx%5D">Peter
 Ruckdeschel</a><br>
 Required R-Version: <br>
 <ul>
@@ -40,7 +40,7 @@
  style="color: rgb(51, 102, 255);">"distr"</span></a>
 version &gt;= 1.9 by the authors of this package and "<span
  style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a>
 also available from <a href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 <br>
@@ -79,7 +79,7 @@
 Theory of Robustness"</span>, App. D<br>
 available on <a class="moz-txt-link-freetext"
  href="http://stamats.de/ThesisMKohl.pdf">http://stamats.de/ThesisMKohl.pdf</a>&nbsp;
-as well as in an extensive<a href="distr.pdf"> manual </a>to the
+as well as in an extensive<a href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf"> manual </a>to the
 distrXXX packages (up to version 0.4-3)<br>
 <div style="text-align: justify; color: rgb(0, 0, 0);">from version
 0.4-3 on, we have converted this manual into a common vignette to
@@ -524,7 +524,7 @@
 </div>
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19.<br>
 <br>

Modified: www/distrMod.html
===================================================================
--- www/distrMod.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distrMod.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -26,7 +26,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a><br>
@@ -45,7 +45,7 @@
 Camphausen</a>,
 <br>
 and "<span style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>;&nbsp;
 <hr style="width: 100%; height: 2px;">
@@ -334,7 +334,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19.<br>
 </div>

Modified: www/distrSim.html
===================================================================
--- www/distrSim.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distrSim.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -23,7 +23,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -44,7 +44,7 @@
  style="color: rgb(51, 102, 255);">"distr"</span></a> version &gt;= 1.9
 by the authors of this package and "<span
  style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> <br>
 also available from <a href="http://cran.r-project.org/mirrors.html">CRAN</a>;
 it also suggests package <a href="distrEx.html"><span
@@ -122,7 +122,7 @@
 <br>
 <div style="text-align: justify; color: rgb(0, 0, 0);">for version
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -405,7 +405,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2008-03-19.<br>
 </div>

Modified: www/distrTEst.html
===================================================================
--- www/distrTEst.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distrTEst.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -26,7 +26,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
  href="mailto:matthias.kohl at stamats.de?subject=%5Bdistr%5D">Matthias
 Kohl</a>, <a href="mailto:statho3 at web.de?subject=%5Bdistr%5D">Thomas
@@ -48,7 +48,7 @@
 and <a href="distrSim.html"><span style="color: rgb(51, 102, 255);">"distrSim"</span></a>
 version &gt;= 1.9 by the authors of this package, <br>
 and "<span style="color: rgb(51, 102, 255);">startupmsg</span>" by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bstartupmsg%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bstartupmsg%5D">Peter
 Ruckdeschel</a> also available from <a
  href="http://cran.r-project.org/mirrors.html">CRAN</a>; it also
 suggests package <a href="distrEx.html"><span
@@ -87,7 +87,7 @@
 <br>
 <div style="text-align: justify; color: rgb(0, 0, 0);">for version
 prior to 1.8, a somewhat more detailed manual to this package in <a
- href="distr.pdf">pdf-format</a>
+ href="http://cran.r-project.org/web/packages/distrDoc/vignettes/distr.pdf">pdf-format</a>
 is available here;<br>
 from version 1.8 on, we have converted this manual into a common
 vignette to packages <span style="color: rgb(51, 102, 255);">distr</span>,
@@ -348,7 +348,7 @@
 <hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
 <div style="text-align: justify; color: rgb(0, 0, 0);">This page is
 maintained by <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=distr-package">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=distr-package">Peter
 Ruckdeschel</a>
 and last updated on 2009-03-19.<br>
 </div>

Modified: www/distrTeach.html
===================================================================
--- www/distrTeach.html	2010-03-01 19:29:11 UTC (rev 643)
+++ www/distrTeach.html	2010-04-09 14:23:54 UTC (rev 644)
@@ -22,7 +22,7 @@
 <div style="text-align: justify;"> Version: 2.1<br>
 Release Date: 2009-03-19 <br>
 Authors: <a
- href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
+ href="mailto:peter.ruckdeschel at itwm.fraunhofer.de?subject=%5Bdistr%5D">Peter
 Ruckdeschel</a>, <a
[TRUNCATED]

To get the complete diff run:
    svnlook diff /svnroot/distr -r 644


More information about the Distr-commits mailing list