Révision 2486
| tmp/org.txm.statsengine.r.core.win32/res/win32/CHANGES (revision 2486) | ||
|---|---|---|
| 1 |
Windows-specific changes to R |
|
| 2 |
|
|
| 3 |
CHANGES IN R VERSIONS > 2.15.0: |
|
| 4 |
|
|
| 5 |
* Windows-specific changes will now be announced in the common NEWS |
|
| 6 |
file. |
|
| 7 |
|
|
| 8 |
CHANGES IN R VERSION 2.15.0: |
|
| 9 |
|
|
| 10 |
NEW FEATURES: |
|
| 11 |
|
|
| 12 |
* The 32-bit and 64-bit builds are now treated equally, as it is |
|
| 13 |
anticipated that 64-bit R will soon be (if not already) the more |
|
| 14 |
commonly used. This entails: |
|
| 15 |
|
|
| 16 |
The Rterm or Rgui title mentions 32-bit as well as 64-bit. |
|
| 17 |
|
|
| 18 |
The desktop icons are labelled R i386 and R x64. |
|
| 19 |
|
|
| 20 |
R CMD INSTALL for a package with compiled code will fail if |
|
| 21 |
compilation fails for any of the installed sub-architectures: use |
|
| 22 |
--no-multiarch to override this. |
|
| 23 |
|
|
| 24 |
* postscript(file = "|cmd") now works on Windows. |
|
| 25 |
|
|
| 26 |
* file.symlink() is now implemented on NTFS file systems on Vista |
|
| 27 |
or later, for accounts which have suitable permissions (and most |
|
| 28 |
will not). It can link existing directories, and existing-or-not |
|
| 29 |
files. |
|
| 30 |
|
|
| 31 |
* There is a new function Sys.junction() to create junction points |
|
| 32 |
on NTFS file systems. |
|
| 33 |
|
|
| 34 |
* C-level error formats now use the trio library, and so for |
|
| 35 |
example output 1.53e-11 (as required by C99) rather than |
|
| 36 |
1.53e-011. |
|
| 37 |
|
|
| 38 |
INSTALLER: |
|
| 39 |
|
|
| 40 |
* The installer has many fewer options with more files always being |
|
| 41 |
installed, as a few Mb of file space is nowadays no longer an |
|
| 42 |
issue. |
|
| 43 |
|
|
| 44 |
* It is now possible to select '64-bit Files' from the standard |
|
| 45 |
installer even on a 32-bit version of Windows. |
|
| 46 |
|
|
| 47 |
PACKAGE INSTALLATION: |
|
| 48 |
|
|
| 49 |
* As the current toolchain uses only 32-bit executables, it is |
|
| 50 |
possible to compile a package for both architectures on 32-bit |
|
| 51 |
Windows provided both architectures of R have been installed: use |
|
| 52 |
Rcmd INSTALL --compile-both. |
|
| 53 |
|
|
| 54 |
* Rcmd INSTALL --merge-multiarch will work (but do a normal |
|
| 55 |
install) if only one architecture is installed. |
|
| 56 |
|
|
| 57 |
BUG FIXES: |
|
| 58 |
|
|
| 59 |
* Due to a race condition, some graphics changes were not flushed |
|
| 60 |
to the display if another graphics window was closed at nearly |
|
| 61 |
the same time. (Reported by Michael Sumner.) |
|
| 62 |
|
|
| 63 |
CHANGES IN R VERSION 2.14.2: |
|
| 64 |
|
|
| 65 |
NEW FEATURES: |
|
| 66 |
|
|
| 67 |
* bitmap() and dev2bitmap() look for gswin64c.exe (as used by |
|
| 68 |
64-bit GhostScript), in preference to gswin32c.exe. |
|
| 69 |
|
|
| 70 |
INSTALLATION: |
|
| 71 |
|
|
| 72 |
* The sources (and packages) can now be compiled using the multilib |
|
| 73 |
toolchain developed for R 2.15.x: see the MULTI macro in |
|
| 74 |
MkRules.dist. This toolchain is used for the CRAN binary |
|
| 75 |
distribution. |
|
| 76 |
|
|
| 77 |
PACKAGE INSTALLATION: |
|
| 78 |
|
|
| 79 |
* The preferred toolchain has changed since the one used for R |
|
| 80 |
2.12.0 to 2.14.1: see the'R Installation and Administration |
|
| 81 |
manual'. Compiled code (except DLLs) may be incompatible with |
|
| 82 |
previous toolchains (and compiled C++ code almost certainly will |
|
| 83 |
be: users of Rcpp take care). |
|
| 84 |
|
|
| 85 |
Ensure that the settings in MkRules.local are appropriate to the |
|
| 86 |
toolchain you use. |
|
| 87 |
|
|
| 88 |
* There is a new macro (aka make variable) SHLIB_PTHREAD_FLAGS. |
|
| 89 |
This is set to -pthread on builds using toolchains which support |
|
| 90 |
it, and should be included in both PKG_CPPFLAGS (or the Fortran |
|
| 91 |
or F9x equivalents) and PKG_LIBS. |
|
| 92 |
|
|
| 93 |
BUG FIXES: |
|
| 94 |
|
|
| 95 |
* Using a prompt of more than 80 characters in readline() could |
|
| 96 |
cause a buffer overflow in Rterm. (Reported by Henrik |
|
| 97 |
Bengtsson.) |
|
| 98 |
|
|
| 99 |
* Some of the custom messages in the installer were corrupted: add |
|
| 100 |
a BOM mark to the file as now required by Unicode Inno Setup. |
|
| 101 |
(PR#14816) |
|
| 102 |
|
|
| 103 |
CHANGES IN R VERSION 2.14.1: |
|
| 104 |
|
|
| 105 |
NEW FEATURES: |
|
| 106 |
|
|
| 107 |
* The Save as menu item on the script editor adds extension .R to a |
|
| 108 |
file name without an extension. |
|
| 109 |
|
|
| 110 |
* In package parallel, detectCores(logical = FALSE) makes an |
|
| 111 |
OS-dependent attempt to find the number of physical cores. It |
|
| 112 |
usually succeeds, even on XP. |
|
| 113 |
|
|
| 114 |
PACKAGE INSTALLATION: |
|
| 115 |
|
|
| 116 |
* The directory pointed to by USER_LOCAL can now have |
|
| 117 |
architecture-specific sub-directories lib/i386 and lib/x64. |
|
| 118 |
|
|
| 119 |
BUG FIXES: |
|
| 120 |
|
|
| 121 |
* The fix for PR#14543 caused stack problems with outputting large |
|
| 122 |
R objects (e.g., data frames of 25,000 items). (PR#14698) |
|
| 123 |
|
|
| 124 |
* In a double-byte locale (Chinese, Japanese, Korean), grep() and |
|
| 125 |
friends might have used byte-wise matching of strings in the |
|
| 126 |
native encoding. (PR#14622) |
|
| 127 |
|
|
| 128 |
CHANGES IN R VERSION 2.14.0: |
|
| 129 |
|
|
| 130 |
NEW FEATURES: |
|
| 131 |
|
|
| 132 |
* The yLineBias of the windows() family of devices has been changed |
|
| 133 |
from 0.1 to 0.2: this changes slightly the vertical positioning |
|
| 134 |
of text (including axis annotations). This can be overridden by |
|
| 135 |
setting the new "ylbias" graphical parameter. This was done for |
|
| 136 |
consistency with other devices such as pdf(). |
|
| 137 |
|
|
| 138 |
* R CMD build once again attempts to preserve file permissions on |
|
| 139 |
Windows. |
|
| 140 |
|
|
| 141 |
* There is support for cairographics-based devices using the same |
|
| 142 |
code as on Unix-alikes. This can be selected by the new type |
|
| 143 |
argument of the bitmap devices bmp(), jpeg(), png() and tiff(), |
|
| 144 |
and devices svg(), cairo_pdf() and cairo_ps() are now available |
|
| 145 |
on Windows. |
|
| 146 |
|
|
| 147 |
These are not compiled in by default when building from source: |
|
| 148 |
see the instructions in the 'R Installation and Administration |
|
| 149 |
Manual'. |
|
| 150 |
|
|
| 151 |
* All the Windows-specific graphics devices now have a family |
|
| 152 |
argument. If non-empty this specifies an initial family to be |
|
| 153 |
used for fonts 1-4. If empty the fonts specified in the Rdevga |
|
| 154 |
configuration file are used for the Windows GDI devices and |
|
| 155 |
"sans" for cairographics-based devices. |
|
| 156 |
|
|
| 157 |
This will generally be a Windows font name such as "Lucida |
|
| 158 |
Bright" or one of the device-independent names ("sans", "serif"
|
|
| 159 |
and "mono"). Outside Western Europe you may need to select a |
|
| 160 |
family that better supports your locale such as "Arial MS |
|
| 161 |
Unicode" or one specific to Chinese/Korean/Thai .... |
|
| 162 |
|
|
| 163 |
* There is a new antialias argument to windows(), win.print() and |
|
| 164 |
the bitmap devices. This is an option that can be set in |
|
| 165 |
windows.options() to set the default for windows() (and |
|
| 166 |
win.graph()). |
|
| 167 |
|
|
| 168 |
This gives a hint to the Windows plotting system. Whether |
|
| 169 |
anti-aliasing is actually used principally depends on the OS |
|
| 170 |
settings: this argument should at least be able to turn it off. |
|
| 171 |
The default behaviour (unchanged from before) is that Windows |
|
| 172 |
will use anti-aliasing for screen devices (and bitmap devices, as |
|
| 173 |
they plot on a hidden screen) if ClearType has been enabled. For |
|
| 174 |
those not using ClearType, windows.options(antialias = |
|
| 175 |
"cleartype") will make this the default, and it will probably |
|
| 176 |
give more legible plots. |
|
| 177 |
|
|
| 178 |
The argument can also be used for the cairographics-based |
|
| 179 |
versions of the bitmap devices. |
|
| 180 |
|
|
| 181 |
* The 'Update packages ...' menu item now runs |
|
| 182 |
update.packages(ask="graphics", checkBuilt=TRUE). |
|
| 183 |
|
|
| 184 |
* R CMD INSTALL preserves the package-directory modification time |
|
| 185 |
when it restores an earlier install of the package. |
|
| 186 |
|
|
| 187 |
* File extensions .xz, .rda and .RData have been added to those |
|
| 188 |
which default to binary transfer for download.file(). |
|
| 189 |
|
|
| 190 |
* install.packages() and R CMD check have a small delay after |
|
| 191 |
removing a directory to counteract some interference from |
|
| 192 |
anti-virus software. |
|
| 193 |
|
|
| 194 |
* There is a Danish translation of the RGui menus. |
|
| 195 |
|
|
| 196 |
INSTALLATION: |
|
| 197 |
|
|
| 198 |
* Compilation of C and Fortran code now uses the optimization flag |
|
| 199 |
-mtune=core2: this will improve performance a few percent on |
|
| 200 |
recent CPUs at the expense of those which are several years old. |
|
| 201 |
Its effect is particularly evident on 64-bit builds. |
|
| 202 |
|
|
| 203 |
This can be overridden when building from the sources: see the |
|
| 204 |
EOPTS macro defined in file MkRules.dist. |
|
| 205 |
|
|
| 206 |
* Where both 32- and 64-bit versions of R are installed, the file |
|
| 207 |
association for .RData files defaults to 64-bit R (it defaulted |
|
| 208 |
to 32-bit in R 2.12.x and 2.13.x). |
|
| 209 |
|
|
| 210 |
* There is preliminary support for 'multilib' toolchains which use |
|
| 211 |
options --m32 or --m64 to select the architecture; set the |
|
| 212 |
appropriate macros in MkRules.local. |
|
| 213 |
|
|
| 214 |
It is the intention to move to such a toolchain when they become |
|
| 215 |
mature enough. |
|
| 216 |
|
|
| 217 |
PACKAGE INSTALLATION: |
|
| 218 |
|
|
| 219 |
* Rzlib.dll (sometimes used in packages _via_ $(ZLIB_LIBS)) does |
|
| 220 |
not include the buggy gzio interface from zlib 1.2.5. |
|
| 221 |
|
|
| 222 |
DEFUNCT: |
|
| 223 |
|
|
| 224 |
* zip.unpack() (deprecated in R 2.13.0) is defunct: use unzip() |
|
| 225 |
instead. |
|
| 226 |
|
|
| 227 |
BUG FIXES: |
|
| 228 |
|
|
| 229 |
* Raster drawing on win.metafile() (or copying a plot that includes |
|
| 230 |
a raster image from another device to a Metafile) now does not |
|
| 231 |
crash. (Reported by Stefan Gelissen.) |
|
| 232 |
|
|
| 233 |
CHANGES IN R VERSION 2.13.2: |
|
| 234 |
|
|
| 235 |
BUG FIXES: |
|
| 236 |
|
|
| 237 |
* The fix for PR#14583 caused inconsistent behaviour in other |
|
| 238 |
areas, e.g. PR#14628, extra lines appearing in image displays, |
|
| 239 |
and uneven bases on histograms. (PR#14632). |
|
| 240 |
|
|
| 241 |
* Opening large numbers of windows() graphics devices could cause |
|
| 242 |
some of them to fail to redraw (PR#14668). |
|
| 243 |
|
|
| 244 |
CHANGES IN R VERSION 2.13.1: |
|
| 245 |
|
|
| 246 |
NEW FEATURES: |
|
| 247 |
|
|
| 248 |
* R CMD build no longer attempts to preserve file permissions on |
|
| 249 |
Windows, because Windows (unlike POSIX-compliant OSes) stops |
|
| 250 |
read-only files being deleted in version-control directories. |
|
| 251 |
|
|
| 252 |
* shell.exec() now interprets files relative to the current working |
|
| 253 |
directory (rather than R_HOME). |
|
| 254 |
|
|
| 255 |
* file.info() now accepts 'file' names with trailing directory |
|
| 256 |
separators, even though such names are invalid on Windows. |
|
| 257 |
|
|
| 258 |
* The windows() family of devices now supports() per-pixel alpha |
|
| 259 |
for raster images. |
|
| 260 |
|
|
| 261 |
BUG FIXES: |
|
| 262 |
|
|
| 263 |
* Launching the PDF manuals from the Rgui menus did not work on |
|
| 264 |
some versions of Windows. |
|
| 265 |
|
|
| 266 |
* The windows() screen device would sometimes fail to plot |
|
| 267 |
(visibly) points with pch=".". PR#14583 |
|
| 268 |
|
|
| 269 |
* system() and related functions sometimes failed when run in Rgui. |
|
| 270 |
|
|
| 271 |
* Saving to PDF from the menu of a windows() device used defaults |
|
| 272 |
for family, fg and bg from ps.options() rather than pdf.options() |
|
| 273 |
(but the factory-fresh defaults were the same). |
|
| 274 |
|
|
| 275 |
* Shutting down the R session cleaned up the temporary directory |
|
| 276 |
before closing all graphics devices. On Windows this |
|
| 277 |
necessitated changing the working directory, so some devices |
|
| 278 |
(e.g., tiff()) could write files in the wrong directory if closed |
|
| 279 |
during shutdown. The order has been reversed. |
|
| 280 |
|
|
| 281 |
CHANGES IN R VERSION 2.13.0: |
|
| 282 |
|
|
| 283 |
WINDOWS VERSION: |
|
| 284 |
|
|
| 285 |
* Windows 2000 is no longer supported. (It went end-of-life in |
|
| 286 |
July 2010.) |
|
| 287 |
|
|
| 288 |
NEW FEATURES: |
|
| 289 |
|
|
| 290 |
* win_iconv has been updated: this version has a change in the |
|
| 291 |
behaviour with BOMs on UTF-16 and UTF-32 files - it removes BOMs |
|
| 292 |
when reading and adds them when writing. (This is consistent |
|
| 293 |
with Microsoft applications, but Unix versions of iconv usually |
|
| 294 |
ignore them.) |
|
| 295 |
|
|
| 296 |
* Support for repository type win64.binary (used for 64-bit Windows |
|
| 297 |
binaries for R 2.11.x only) has been removed. |
|
| 298 |
|
|
| 299 |
* The installers no longer put an 'Uninstall' item on the start |
|
| 300 |
menu (to conform to current Microsoft UI guidelines). |
|
| 301 |
|
|
| 302 |
* Running R always sets the environment variable R_ARCH (as it does |
|
| 303 |
on a Unix-alike from the shell-script front-end). |
|
| 304 |
|
|
| 305 |
* The defaults for options("browser") and options("pdfviewer") are
|
|
| 306 |
now set from environment variables R_BROWSER and R_PDFVIEWER |
|
| 307 |
respectively (as on a Unix-alike). A value of "false" suppresses |
|
| 308 |
display (even if there is no false.exe present on the path). |
|
| 309 |
|
|
| 310 |
* If options("install.lock") is set to TRUE, binary package
|
|
| 311 |
installs are protected against failure similar to the way source |
|
| 312 |
package installs are protected. |
|
| 313 |
|
|
| 314 |
* file.exists() and unlink() have more support for files > 2GB. |
|
| 315 |
|
|
| 316 |
* The versions of R.exe in R_HOME/bin/i386,x64/bin now support |
|
| 317 |
options such as R --vanilla CMD: there is no comparable interface |
|
| 318 |
for Rcmd.exe. |
|
| 319 |
|
|
| 320 |
* A few more file operations will now work with >2GB files. |
|
| 321 |
|
|
| 322 |
* The environment variable R_HOME in an R session now uses slash as |
|
| 323 |
the path separator (as it always has when set by Rcmd.exe). |
|
| 324 |
|
|
| 325 |
* Rgui has a new menu item for the PDF 'Sweave User Manual'. |
|
| 326 |
|
|
| 327 |
DEPRECATED: |
|
| 328 |
|
|
| 329 |
* zip.unpack() is deprecated: use unzip(). |
|
| 330 |
|
|
| 331 |
INSTALLATION: |
|
| 332 |
|
|
| 333 |
* There is support for libjpeg-turbo _via_ setting JPEGDIR to that |
|
| 334 |
value in MkRules.local. |
|
| 335 |
|
|
| 336 |
Support for jpeg-6b has been removed. |
|
| 337 |
|
|
| 338 |
* The sources now work with libpng-1.5.1, jpegsrc.v8c (which are |
|
| 339 |
used in the CRAN builds) and tiff-4.0.0beta6 (CRAN builds use |
|
| 340 |
3.9.1). It is possible that they no longer work with older |
|
| 341 |
versions than libpng-1.4.5. |
|
| 342 |
|
|
| 343 |
BUG FIXES: |
|
| 344 |
|
|
| 345 |
* Workaround for the incorrect values given by Windows' casinh |
|
| 346 |
function on the branch cuts. |
|
| 347 |
|
|
| 348 |
* Bug fixes for drawing raster objects on windows(). The symptom |
|
| 349 |
was the occasional raster image not being drawn, especially when |
|
| 350 |
drawing multiple raster images in a single expression. Thanks to |
|
| 351 |
Michael Sumner for report and testing. |
|
| 352 |
|
|
| 353 |
* Printing extremely long string values could overflow the stack |
|
| 354 |
and cause the GUI to crash. (PR#14543) |
|
| 355 |
|
|
| 356 |
CHANGES IN R VERSION 2.12.2: |
|
| 357 |
|
|
| 358 |
NEW FEATURES: |
|
| 359 |
|
|
| 360 |
* Building badly-written vignettes which used the default device |
|
| 361 |
(pdf(file = "Rplots.pdf") could leave the device open and hence |
|
| 362 |
the file Rplots.pdf could not be removed on Windows: all devices |
|
| 363 |
are now closed. |
|
| 364 |
|
|
| 365 |
BUG FIXES: |
|
| 366 |
|
|
| 367 |
* In some circumstances the caret (cursor) could be positioned |
|
| 368 |
incorrectly. (PR#14460) |
|
| 369 |
|
|
| 370 |
* When loading Rconsole from disk, a spurious warning message was |
|
| 371 |
sometimes shown. |
|
| 372 |
|
|
| 373 |
* In R 2.12.1, system() sometimes passed an empty input stream to |
|
| 374 |
the new process rather than allowing user input. |
|
| 375 |
|
|
| 376 |
* The internal method for untar() does a better job of unravelling |
|
| 377 |
symbolic links in the tarball (but still with many limitations). |
|
| 378 |
|
|
| 379 |
* The graphical dialog version of select.list() could cause later |
|
| 380 |
dialogs to fail if Windows events were not processed between the |
|
| 381 |
calls. |
|
| 382 |
|
|
| 383 |
CHANGES IN R VERSION 2.12.1: |
|
| 384 |
|
|
| 385 |
NEW FEATURES: |
|
| 386 |
|
|
| 387 |
* system() and system2() with output redirected to a character |
|
| 388 |
vector now give a warning if the command returns a non-zero error |
|
| 389 |
code. (This is what a Unix-alike does as from R 2.12.0.) |
|
| 390 |
|
|
| 391 |
* system() and system2() no longer discard output from the command |
|
| 392 |
to stdout and stderr as often as they used to, and more cases of |
|
| 393 |
system2() are implemented. |
|
| 394 |
|
|
| 395 |
* stdout is now flushed after echoing the input line. |
|
| 396 |
|
|
| 397 |
* The internal implementation of tar() (package utils) is now |
|
| 398 |
supported on Windows. |
|
| 399 |
|
|
| 400 |
INSTALLATION: |
|
| 401 |
|
|
| 402 |
* The MSI installer is now made by an R script, and there is now |
|
| 403 |
support for 64-bit builds. (Unlike the Inno Setup installer, |
|
| 404 |
there are separate MSI installers for 32- and 64-bit Windows.) |
|
| 405 |
|
|
| 406 |
It is now built using WiX 3.x rather than WiX 2.0. (As a result |
|
| 407 |
it is about 25% smaller.) |
|
| 408 |
|
|
| 409 |
BUG FIXES: |
|
| 410 |
|
|
| 411 |
* Some warning/error messages from dyn.load() could be masked in |
|
| 412 |
Rgui on Windows 7, as that OS can return messages containing |
|
| 413 |
carriage returns and Rgui does not support overwriting. |
|
| 414 |
|
|
| 415 |
* Filenames could not be specified using backslashes in Sweave(). |
|
| 416 |
|
|
| 417 |
* In R 2.12.0, system(intern = TRUE) captured stderr on Rterm when |
|
| 418 |
it was documented to only do so on Rgui. |
|
| 419 |
|
|
| 420 |
* Rgui in R 2.12.0 (only) did not always handle lines containing |
|
| 421 |
carriage returns (\r) correctly: sometimes random characters |
|
| 422 |
where shown. |
|
| 423 |
|
|
| 424 |
Since carriage returns have been supported in Rgui, the cursor |
|
| 425 |
positioning after outputting a line containing a carriage return |
|
| 426 |
had been unreliable. |
|
| 427 |
|
|
| 428 |
CHANGES IN R VERSION 2.12.0: |
|
| 429 |
|
|
| 430 |
NEW FEATURES: |
|
| 431 |
|
|
| 432 |
* A sub-architecture is used for 32-bit (i386) as well as 64-bit |
|
| 433 |
(x64) builds. 32-bit packages containing compiled code need to |
|
| 434 |
re-installed for this release (64-bit packages built for 2.11.x |
|
| 435 |
will most likely still work). |
|
| 436 |
|
|
| 437 |
Architecture-specific files (such as Rgui.exe and Rscript.exe) |
|
| 438 |
are now in R_HOME/bin/i386 or R_HOME/bin/x64. |
|
| 439 |
|
|
| 440 |
Because many people expect it, there is an executable |
|
| 441 |
R_HOME/bin/R.exe, which accepts --arch and launches either |
|
| 442 |
R_HOME/bin/i386/R.exe or R_HOME/bin/x64/R.exe, and analogously |
|
| 443 |
for Rscript.exe. If not specified by their argument --arch, |
|
| 444 |
these check the environment variable R_ARCH for the architecture |
|
| 445 |
to use. |
|
| 446 |
|
|
| 447 |
* The Rgui console now has an optional blinking caret (cursor) to |
|
| 448 |
assist screen readers for the visually impaired. |
|
| 449 |
|
|
| 450 |
* normalizePath() now signals a warning instead of an error when |
|
| 451 |
the input path does not exist. It attempts partial |
|
| 452 |
normalization, or if that fails, returns the original input. |
|
| 453 |
|
|
| 454 |
* All the Rcmd sub-commands except config and Sd2d are now handled |
|
| 455 |
internally rather by shell scripts. |
|
| 456 |
|
|
| 457 |
* Rcmd has a new sub-command texify to run MiKTeX's texify.exe with |
|
| 458 |
arguments to find files such as Sweave.sty. See the examples in |
|
| 459 |
?Sweave. |
|
| 460 |
|
|
| 461 |
* system(intern = FALSE) now returns 127 (the same as Unix-alikes) |
|
| 462 |
rather than -1 if the command cannot be run, and (like |
|
| 463 |
Unix-alikes) no longer gives a warning. |
|
| 464 |
|
|
| 465 |
* Rscript -e and similar use a temporary file, and now work harder |
|
| 466 |
to ensure that filename is not the same as some other |
|
| 467 |
simultaneous R process. |
|
| 468 |
|
|
| 469 |
INSTALLATION: |
|
| 470 |
|
|
| 471 |
* The preferred toolchain for 32-bit builds (including packages) is |
|
| 472 |
now based on gcc 4.5.0: see the 'R Installation and |
|
| 473 |
Administration Manual'. |
|
| 474 |
|
|
| 475 |
* It is now possible to build R and the standard installer without |
|
| 476 |
Perl: only maintainer-mode tasks now need Perl. |
|
| 477 |
|
|
| 478 |
64-bit NEWS: |
|
| 479 |
|
|
| 480 |
* The 32- and 64-bit distributions have been merged: |
|
| 481 |
|
|
| 482 |
There is a combined installer (called R-<version>-win.exe). When |
|
| 483 |
used under 32-bit Windows this works as before and installs |
|
| 484 |
32-bit R. When used under 64-bit Windows there are options to |
|
| 485 |
install either or both of 32- and 64-bit R: the default is to |
|
| 486 |
install both. |
|
| 487 |
|
|
| 488 |
The default package type is "win.binary" on both 32- and 64-bit |
|
| 489 |
builds: a single repository contains binary packages for both |
|
| 490 |
architectures. This is in place for CRAN, CRAN extras and BioC: |
|
| 491 |
type = "win64.binary" can still be used for any repositories |
|
| 492 |
which follow the R 2.11.x convention. With the default filters |
|
| 493 |
(see ?available.packages) packages will only be offered if they |
|
| 494 |
are available for the current architecture. |
|
| 495 |
|
|
| 496 |
The default personal library, e.g. ~/R/win-library/2.12 is now |
|
| 497 |
the same for both 32- and 64-bit R. |
|
| 498 |
|
|
| 499 |
* The recommended 64-bit toolchain has been changed to one that |
|
| 500 |
does not add leading underscores. See <URL: |
|
| 501 |
http://www.murdoch-sutherland.com/Rtools/> or <URL: |
|
| 502 |
http://www.stats.ox.ac.uk/pub/Rtools/>. Any static or import |
|
| 503 |
libraries for external software used in installing packages will |
|
| 504 |
need to be re-compiled for this toolchain, but the use of DLLs is |
|
| 505 |
unaffected. |
|
| 506 |
|
|
| 507 |
* For those building R from the sources, the 64-bit Tcl binary |
|
| 508 |
distribution for 2.12.x is in file R64a_Tcl_8-5-8.zip and |
|
| 509 |
contains e.g. directory Tcl/bin64 and not Tcl/bin. |
|
| 510 |
|
|
| 511 |
PACKAGE INSTALLATION: |
|
| 512 |
|
|
| 513 |
* The deprecated environment variable RHOME is no longer set when a |
|
| 514 |
package is installed: use R_HOME instead (and depend on R (>= |
|
| 515 |
2.9) ). |
|
| 516 |
|
|
| 517 |
* Package installation, including configure.win scripts, can use |
|
| 518 |
${R_HOME}/bin${R_ARCH_BIN} as a portable way to find the binaries
|
|
| 519 |
such as Rscript.exe. |
|
| 520 |
|
|
| 521 |
BUG FIXES: |
|
| 522 |
|
|
| 523 |
* R.exe when used in place of Rterm.exe set the environment |
|
| 524 |
variables set by R CMD. Conversely, R CMD BATCH did not. |
|
| 525 |
|
|
| 526 |
CHANGES IN R VERSION 2.11.1 patched: |
|
| 527 |
|
|
| 528 |
BUG FIXES: |
|
| 529 |
|
|
| 530 |
* file.rename() now waits for the rename to complete before |
|
| 531 |
returning, so that operations on the new filename will not fail. |
|
| 532 |
|
|
| 533 |
* Sys.info() and win.version() now report Windows 7 as such (and |
|
| 534 |
not as Vista), and Sys.info() now reports the machine type as |
|
| 535 |
"x86-64" on 64-bit platforms. |
|
| 536 |
|
|
| 537 |
* serialize() to a raw vector works around the dismal performance |
|
| 538 |
of Windows' memory manager by allocating much larger chunks of |
|
| 539 |
memory less frequently. |
|
| 540 |
|
|
| 541 |
* readClipboard() could cause a segfault with certain clipboard |
|
| 542 |
data. |
|
| 543 |
|
|
| 544 |
* A fix intended for Mac OS X was incorrectly applied to Windows, |
|
| 545 |
so iconv(x, from, "") in a C locale was interpreted as requesting |
|
| 546 |
translation to UTF-8. |
|
| 547 |
|
|
| 548 |
* system(intern=TRUE) often returned 0 rather than an error status |
|
| 549 |
if the command could not be found, if run from Rterm or from Rgui |
|
| 550 |
with show.output.on.console = FALSE. |
|
| 551 |
|
|
| 552 |
* memory.limit() did not allow sizes greater than 4095 on 64 bit |
|
| 553 |
builds. (PR#14372) |
|
| 554 |
|
|
| 555 |
CHANGES IN R VERSION 2.11.1: |
|
| 556 |
|
|
| 557 |
NEW FEATURES: |
|
| 558 |
|
|
| 559 |
* The Rgui console, pagers and editor on the 64-bit build now have |
|
| 560 |
a title bar icon. |
|
| 561 |
|
|
| 562 |
* The outer frame/console for Rgui/Rterm mentions '(64-bit)' to |
|
| 563 |
make it easier to distinguish running copies of R. |
|
| 564 |
|
|
| 565 |
* The package entries in listbox shown by the Install package(s) |
|
| 566 |
... menu are now explicitly sorted in the current locale (as they |
|
| 567 |
were in most previous releases, but not in 2.11.0). |
|
| 568 |
|
|
| 569 |
* R CMD INSTALL can install zipfiles as binary packages. |
|
| 570 |
|
|
| 571 |
* Errors in the Rconsole file are ignored: silently on startup, |
|
| 572 |
with a warning when Rconsole is loaded interactively. |
|
| 573 |
|
|
| 574 |
CHANGES IN R VERSION 2.11.0: |
|
| 575 |
|
|
| 576 |
NEW FEATURES: |
|
| 577 |
|
|
| 578 |
* There is now a native x64 Windows port, with a binary installer |
|
| 579 |
and binaries of packages available on CRAN. See the 'R |
|
| 580 |
Administration and Installation Manual' and the 'R for Windows |
|
| 581 |
FAQ'. |
|
| 582 |
|
|
| 583 |
* Rcmd cmd (or R CMD cmd) now runs an arbitrary 'cmd' if 'cmd' is |
|
| 584 |
not one of the builtin commands, and does not have extension |
|
| 585 |
'.sh' or '.pl' (when it is run as a shell or Perl script |
|
| 586 |
respectively). This is done by passing 'cmd' to the command |
|
| 587 |
interpreter determined by the COMSPEC environment variable (which |
|
| 588 |
in a vanilla Windows system points to cmd.exe). |
|
| 589 |
|
|
| 590 |
* X11() and x11() gain additional arguments to be more similar to |
|
| 591 |
the Unix X11() device. |
|
| 592 |
|
|
| 593 |
* file.rename() can work across volumes (by copy-and-delete). |
|
| 594 |
|
|
| 595 |
* The main HTML help page now links to this CHANGES file. |
|
| 596 |
(Suggested by Henrik Bengtsson.) |
|
| 597 |
|
|
| 598 |
* strftime(format = "%z") now gives the timezone names used by the |
|
| 599 |
Olson database and not those used by Windows. |
|
| 600 |
|
|
| 601 |
* iconv(to = "ASCII") no longer transliterates, but iconv(to = |
|
| 602 |
"ASCII//TRANSLIT") will. This makes tools::showNonASCII() work |
|
| 603 |
the same way as on other platforms. |
|
| 604 |
|
|
| 605 |
* readRegistry() can look at either the 32- or 64-bit view of the |
|
| 606 |
Registry on 64-bit Windows. |
|
| 607 |
|
|
| 608 |
INSTALLATION: |
|
| 609 |
|
|
| 610 |
* The Tcl timezone files (3Mb on disc) are now an optional part of |
|
| 611 |
the installation: they would be very rarely used with R. |
|
| 612 |
|
|
| 613 |
* RSetReg.exe has been updated to (un)set the version-specific keys |
|
| 614 |
in the same way as the main installer, and to have the optional |
|
| 615 |
argument /Personal to (un)set the per-user rather than the |
|
| 616 |
per-machine keys (which need administrative access). |
|
| 617 |
|
|
| 618 |
* When building R, the recommended way is now to supply a file |
|
| 619 |
R_HOME/src/gnuwin32/MkRules.local instead of editing MkRules: |
|
| 620 |
there is now no MkRules file in the distribution, but one is |
|
| 621 |
generated during the build process. |
|
| 622 |
|
|
| 623 |
MkRules.local can be generated by copying and editing |
|
| 624 |
MkRules.dist. |
|
| 625 |
|
|
| 626 |
* The MSI installer defaults to an all-user (per machine) install |
|
| 627 |
(by setting the ALLUSERS property to 1). This can be changed at |
|
| 628 |
installation, and it can be built for a user-mode install (see |
|
| 629 |
MkRules.dist). |
|
| 630 |
|
|
| 631 |
BUG FIXES: |
|
| 632 |
|
|
| 633 |
* Using ESC to interrupt a system() call could cause R to become |
|
| 634 |
unstable. |
|
| 635 |
|
|
| 636 |
* 0^1i (which should be complex NAN) was incorrect. |
|
| 637 |
|
|
| 638 |
CHANGES IN R VERSION 2.10.1 patched: |
|
| 639 |
|
|
| 640 |
BUG FIXES: |
|
| 641 |
|
|
| 642 |
* Some of the MDI toolbar buttons (e.g., "Open Script") did not |
|
| 643 |
return the focus to the console if the user cancelled the action. |
|
| 644 |
|
|
| 645 |
* system() (and hence shell()) did not always set the standard file |
|
| 646 |
handles properly, so some programs would not run. |
|
| 647 |
|
|
| 648 |
* setWinProgressBar() did not check the type of its 'title' and |
|
| 649 |
'label' arguments and might have crashed if they were |
|
| 650 |
mis-specified. It now does, thanks to a report by Greg Snow. |
|
| 651 |
|
|
| 652 |
CHANGES IN R VERSION 2.10.1: |
|
| 653 |
|
|
| 654 |
BUG FIXES: |
|
| 655 |
|
|
| 656 |
* The installer did not properly record help type choices in |
|
| 657 |
R_HOME/etc/Rprofile.site. |
|
| 658 |
|
|
| 659 |
* Rcmd INSTALL once again uses --no-restore, for consistency with |
|
| 660 |
the Unix version and R 2.9.2. |
|
| 661 |
|
|
| 662 |
* The HTML package index was not constructed properly when the |
|
| 663 |
library path was specified with backslashes. (Patch submitted by |
|
| 664 |
Gabor Grothendieck.) |
|
| 665 |
|
|
| 666 |
CHANGES IN R VERSION 2.10.0: |
|
| 667 |
|
|
| 668 |
NEW FEATURES: |
|
| 669 |
|
|
| 670 |
* windows() now has a parameter fillOddEven (default TRUE), which |
|
| 671 |
controls the mode used for polygon fills of self-intersecting |
|
| 672 |
shapes. |
|
| 673 |
|
|
| 674 |
* The functions arrangeWindows() and getWindowsHandles() have been |
|
| 675 |
added to give more programmatic control to the appearance of |
|
| 676 |
windows in an R session. |
|
| 677 |
|
|
| 678 |
* A 'Windows' menu has been added to the SDI version of the R GUI, |
|
| 679 |
and the corresponding menu in the MDI version has been expanded |
|
| 680 |
slightly. |
|
| 681 |
|
|
| 682 |
* The libpng library has been updated to version 1.2.40. |
|
| 683 |
|
|
| 684 |
* The remaining Perl scripts build, check, Rprof, Sd2Rd in |
|
| 685 |
R_HOME/bin now have extension .pl. |
|
| 686 |
|
|
| 687 |
* Rcmd (or R CMD) can now run .sh (shell) and .pl (Perl) scripts |
|
| 688 |
anywhere on the path (as well as .bat and .exe files as before). |
|
| 689 |
|
|
| 690 |
PACKAGE INSTALLATION: |
|
| 691 |
|
|
| 692 |
* Rcmd SHLIB (which is used by Rcmd INSTALL) now calls make without |
|
| 693 |
a target, rather than target 'all'. This is now the same as on |
|
| 694 |
Unix, and was announced in the NEWS file for 2.9.0. |
|
| 695 |
|
|
| 696 |
* Help files are no longer zipped: rendering as text, HTML, latex |
|
| 697 |
or examples is now done when needed. |
|
| 698 |
|
|
| 699 |
Options --use-zip and --use-zip-help in R CMD INSTALL are no |
|
| 700 |
longer available and --auto-zip only zips data (or not). |
|
| 701 |
|
|
| 702 |
Help in packages installed under 2.9.x may not work correctly, |
|
| 703 |
and a warning is given when such a package is attached by |
|
| 704 |
library(). Re-installation of all packages is strongly |
|
| 705 |
recommended (use update.packages(checkBuilt = TRUE)). |
|
| 706 |
|
|
| 707 |
Binary packages are installed without CHM help if they contain it |
|
| 708 |
(as those intended for 2.9.x may). |
|
| 709 |
|
|
| 710 |
* It is possible to install source packages without Rtools provided |
|
| 711 |
they have no compiled code and no configure.win or cleanup.win |
|
| 712 |
script. |
|
| 713 |
|
|
| 714 |
INSTALLATION: |
|
| 715 |
|
|
| 716 |
* Support for memory profiling is enabled in a standard build (this |
|
| 717 |
can be changed by editing config.h). |
|
| 718 |
|
|
| 719 |
* CHM help is no longer supported. |
|
| 720 |
|
|
| 721 |
* The help default for the standard installer is HTML help rather |
|
| 722 |
than CHM help. |
|
| 723 |
|
|
| 724 |
* The categories in the installers have been simplified. Now the |
|
| 725 |
files to support installation of source packages are always |
|
| 726 |
installed (they are now only 0.7Mb), and there are no longer |
|
| 727 |
categories 'chtml', 'html/help', 'latex' and 'Rd'. |
|
| 728 |
|
|
| 729 |
BUG FIXES: |
|
| 730 |
|
|
| 731 |
* Rcmd open now works as documented: previously Rcmd open.exe was |
|
| 732 |
required. |
|
| 733 |
|
|
| 734 |
* cat(x, file=) in Rgui tried to interpret UTF-8-encoded strings |
|
| 735 |
for the console rather than converting them to the native |
|
| 736 |
encoding. |
|
| 737 |
|
|
| tmp/org.txm.statsengine.r.core.win32/res/win32/COPYING (revision 2486) | ||
|---|---|---|
| 1 |
GNU GENERAL PUBLIC LICENSE |
|
| 2 |
Version 2, June 1991 |
|
| 3 |
|
|
| 4 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
|
| 5 |
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
| 6 |
Everyone is permitted to copy and distribute verbatim copies |
|
| 7 |
of this license document, but changing it is not allowed. |
|
| 8 |
|
|
| 9 |
Preamble |
|
| 10 |
|
|
| 11 |
The licenses for most software are designed to take away your |
|
| 12 |
freedom to share and change it. By contrast, the GNU General Public |
|
| 13 |
License is intended to guarantee your freedom to share and change free |
|
| 14 |
software--to make sure the software is free for all its users. This |
|
| 15 |
General Public License applies to most of the Free Software |
|
| 16 |
Foundation's software and to any other program whose authors commit to |
|
| 17 |
using it. (Some other Free Software Foundation software is covered by |
|
| 18 |
the GNU Library General Public License instead.) You can apply it to |
|
| 19 |
your programs, too. |
|
| 20 |
|
|
| 21 |
When we speak of free software, we are referring to freedom, not |
|
| 22 |
price. Our General Public Licenses are designed to make sure that you |
|
| 23 |
have the freedom to distribute copies of free software (and charge for |
|
| 24 |
this service if you wish), that you receive source code or can get it |
|
| 25 |
if you want it, that you can change the software or use pieces of it |
|
| 26 |
in new free programs; and that you know you can do these things. |
|
| 27 |
|
|
| 28 |
To protect your rights, we need to make restrictions that forbid |
|
| 29 |
anyone to deny you these rights or to ask you to surrender the rights. |
|
| 30 |
These restrictions translate to certain responsibilities for you if you |
|
| 31 |
distribute copies of the software, or if you modify it. |
|
| 32 |
|
|
| 33 |
For example, if you distribute copies of such a program, whether |
|
| 34 |
gratis or for a fee, you must give the recipients all the rights that |
|
| 35 |
you have. You must make sure that they, too, receive or can get the |
|
| 36 |
source code. And you must show them these terms so they know their |
|
| 37 |
rights. |
|
| 38 |
|
|
| 39 |
We protect your rights with two steps: (1) copyright the software, and |
|
| 40 |
(2) offer you this license which gives you legal permission to copy, |
|
| 41 |
distribute and/or modify the software. |
|
| 42 |
|
|
| 43 |
Also, for each author's protection and ours, we want to make certain |
|
| 44 |
that everyone understands that there is no warranty for this free |
|
| 45 |
software. If the software is modified by someone else and passed on, we |
|
| 46 |
want its recipients to know that what they have is not the original, so |
|
| 47 |
that any problems introduced by others will not reflect on the original |
|
| 48 |
authors' reputations. |
|
| 49 |
|
|
| 50 |
Finally, any free program is threatened constantly by software |
|
| 51 |
patents. We wish to avoid the danger that redistributors of a free |
|
| 52 |
program will individually obtain patent licenses, in effect making the |
|
| 53 |
program proprietary. To prevent this, we have made it clear that any |
|
| 54 |
patent must be licensed for everyone's free use or not licensed at all. |
|
| 55 |
|
|
| 56 |
The precise terms and conditions for copying, distribution and |
|
| 57 |
modification follow. |
|
| 58 |
|
|
| 59 |
GNU GENERAL PUBLIC LICENSE |
|
| 60 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
| 61 |
|
|
| 62 |
0. This License applies to any program or other work which contains |
|
| 63 |
a notice placed by the copyright holder saying it may be distributed |
|
| 64 |
under the terms of this General Public License. The "Program", below, |
|
| 65 |
refers to any such program or work, and a "work based on the Program" |
|
| 66 |
means either the Program or any derivative work under copyright law: |
|
| 67 |
that is to say, a work containing the Program or a portion of it, |
|
| 68 |
either verbatim or with modifications and/or translated into another |
|
| 69 |
language. (Hereinafter, translation is included without limitation in |
|
| 70 |
the term "modification".) Each licensee is addressed as "you". |
|
| 71 |
|
|
| 72 |
Activities other than copying, distribution and modification are not |
|
| 73 |
covered by this License; they are outside its scope. The act of |
|
| 74 |
running the Program is not restricted, and the output from the Program |
|
| 75 |
is covered only if its contents constitute a work based on the |
|
| 76 |
Program (independent of having been made by running the Program). |
|
| 77 |
Whether that is true depends on what the Program does. |
|
| 78 |
|
|
| 79 |
1. You may copy and distribute verbatim copies of the Program's |
|
| 80 |
source code as you receive it, in any medium, provided that you |
|
| 81 |
conspicuously and appropriately publish on each copy an appropriate |
|
| 82 |
copyright notice and disclaimer of warranty; keep intact all the |
|
| 83 |
notices that refer to this License and to the absence of any warranty; |
|
| 84 |
and give any other recipients of the Program a copy of this License |
|
| 85 |
along with the Program. |
|
| 86 |
|
|
| 87 |
You may charge a fee for the physical act of transferring a copy, and |
|
| 88 |
you may at your option offer warranty protection in exchange for a fee. |
|
| 89 |
|
|
| 90 |
2. You may modify your copy or copies of the Program or any portion |
|
| 91 |
of it, thus forming a work based on the Program, and copy and |
|
| 92 |
distribute such modifications or work under the terms of Section 1 |
|
| 93 |
above, provided that you also meet all of these conditions: |
|
| 94 |
|
|
| 95 |
a) You must cause the modified files to carry prominent notices |
|
| 96 |
stating that you changed the files and the date of any change. |
|
| 97 |
|
|
| 98 |
b) You must cause any work that you distribute or publish, that in |
|
| 99 |
whole or in part contains or is derived from the Program or any |
|
| 100 |
part thereof, to be licensed as a whole at no charge to all third |
|
| 101 |
parties under the terms of this License. |
|
| 102 |
|
|
| 103 |
c) If the modified program normally reads commands interactively |
|
| 104 |
when run, you must cause it, when started running for such |
|
| 105 |
interactive use in the most ordinary way, to print or display an |
|
| 106 |
announcement including an appropriate copyright notice and a |
|
| 107 |
notice that there is no warranty (or else, saying that you provide |
|
| 108 |
a warranty) and that users may redistribute the program under |
|
| 109 |
these conditions, and telling the user how to view a copy of this |
|
| 110 |
License. (Exception: if the Program itself is interactive but |
|
| 111 |
does not normally print such an announcement, your work based on |
|
| 112 |
the Program is not required to print an announcement.) |
|
| 113 |
|
|
| 114 |
These requirements apply to the modified work as a whole. If |
|
| 115 |
identifiable sections of that work are not derived from the Program, |
|
| 116 |
and can be reasonably considered independent and separate works in |
|
| 117 |
themselves, then this License, and its terms, do not apply to those |
|
| 118 |
sections when you distribute them as separate works. But when you |
|
| 119 |
distribute the same sections as part of a whole which is a work based |
|
| 120 |
on the Program, the distribution of the whole must be on the terms of |
|
| 121 |
this License, whose permissions for other licensees extend to the |
|
| 122 |
entire whole, and thus to each and every part regardless of who wrote it. |
|
| 123 |
|
|
| 124 |
Thus, it is not the intent of this section to claim rights or contest |
|
| 125 |
your rights to work written entirely by you; rather, the intent is to |
|
| 126 |
exercise the right to control the distribution of derivative or |
|
| 127 |
collective works based on the Program. |
|
| 128 |
|
|
| 129 |
In addition, mere aggregation of another work not based on the Program |
|
| 130 |
with the Program (or with a work based on the Program) on a volume of |
|
| 131 |
a storage or distribution medium does not bring the other work under |
|
| 132 |
the scope of this License. |
|
| 133 |
|
|
| 134 |
3. You may copy and distribute the Program (or a work based on it, |
|
| 135 |
under Section 2) in object code or executable form under the terms of |
|
| 136 |
Sections 1 and 2 above provided that you also do one of the following: |
|
| 137 |
|
|
| 138 |
a) Accompany it with the complete corresponding machine-readable |
|
| 139 |
source code, which must be distributed under the terms of Sections |
|
| 140 |
1 and 2 above on a medium customarily used for software interchange; or, |
|
| 141 |
|
|
| 142 |
b) Accompany it with a written offer, valid for at least three |
|
| 143 |
years, to give any third party, for a charge no more than your |
|
| 144 |
cost of physically performing source distribution, a complete |
|
| 145 |
machine-readable copy of the corresponding source code, to be |
|
| 146 |
distributed under the terms of Sections 1 and 2 above on a medium |
|
| 147 |
customarily used for software interchange; or, |
|
| 148 |
|
|
| 149 |
c) Accompany it with the information you received as to the offer |
|
| 150 |
to distribute corresponding source code. (This alternative is |
|
| 151 |
allowed only for noncommercial distribution and only if you |
|
| 152 |
received the program in object code or executable form with such |
|
| 153 |
an offer, in accord with Subsection b above.) |
|
| 154 |
|
|
| 155 |
The source code for a work means the preferred form of the work for |
|
| 156 |
making modifications to it. For an executable work, complete source |
|
| 157 |
code means all the source code for all modules it contains, plus any |
|
| 158 |
associated interface definition files, plus the scripts used to |
|
| 159 |
control compilation and installation of the executable. However, as a |
|
| 160 |
special exception, the source code distributed need not include |
|
| 161 |
anything that is normally distributed (in either source or binary |
|
| 162 |
form) with the major components (compiler, kernel, and so on) of the |
|
| 163 |
operating system on which the executable runs, unless that component |
|
| 164 |
itself accompanies the executable. |
|
| 165 |
|
|
| 166 |
If distribution of executable or object code is made by offering |
|
| 167 |
access to copy from a designated place, then offering equivalent |
|
| 168 |
access to copy the source code from the same place counts as |
|
| 169 |
distribution of the source code, even though third parties are not |
|
| 170 |
compelled to copy the source along with the object code. |
|
| 171 |
|
|
| 172 |
4. You may not copy, modify, sublicense, or distribute the Program |
|
| 173 |
except as expressly provided under this License. Any attempt |
|
| 174 |
otherwise to copy, modify, sublicense or distribute the Program is |
|
| 175 |
void, and will automatically terminate your rights under this License. |
|
| 176 |
However, parties who have received copies, or rights, from you under |
|
| 177 |
this License will not have their licenses terminated so long as such |
|
| 178 |
parties remain in full compliance. |
|
| 179 |
|
|
| 180 |
5. You are not required to accept this License, since you have not |
|
| 181 |
signed it. However, nothing else grants you permission to modify or |
|
| 182 |
distribute the Program or its derivative works. These actions are |
|
| 183 |
prohibited by law if you do not accept this License. Therefore, by |
|
| 184 |
modifying or distributing the Program (or any work based on the |
|
| 185 |
Program), you indicate your acceptance of this License to do so, and |
|
| 186 |
all its terms and conditions for copying, distributing or modifying |
|
| 187 |
the Program or works based on it. |
|
| 188 |
|
|
| 189 |
6. Each time you redistribute the Program (or any work based on the |
|
| 190 |
Program), the recipient automatically receives a license from the |
|
| 191 |
original licensor to copy, distribute or modify the Program subject to |
|
| 192 |
these terms and conditions. You may not impose any further |
|
| 193 |
restrictions on the recipients' exercise of the rights granted herein. |
|
| 194 |
You are not responsible for enforcing compliance by third parties to |
|
| 195 |
this License. |
|
| 196 |
|
|
| 197 |
7. If, as a consequence of a court judgment or allegation of patent |
|
| 198 |
infringement or for any other reason (not limited to patent issues), |
|
| 199 |
conditions are imposed on you (whether by court order, agreement or |
|
| 200 |
otherwise) that contradict the conditions of this License, they do not |
|
| 201 |
excuse you from the conditions of this License. If you cannot |
|
| 202 |
distribute so as to satisfy simultaneously your obligations under this |
|
| 203 |
License and any other pertinent obligations, then as a consequence you |
|
| 204 |
may not distribute the Program at all. For example, if a patent |
|
| 205 |
license would not permit royalty-free redistribution of the Program by |
|
| 206 |
all those who receive copies directly or indirectly through you, then |
|
| 207 |
the only way you could satisfy both it and this License would be to |
|
| 208 |
refrain entirely from distribution of the Program. |
|
| 209 |
|
|
| 210 |
If any portion of this section is held invalid or unenforceable under |
|
| 211 |
any particular circumstance, the balance of the section is intended to |
|
| 212 |
apply and the section as a whole is intended to apply in other |
|
| 213 |
circumstances. |
|
| 214 |
|
|
| 215 |
It is not the purpose of this section to induce you to infringe any |
|
| 216 |
patents or other property right claims or to contest validity of any |
|
| 217 |
such claims; this section has the sole purpose of protecting the |
|
| 218 |
integrity of the free software distribution system, which is |
|
| 219 |
implemented by public license practices. Many people have made |
|
| 220 |
generous contributions to the wide range of software distributed |
|
| 221 |
through that system in reliance on consistent application of that |
|
| 222 |
system; it is up to the author/donor to decide if he or she is willing |
|
| 223 |
to distribute software through any other system and a licensee cannot |
|
| 224 |
impose that choice. |
|
| 225 |
|
|
| 226 |
This section is intended to make thoroughly clear what is believed to |
|
| 227 |
be a consequence of the rest of this License. |
|
| 228 |
|
|
| 229 |
8. If the distribution and/or use of the Program is restricted in |
|
| 230 |
certain countries either by patents or by copyrighted interfaces, the |
|
| 231 |
original copyright holder who places the Program under this License |
|
| 232 |
may add an explicit geographical distribution limitation excluding |
|
| 233 |
those countries, so that distribution is permitted only in or among |
|
| 234 |
countries not thus excluded. In such case, this License incorporates |
|
| 235 |
the limitation as if written in the body of this License. |
|
| 236 |
|
|
| 237 |
9. The Free Software Foundation may publish revised and/or new versions |
|
| 238 |
of the General Public License from time to time. Such new versions will |
|
| 239 |
be similar in spirit to the present version, but may differ in detail to |
|
| 240 |
address new problems or concerns. |
|
| 241 |
|
|
| 242 |
Each version is given a distinguishing version number. If the Program |
|
| 243 |
specifies a version number of this License which applies to it and "any |
|
| 244 |
later version", you have the option of following the terms and conditions |
|
| 245 |
either of that version or of any later version published by the Free |
|
| 246 |
Software Foundation. If the Program does not specify a version number of |
|
| 247 |
this License, you may choose any version ever published by the Free Software |
|
| 248 |
Foundation. |
|
| 249 |
|
|
| 250 |
10. If you wish to incorporate parts of the Program into other free |
|
| 251 |
programs whose distribution conditions are different, write to the author |
|
| 252 |
to ask for permission. For software which is copyrighted by the Free |
|
| 253 |
Software Foundation, write to the Free Software Foundation; we sometimes |
|
| 254 |
make exceptions for this. Our decision will be guided by the two goals |
|
| 255 |
of preserving the free status of all derivatives of our free software and |
|
| 256 |
of promoting the sharing and reuse of software generally. |
|
| 257 |
|
|
| 258 |
NO WARRANTY |
|
| 259 |
|
|
| 260 |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
|
| 261 |
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
|
| 262 |
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
|
| 263 |
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
|
| 264 |
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
| 265 |
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
|
| 266 |
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
|
| 267 |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
|
| 268 |
REPAIR OR CORRECTION. |
|
| 269 |
|
|
| 270 |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
|
| 271 |
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
| 272 |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
|
| 273 |
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
|
| 274 |
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
|
| 275 |
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
|
| 276 |
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
|
| 277 |
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
|
| 278 |
POSSIBILITY OF SUCH DAMAGES. |
|
| 279 |
|
|
| 280 |
END OF TERMS AND CONDITIONS |
|
| 281 |
|
|
| 282 |
How to Apply These Terms to Your New Programs |
|
| 283 |
|
|
| 284 |
If you develop a new program, and you want it to be of the greatest |
|
| 285 |
possible use to the public, the best way to achieve this is to make it |
|
| 286 |
free software which everyone can redistribute and change under these terms. |
|
| 287 |
|
|
| 288 |
To do so, attach the following notices to the program. It is safest |
|
| 289 |
to attach them to the start of each source file to most effectively |
|
| 290 |
convey the exclusion of warranty; and each file should have at least |
|
| 291 |
the "copyright" line and a pointer to where the full notice is found. |
|
| 292 |
|
|
| 293 |
<one line to give the program's name and a brief idea of what it does.> |
|
| 294 |
Copyright (C) <year> <name of author> |
|
| 295 |
|
|
| 296 |
This program is free software; you can redistribute it and/or modify |
|
| 297 |
it under the terms of the GNU General Public License as published by |
|
| 298 |
the Free Software Foundation; either version 2 of the License, or |
|
| 299 |
(at your option) any later version. |
|
| 300 |
|
|
| 301 |
This program is distributed in the hope that it will be useful, |
|
| 302 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 303 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 304 |
GNU General Public License for more details. |
|
| 305 |
|
|
| 306 |
You should have received a copy of the GNU General Public License |
|
| 307 |
along with this program; if not, write to the Free Software |
|
| 308 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
| 309 |
|
|
| 310 |
|
|
| 311 |
Also add information on how to contact you by electronic and paper mail. |
|
| 312 |
|
|
| 313 |
If the program is interactive, make it output a short notice like this |
|
| 314 |
when it starts in an interactive mode: |
|
| 315 |
|
|
| 316 |
Gnomovision version 69, Copyright (C) year name of author |
|
| 317 |
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
|
| 318 |
This is free software, and you are welcome to redistribute it |
|
| 319 |
under certain conditions; type `show c' for details. |
|
| 320 |
|
|
| 321 |
The hypothetical commands `show w' and `show c' should show the appropriate |
|
| 322 |
parts of the General Public License. Of course, the commands you use may |
|
| 323 |
be called something other than `show w' and `show c'; they could even be |
|
| 324 |
mouse-clicks or menu items--whatever suits your program. |
|
| 325 |
|
|
| 326 |
You should also get your employer (if you work as a programmer) or your |
|
| 327 |
school, if any, to sign a "copyright disclaimer" for the program, if |
|
| 328 |
necessary. Here is a sample; alter the names: |
|
| 329 |
|
|
| 330 |
Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
|
| 331 |
`Gnomovision' (which makes passes at compilers) written by James Hacker. |
|
| 332 |
|
|
| 333 |
<signature of Ty Coon>, 1 April 1989 |
|
| 334 |
Ty Coon, President of Vice |
|
| 335 |
|
|
| 336 |
This General Public License does not permit incorporating your program into |
|
| 337 |
proprietary programs. If your program is a subroutine library, you may |
|
| 338 |
consider it more useful to permit linking proprietary applications with the |
|
| 339 |
library. If this is what you want to do, use the GNU Library General |
|
| 340 |
Public License instead of this License. |
|
| tmp/org.txm.statsengine.r.core.win32/res/win32/bin/config.sh (revision 2486) | ||
|---|---|---|
| 1 |
## config -- Simple shell script to get the values of basic R configure |
|
| 2 |
## variables, or the header and library flags necessary for linking |
|
| 3 |
## against R. |
|
| 4 |
## |
|
| 5 |
## Usage: |
|
| 6 |
## R CMD config [options] [VAR] |
|
| 7 |
|
|
| 8 |
## Copyright (C) 2002-2013 The R Core Team |
|
| 9 |
## |
|
| 10 |
## This document is free software; you can redistribute it and/or modify |
|
| 11 |
## it under the terms of the GNU General Public License as published by |
|
| 12 |
## the Free Software Foundation; either version 2, or (at your option) |
|
| 13 |
## any later version. |
|
| 14 |
## |
|
| 15 |
## This program is distributed in the hope that it will be useful, but |
|
| 16 |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 17 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
| 18 |
## General Public License for more details. |
|
| 19 |
## |
|
| 20 |
## A copy of the GNU General Public License is available at |
|
| 21 |
## http://www.r-project.org/Licenses/ |
|
| 22 |
|
|
| 23 |
revision='$Revision: 65647 $' |
|
| 24 |
version=`set - ${revision}; echo ${2}`
|
|
| 25 |
version="R configuration information retrieval script: ${R_VERSION} (r${version})
|
|
| 26 |
|
|
| 27 |
Copyright (C) 2002-2013 The R Core Team. |
|
| 28 |
This is free software; see the GNU General Public License version 2 |
|
| 29 |
or later for copying conditions. There is NO warranty." |
|
| 30 |
|
|
| 31 |
usage="Usage: R CMD config [options] [VAR] |
|
| 32 |
|
|
| 33 |
Get the value of a basic R configure variable VAR which must be among |
|
| 34 |
those listed in the 'Variables' section below, or the header and |
|
| 35 |
library flags necessary for linking against R. |
|
| 36 |
|
|
| 37 |
Options: |
|
| 38 |
-h, --help print short help message and exit |
|
| 39 |
-v, --version print version info and exit |
|
| 40 |
--cppflags print pre-processor flags required to compile |
|
| 41 |
a C/C++ file using R as a library |
|
| 42 |
--ldflags print linker flags needed for linking a front-end |
|
| 43 |
against the R library |
|
| 44 |
--no-user-files ignore customization files under ~/.R |
|
| 45 |
--no-site-files ignore site customization files under R_HOME/etc |
|
| 46 |
|
|
| 47 |
Variables: |
|
| 48 |
BLAS_LIBS flags needed for linking against external BLAS libraries |
|
| 49 |
CC C compiler command |
|
| 50 |
CFLAGS C compiler flags |
|
| 51 |
CPICFLAGS special flags for compiling C code to be turned into a |
|
| 52 |
shared library |
|
| 53 |
CPP C preprocessor |
|
| 54 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<dir> if you have |
|
| 55 |
headers in a nonstandard directory <dir> |
|
| 56 |
CXX C++ compiler command for C++98 code |
|
| 57 |
CXXCPP C++ preprocessor |
|
| 58 |
CXXFLAGS C++ compiler flags |
|
| 59 |
CXXPICFLAGS special flags for compiling C++ code to be turned into a |
|
| 60 |
shared library |
|
| 61 |
CXX1X C++ compiler command for C++11 code |
|
| 62 |
CXX1XSTD flag used to enable C++11 support |
|
| 63 |
CXX1XFLAGS C++11 compiler flags |
|
| 64 |
CXX1XXPICFLAGS |
|
| 65 |
special flags for compiling C++11 code to be turned into |
|
| 66 |
a shared library |
|
| 67 |
DYLIB_EXT file extension (including '.') for dynamic libraries |
|
| 68 |
DYLIB_LD command for linking dynamic libraries which contain |
|
| 69 |
object files from a C or Fortran compiler only |
|
| 70 |
DYLIB_LDFLAGS |
|
| 71 |
special flags used by DYLIB_LD |
|
| 72 |
F77 Fortran 77 compiler command |
|
| 73 |
FFLAGS Fortran 77 compiler flags |
|
| 74 |
FLIBS linker flags needed to link Fortran code |
|
| 75 |
FPICFLAGS special flags for compiling Fortran code to be turned |
|
| 76 |
into a shared library |
|
| 77 |
FC Fortran 9x compiler command |
|
| 78 |
FCFLAGS Fortran 9x compiler flags |
|
| 79 |
FCPICFLAGS special flags for compiling Fortran 9x code to be turned |
|
| 80 |
into a shared library |
|
| 81 |
JAR Java archive tool command |
|
| 82 |
JAVA Java interpreter command |
|
| 83 |
JAVAC Java compiler command |
|
| 84 |
JAVAH Java header and stub generator command |
|
| 85 |
JAVA_HOME path to the home of Java distribution |
|
| 86 |
JAVA_LIBS flags needed for linking against Java libraries |
|
| 87 |
JAVA_CPPFLAGS C preprocessor flags needed for compiling JNI programs |
|
| 88 |
LAPACK_LIBS flags needed for linking against external LAPACK libraries |
|
| 89 |
LIBnn location for libraries, e.g. 'lib' or 'lib64' on this platform |
|
| 90 |
LDFLAGS linker flags, e.g. -L<dir> if you have libraries in a |
|
| 91 |
nonstandard directory <dir> |
|
| 92 |
OBJC Objective C compiler command |
|
| 93 |
OBJCFLAGS Objective C compiler flags |
|
| 94 |
MAKE Make command |
|
| 95 |
SAFE_FFLAGS Safe (as conformant as possible) Fortran 77 compiler flags |
|
| 96 |
SHLIB_CFLAGS additional CFLAGS used when building shared objects |
|
| 97 |
SHLIB_CXXLD command for linking shared objects which contain |
|
| 98 |
object files from a C++ compiler |
|
| 99 |
SHLIB_CXXLDFLAGS |
|
| 100 |
special flags used by SHLIB_CXXLD |
|
| 101 |
SHLIB_EXT file extension (including '.') for shared objects |
|
| 102 |
SHLIB_FFLAGS additional FFLAGS used when building shared objects |
|
| 103 |
SHLIB_LD command for linking shared objects which contain |
|
| 104 |
object files from a C or Fortran compiler only |
|
| 105 |
SHLIB_LDFLAGS |
|
| 106 |
special flags used by SHLIB_LD |
|
| 107 |
SHLIB_FCLD, SHLIB_FCLDFLAGS |
|
| 108 |
ditto when using Fortran 9x |
|
| 109 |
TCLTK_CPPFLAGS |
|
| 110 |
flags needed for finding the tcl.h and tk.h headers |
|
| 111 |
TCLTK_LIBS flags needed for linking against the Tcl and Tk libraries |
|
| 112 |
|
|
| 113 |
Report bugs at bugs.r-project.org ." |
|
| 114 |
|
|
| 115 |
## <NOTE> |
|
| 116 |
## The variables are basically the precious configure variables (with |
|
| 117 |
## the R_* and MAIN_* ones removed), plus FLIBS and BLAS_LIBS. |
|
| 118 |
## One could use |
|
| 119 |
## precious_configure_vars=`~/src/R/configure --help \ |
|
| 120 |
## | sed -n '/^Some influential/,/^[^ ]/p' \ |
|
| 121 |
## | sed '/^[^ ]/d' \ |
|
| 122 |
## | sed 's/^ //' \ |
|
| 123 |
## | cut -f1 -d ' ' \ |
|
| 124 |
## | grep -v '^MAIN_' \ |
|
| 125 |
## | grep -v '^R_' \ |
|
| 126 |
## | sort \ |
|
| 127 |
## | uniq` |
|
| 128 |
## to obtain the configure vars and hence create most of the above usage |
|
| 129 |
## info as well as the list of accepted variables below automatically. |
|
| 130 |
## </NOTE> |
|
| 131 |
|
|
| 132 |
if test $# = 0; then |
|
| 133 |
echo "${usage}"
|
|
| 134 |
exit 1 |
|
| 135 |
fi |
|
| 136 |
|
|
| 137 |
if test "${R_OSTYPE}" = "windows"; then
|
|
| 138 |
MAKE=make |
|
| 139 |
R_DOC_DIR=${R_HOME}/doc
|
|
| 140 |
R_INCLUDE_DIR=${R_HOME}/include
|
|
| 141 |
R_SHARE_DIR=${R_HOME}/share
|
|
| 142 |
fi |
|
| 143 |
|
|
| 144 |
makefiles="-f ${R_HOME}/etc${R_ARCH}/Makeconf -f ${R_SHARE_DIR}/make/config.mk"
|
|
| 145 |
## avoid passing down -jN |
|
| 146 |
MAKEFLAGS= |
|
| 147 |
export MAKEFLAGS |
|
| 148 |
query="${MAKE} -s ${makefiles} print R_HOME=${R_HOME}"
|
|
| 149 |
|
|
| 150 |
LIBR=`eval $query VAR=LIBR` |
|
| 151 |
STATIC_LIBR=`eval $query VAR=STATIC_LIBR` |
|
| 152 |
MAIN_LDFLAGS=`eval $query VAR=MAIN_LDFLAGS` |
|
| 153 |
LIBS=`eval $query VAR=LIBS` |
|
| 154 |
|
|
| 155 |
|
|
| 156 |
if test -n "${R_ARCH}"; then
|
|
| 157 |
includes="-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}"
|
|
| 158 |
else |
|
| 159 |
includes="-I${R_INCLUDE_DIR}"
|
|
| 160 |
fi |
|
| 161 |
|
|
| 162 |
var= |
|
| 163 |
personal="yes" |
|
| 164 |
site="yes" |
|
| 165 |
while test -n "${1}"; do
|
|
| 166 |
case "${1}" in
|
|
| 167 |
-h|--help) |
|
| 168 |
echo "${usage}"; exit 0 ;;
|
|
| 169 |
-v|--version) |
|
| 170 |
echo "${version}"; exit 0 ;;
|
|
| 171 |
--cppflags) |
|
| 172 |
if test -z "${LIBR}"; then
|
|
| 173 |
if test -z "${STATIC_LIBR}"; then
|
|
| 174 |
echo "R was not built as a library" >&2 |
|
| 175 |
else |
|
| 176 |
echo "${includes}"
|
|
| 177 |
fi |
|
| 178 |
else |
|
| 179 |
echo "${includes}"
|
|
| 180 |
fi |
|
| 181 |
exit 0 |
|
| 182 |
;; |
|
| 183 |
--ldflags) |
|
| 184 |
## changed in R 3.1.0 to be those needed to link a front-end |
|
| 185 |
if test -z "${LIBR}"; then
|
|
| 186 |
if test -z "${STATIC_LIBR}"; then
|
|
| 187 |
echo "R was not built as a library" >&2 |
|
| 188 |
else |
|
| 189 |
echo "${MAIN_LDFLAGS} ${LDFLAGS} ${STATIC_LIBR}"
|
|
| 190 |
fi |
|
| 191 |
else |
|
| 192 |
echo "${MAIN_LDFLAGS} ${LDFLAGS} ${LIBR} ${LIBS}"
|
|
| 193 |
fi |
|
| 194 |
exit 0 |
|
| 195 |
;; |
|
| 196 |
--no-user-files) |
|
| 197 |
personal="no" |
|
| 198 |
;; |
|
| 199 |
--no-site-files) |
|
| 200 |
site="no" |
|
| 201 |
;; |
|
| 202 |
*) |
|
| 203 |
if test -z "${var}"; then
|
|
| 204 |
var="${1}"
|
|
| 205 |
else |
|
| 206 |
echo "ERROR: cannot query more than one variable" >&2 |
|
| 207 |
exit 1 |
|
| 208 |
fi |
|
| 209 |
;; |
|
| 210 |
esac |
|
| 211 |
shift |
|
| 212 |
done |
|
| 213 |
|
|
| 214 |
if test "${site}" = "yes"; then
|
|
| 215 |
: ${R_MAKEVARS_SITE="${R_HOME}/etc${R_ARCH}/Makevars.site"}
|
|
| 216 |
if test -f "${R_MAKEVARS_SITE}"; then
|
|
| 217 |
makefiles="${makefiles} -f ${R_MAKEVARS_SITE}"
|
|
| 218 |
fi |
|
| 219 |
fi |
|
| 220 |
if test "${personal}" = "yes"; then
|
|
| 221 |
if test "${R_OSTYPE}" = "windows"; then
|
|
| 222 |
if test -n "${R_MAKEVARS_USER}"; then
|
|
| 223 |
makefiles="${makefiles} -f ${R_MAKEVARS_USER}"
|
|
| 224 |
elif test ${R_ARCH} = "/x64" -a -f "${HOME}/.R/Makevars.win64"; then
|
|
| 225 |
makefiles="${makefiles} -f ${HOME}/.R/Makevars.win64"
|
|
| 226 |
elif test -f "${HOME}/.R/Makevars.win"; then
|
|
| 227 |
makefiles="${makefiles} -f ${HOME}/.R/Makevars.win"
|
|
| 228 |
elif test -f "${HOME}/.R/Makevars"; then
|
|
| 229 |
makefiles="${makefiles} -f ${HOME}/.R/Makevars"
|
|
| 230 |
fi |
|
| 231 |
else |
|
| 232 |
. ${R_HOME}/etc${R_ARCH}/Renviron
|
|
| 233 |
if test -n "${R_MAKEVARS_USER}"; then
|
|
| 234 |
makefiles="${makefiles} -f ${R_MAKEVARS_USER}"
|
|
| 235 |
elif test -f "${HOME}/.R/Makevars-${R_PLATFORM}"; then
|
|
| 236 |
makefiles="${makefiles} -f ${HOME}/.R/Makevars-${R_PLATFORM}"
|
|
| 237 |
elif test -f "${HOME}/.R/Makevars"; then
|
|
| 238 |
makefiles="${makefiles} -f ${HOME}/.R/Makevars"
|
|
| 239 |
fi |
|
| 240 |
fi |
|
| 241 |
fi |
|
| 242 |
query="${MAKE} -s ${makefiles} print R_HOME=${R_HOME}"
|
|
| 243 |
|
|
| 244 |
ok_c_vars="CC CFLAGS CPICFLAGS CPP CPPFLAGS" |
|
| 245 |
ok_cxx_vars="CXX CXXCPP CXXFLAGS CXXPICFLAGS CXX1X CXX1XSTD CXX1XFLAGS CXX1XPICFLAGS" |
|
| 246 |
ok_dylib_vars="DYLIB_EXT DYLIB_LD DYLIB_LDFLAGS" |
|
| 247 |
ok_objc_vars="OBJC OBJCFLAGS" |
|
| 248 |
ok_java_vars="JAVA JAVAC JAVAH JAR JAVA_HOME JAVA_LIBS JAVA_CPPFLAGS" |
|
| 249 |
ok_f77_vars="F77 FFLAGS FPICFLAGS FLIBS SAFE_FFLAGS FC FCFLAGS FCPICFLAGS" |
|
| 250 |
ok_ld_vars="LDFLAGS" |
|
| 251 |
ok_shlib_vars="SHLIB_CFLAGS SHLIB_CXXLD SHLIB_CXXLDFLAGS SHLIB_EXT SHLIB_FFLAGS SHLIB_LD SHLIB_LDFLAGS SHLIB_FCLD SHLIB_FCLDFLAGS" |
|
| 252 |
ok_tcltk_vars="TCLTK_CPPFLAGS TCLTK_LIBS" |
|
| 253 |
ok_other_vars="BLAS_LIBS LAPACK_LIBS MAKE LIBnn LOCAL_SOFT" |
|
| 254 |
|
|
| 255 |
## Can we do this elegantly using case? |
|
| 256 |
|
|
| 257 |
var_ok=no |
|
| 258 |
for v in ${ok_c_vars} ${ok_cxx_vars} ${ok_dylib_vars} ${ok_f77_vars} \
|
|
| 259 |
${ok_objc_vars} ${ok_java_vars} \
|
|
| 260 |
${ok_ld_vars} ${ok_shlib_vars} ${ok_tcltk_vars} \
|
|
| 261 |
${ok_other_vars}; do
|
|
| 262 |
if test "${var}" = "${v}"; then
|
|
| 263 |
var_ok=yes |
|
| 264 |
break |
|
| 265 |
fi |
|
| 266 |
done |
|
| 267 |
|
|
| 268 |
if test "${var_ok}" = yes; then
|
|
| 269 |
eval "${query} VAR=${var}"
|
|
| 270 |
else |
|
| 271 |
echo "ERROR: no information for variable '${var}'"
|
|
| 272 |
exit 1 |
|
| 273 |
fi |
|
| 274 |
|
|
| 275 |
### Local Variables: *** |
|
| 276 |
### mode: sh *** |
|
| 277 |
### sh-indentation: 2 *** |
|
| 278 |
### End: *** |
|
| tmp/org.txm.statsengine.r.core.win32/res/win32/bin/x64/.Rhistory (revision 2486) | ||
|---|---|---|
| 1 |
install.packages("textometry");
|
|
| 2 |
install.packages("FactoMineR");
|
|
| 3 |
install.packages("RServe");
|
|
| 4 |
install.packages("Rserve");
|
|
| 5 |
install.packages("WordCloud");
|
|
| 6 |
install.packages("wordcloud");
|
|
| 7 |
q(); |
|
Formats disponibles : Unified diff