| 1 |
Changes in version 0.7-2 |
| 2 |
|
| 3 |
o new command #Rscript2.bat is a simpler version of #Rscript.bat |
| 4 |
|
| 5 |
o bug fix in clip2r.js |
| 6 |
|
| 7 |
Changes in version 0.7-1 |
| 8 |
|
| 9 |
o remove duplicates from R_TOOLS_PATH |
| 10 |
|
| 11 |
Changes in version 0.7-0 |
| 12 |
|
| 13 |
o R.bat reworked. It now has a with different interface and many prior |
| 14 |
batch files have been incorporated into it and removed |
| 15 |
|
| 16 |
o new Rpathset.bat |
| 17 |
|
| 18 |
o new documentation: batchfiles.md (and batchfiles.pdf produced from it |
| 19 |
using make-batchfiles.pdf.bat |
| 20 |
|
| 21 |
Change in version 0.6-7 |
| 22 |
|
| 23 |
o Rtools paths changed |
| 24 |
|
| 25 |
Changes in version 0.6-6 |
| 26 |
|
| 27 |
o bug fixes |
| 28 |
|
| 29 |
Changes in version 0.6-5 |
| 30 |
|
| 31 |
o if MYSQL_HOME has not already been set then it set it to the last file |
| 32 |
among these, if any: |
| 33 |
|
| 34 |
%ProgramFiles%\MySQL\* |
| 35 |
|
| 36 |
This allows one to install and run RMySQL without setting any environment |
| 37 |
variables. (Note that MySQL should be installed from the mysql site. |
| 38 |
xampp and wamp do not include the header files needed by RMySQL.) |
| 39 |
|
| 40 |
Changes in version 0.6-4 |
| 41 |
|
| 42 |
o fixed bugs |
| 43 |
|
| 44 |
Changes in version 0.6-3 |
| 45 |
|
| 46 |
o fixed bugs |
| 47 |
|
| 48 |
Changes in version 0.6-1 |
| 49 |
|
| 50 |
o fixed bugs |
| 51 |
|
| 52 |
o R_ARCH and --arch can consistently be any of 32, i386, 64, x64, /i386 or /64 |
| 53 |
(vs R itself which otherwise uses different values for R_ARCH and --arch) |
| 54 |
|
| 55 |
Changes in version 0.6 |
| 56 |
|
| 57 |
o enhancements to handle architecture specific directory structure in R 2.12.0 |
| 58 |
Supports R_ARCH environment variable and --arch= first argument. Valid |
| 59 |
values are 32, 64, i386, x64. Default is i386. |
| 60 |
|
| 61 |
Changes in version 0.5-1 |
| 62 |
|
| 63 |
o new experimental command clip2r.js |
| 64 |
|
| 65 |
o bug fixes |
| 66 |
|
| 67 |
Changes in version 0.5-0 |
| 68 |
|
| 69 |
o new command show-svn-info.hta when run from a Tortoise SVN checkout |
| 70 |
folder shows some info about it. Requires Tortoise SVN version 1.5 |
| 71 |
or higher. |
| 72 |
|
| 73 |
o new command find-miktex.hta can be run without arguments from the |
| 74 |
Windows command line or double clicked from Windows Explorer |
| 75 |
to show path to the MiKTeX bin directory. |
| 76 |
|
| 77 |
o Rversions.hta now also changes the .RData association and has |
| 78 |
been verified to work on both XP and Vista. |
| 79 |
|
| 80 |
o new RExcelversion.hta (also distributed with RExcel) that is like |
| 81 |
Rversions.hta but also sets the version for Rexcel at the same time |
| 82 |
and has been verified to work on both XP and Vista. |
| 83 |
|
| 84 |
o jgr.bat now passes the Windows library and R home to jgr.exe automatically |
| 85 |
|
| 86 |
o added defensive code to allow code to work even in the presence of |
| 87 |
certain bad PATH variables |
| 88 |
|
| 89 |
o testing on XP32, XPx64, Vista32, Win7x64 (thanks to Nicholas Hirschey) |
| 90 |
|
| 91 |
Changes in version 0.4-3 |
| 92 |
|
| 93 |
o Sweave.bat and Stangle.bat were not automatically finding MiKTeX. |
| 94 |
Fixed. |
| 95 |
|
| 96 |
Changes in version 0.4-2 |
| 97 |
|
| 98 |
o can optionally work off initialization files in place of registry. |
| 99 |
Place rbatchfilesrc.bat in current directory or %userprofile% (so |
| 100 |
different directories can work off different versions of R, say) |
| 101 |
or same directory as the other batchfiles and it will run it first. |
| 102 |
Typically rbatchfiles.bat would constain these two lines or similar: |
| 103 |
set R_HOME=C:\Program Files\R\R-2.7.0 |
| 104 |
set R_TOOLS=C:\Rtools |
| 105 |
|
| 106 |
o added Stangle.bat |
| 107 |
|
| 108 |
Changes in version 0.4-1 |
| 109 |
|
| 110 |
o it is no longer necessary to set any paths to build R packages |
| 111 |
provided Rtools 2.7 or later is used. Rcmd.bat and the other |
| 112 |
scripts automatically find Rtools from the registry (including perl) |
| 113 |
and if MikTeX is at %ProgramFiles%\MiKTeX* or %SystemDrive%:\MiKTex |
| 114 |
then it will find MiKTeX too. New optional environment variables |
| 115 |
R_TOOLS and R_MIKTEX are available to force specified paths to be used. |
| 116 |
|
| 117 |
o new Rtools.bat command that sets the path for the current cmd instance |
| 118 |
to the one that R*.bat files use internally. That is, rtools/bin, |
| 119 |
rtools/perl/bin, rtools/MinGW/bin and MiKTeX .../miktex/bin are added |
| 120 |
to the path. This is not needed to run or install R programs but only |
| 121 |
if you want to access the rtools for other purposes. |
| 122 |
|
| 123 |
o new el.js command which runs the command given as its argument elevated. |
| 124 |
e.g. el cmd |
| 125 |
|
| 126 |
Changes in version 0.4-0 |
| 127 |
|
| 128 |
o as of 0.4-0 batchfiles is being developed and tested on Vista. |
| 129 |
It may still work on XP but if any of the commands do not then use |
| 130 |
version 0.3-2 instead since that was exclusively tested on XP. |
| 131 |
|
| 132 |
o added RguiStart.bat which is like Rgui.bat but takes a single argument |
| 133 |
which is a directory and starts up there |
| 134 |
|
| 135 |
o the dependency of sweave.bat on Rterm.bat was eliminated so all |
| 136 |
batch and javascript programs in this collection are now independent |
| 137 |
of each other and have no dependencies aside form R. (The perl |
| 138 |
program, toggleDoc.pl, is does depend on perl and toggleDoc.js.) |
| 139 |
|
| 140 |
o added info on how to use RguiStart.bat and sweave.bat with SendTo |
| 141 |
folder |
| 142 |
|
| 143 |
o misc improvements to README file |
| 144 |
|
| 145 |
o improved help message given by sweave.bat when issued with no arguments |
| 146 |
|
| 147 |
o removed only tested on XP messages since they work on Vista |
| 148 |
|
| 149 |
o changed algorithm in Rversions.bat. Now it checks current directory, |
| 150 |
R_HOME and all keys in R's portion of the registry plus all sibling |
| 151 |
folders of those mentioned. Also it runs RSetReg.exe elevated |
| 152 |
on Vista. New version has not been tested on XP; however, older |
| 153 |
versions are still available and were tested on XP. |
| 154 |
|
| 155 |
o updated copydir.bat portion of README to discuss additional alternatives |
| 156 |
|
| 157 |
o removed find-miktex.bat, Rfind.bat and makepkg.bat (they are still |
| 158 |
available in batchfiles version 0.3-2) |
| 159 |
|
| 160 |
o added toggleDoc.pl/toggleDoc.js which adds a toggle box to each 00Index.html |
| 161 |
which when checked collapses similar HTML help lines into one. Contributed |
| 162 |
by Dieter Menne. |
| 163 |
|
| 164 |
Changes in version 0.3-2 |
| 165 |
|
| 166 |
o sweave.bat now uses Rterm.bat rather than Rcmd.bat which makes it usable |
| 167 |
with a basic R installation (i.e. sh.exe not needed). Previously it |
| 168 |
required Rcmd.bat but now it requires Rterm.bat instead. |
| 169 |
|
| 170 |
o added Rterm.bat (just a copy of Rcmd.bat) |
| 171 |
|
| 172 |
Changes in Version 0.3-1 |
| 173 |
|
| 174 |
o new find-miktex.bat which lists the mixktex folders from the registry |
| 175 |
|
| 176 |
o new Rscript.bat which allows one to use the Rscript facility in |
| 177 |
R 2.5.0 and later without changing pathnames. Just place Rscript.bat |
| 178 |
in any existing path and it will automatically find the |
| 179 |
current version of R from the registry and run the Rscript.exe that |
| 180 |
is there. |
| 181 |
|
| 182 |
o runR.bat. If you have an R script such as myfile.R then you can create |
| 183 |
a batch script for it by copying runR.bat to myfile.bat. Then when you |
| 184 |
issue the command myfile or myfile.bat it will run the R script in |
| 185 |
myfile.R . Just place myfile.bat and myfile.R anywhere in your path. |
| 186 |
This uses Rscript.bat . |
| 187 |
|
| 188 |
o #Rscript. If you have an Rscript called myfile.R, say, then if you |
| 189 |
copy the script to myfile.bat and place |
| 190 |
#Rscript %0 %* |
| 191 |
as the first line with the remainder being the R commands then issuing |
| 192 |
the command myfile or myfile.bat will run the R script. The advantage |
| 193 |
over the runR.bat method is that there is only one file, myfile.bat. |
| 194 |
You don't need myfile.R anymore. The disadvantage is that it will |
| 195 |
echo the #Rscript line to stdout. This will be fixed if and when |
| 196 |
Rscript ever gets the perl/python/ruby -x flag. (The runR approach will |
| 197 |
not echo additional lines but does require two files.) |
| 198 |
|
| 199 |
o new Rtidy.bat is a sample Rscript that uses the #Rscript facility |
| 200 |
based on George Georgalis' UNIX code |
| 201 |
|
| 202 |
o withgs.bat now checks for latest ghostscript version. (Previously |
| 203 |
version was hard coded and it only worked for that version.) |
| 204 |
|
| 205 |
Changes in Version 0.3-0 |
| 206 |
|
| 207 |
o sweave now generates a second .pdf ending which is a copy of the first |
| 208 |
but has a unique name and displays that. This works around a problem |
| 209 |
with acrobat that it will not display two files with the same name |
| 210 |
at the same time. |
| 211 |
|
| 212 |
o new --tex, --pdf, --nobck.pdf switches are available on sweave. Also |
| 213 |
expanded help when entering sweave without args. |
| 214 |
|
| 215 |
Changes in Version 0.2-9 |
| 216 |
|
| 217 |
o updated README and other documentation files and inline documentation |
| 218 |
|
| 219 |
o added sweave.bat |
| 220 |
|
| 221 |
o new google code home page and svn repository |
| 222 |
http://code.google.com/p/batchfiles/ |
| 223 |
|
| 224 |
Changes in Version 0.2-8 |
| 225 |
|
| 226 |
o bug fix in copydir.bat and movedir.bat |
| 227 |
|
| 228 |
Changes in Version 0.2-7 |
| 229 |
|
| 230 |
o removed extra popup from Rversions.hta |
| 231 |
|
| 232 |
o Rfind.bat now looks in registry for MiKTeX, replacing |
| 233 |
previous heuristic. [Thanks for help from Duncan |
| 234 |
Murdoch]. Also RToolsDir typo fixed in Rfind.bat. |
| 235 |
|
| 236 |
Changes in Version 0.2-6 |
| 237 |
|
| 238 |
o batch files no longer use short names internally since this |
| 239 |
triggers a bug in Windows batch in the case of the new R |
| 240 |
folder naming conventions. |
| 241 |
|
| 242 |
o Rversions.hta - fix for path names with spaces |
| 243 |
|
| 244 |
o Rrefresh.bat has been removed (after having been deprecated in |
| 245 |
in previous versions of batchfiles). |
| 246 |
|
| 247 |
o tested movedir.bat by using it to upgrade R-2.2.0pat to R-2.2.1. |
| 248 |
See instructions in README. |
| 249 |
|
| 250 |
Changes in Version 0.2-5 |
| 251 |
|
| 252 |
o added movedir.bat which moves libraries from one version of |
| 253 |
R to another. This is like copydir.bat but is much faster and |
| 254 |
can be used when the older version of R is no longer needed |
| 255 |
(unlike copydir.bat which preserves the older version). See |
| 256 |
README for usage. |
| 257 |
|
| 258 |
Changes in Version 0.2-3 |
| 259 |
|
| 260 |
o added copydir.bat which can copy libraries from one version of |
| 261 |
R to another. (This is a temporary solution until R provides |
| 262 |
facilities for upgrading the libraries, expected in R 2.3.0 .) |
| 263 |
See README for usage. |
| 264 |
|
| 265 |
o eliminated all code associated with reading and manipulation of |
| 266 |
R_ENVIRON, R_PROFILE and R_LIBS simplifying the batch files. Use |
| 267 |
copydir.bat instead. |
| 268 |
|
| 269 |
o Rversions.hta is a javascript GUI version of Rversions.bat |
| 270 |
|
| 271 |
Changes in Version 0.2-2 |
| 272 |
|
| 273 |
o added jgr.bat which starts up the JGR GUI. |
| 274 |
|
| 275 |
o added Rversions.bat which can list the directories of all R versions |
| 276 |
available and can set one to become the current R version. |
| 277 |
|
| 278 |
o all batch scripts which used the environment variable name Rrw now |
| 279 |
use the environment variable name R_HOME instead. |
| 280 |
|
| 281 |
o Rcmd.bat, Rgui.bat, R.bat, jgr.bat files will now read R_ENVIRON, |
| 282 |
if present, and set the R_LIBS definition in it, if present (unless |
| 283 |
R_LIBS is already defined as an environment variable). All R_ENVIRON |
| 284 |
file syntax accepted by R is supported including comments (#), |
| 285 |
var=value, var=${foo-bar} and recursions, var=${A-${B-C}}. |
| 286 |
|
| 287 |
o makepkg.bat internals were simplified due to previous point. |
| 288 |
|
| 289 |
o updated WISHLIST. |
| 290 |
|
| 291 |
o updated THANKS. |
| 292 |
|
| 293 |
o updated README. More introductory information. Also instructions |
| 294 |
for Rgui shortcut will disable screen flash on startup. Corrections. |
| 295 |
|
| 296 |
Changes in Version 0.2-1 |
| 297 |
|
| 298 |
o improvements to README |
| 299 |
|
| 300 |
Changes in Version 0.2-0 |
| 301 |
|
| 302 |
o can now support configurations without *.site files (as well as |
| 303 |
configurations with *.site files) thereby reducing the minimum |
| 304 |
configuration even further. |
| 305 |
|
| 306 |
o Rcmd.bat, Rgui.bat and R.bat now temporarily set R_ENVIRON, |
| 307 |
R_PROFILE and R_LIBS as needed so that it is no longer necessary to |
| 308 |
copy the *.site files into the etc directory eliminating all |
| 309 |
reconfiguration when upgrading to a new version of R (except for |
| 310 |
refreshing MiKTeX). |
| 311 |
|
| 312 |
o new command miktex-refresh.bat is used to refresh MiKTeX after a |
| 313 |
new version of R is installed. Previously this was done in |
| 314 |
Rrefresh.bat which is now deprecated. Rrefresh.bat is no longer |
| 315 |
needed (unless you want each R version to have its own *.site files). |
| 316 |
|
| 317 |
o new NEWS, WISHLIST and RESOURCES files. |
| 318 |
|
| 319 |
o README provides additional details. |
| 320 |
|