Skip to content

Commit

Permalink
update to r8007 for R 4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
s-u committed Nov 1, 2021
1 parent 47e9231 commit 7e90bc1
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 42 deletions.
2 changes: 1 addition & 1 deletion InfoPlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* GUI version as shown in infos e.g. 1.27-devel */
#define GUI_VER 1.77
/* R postfix used to denote release versions of GUI - set to R release version (e.g. 2.8.0) or to anything that will be shown in between R and GUI (e.g. - or for Mac) */
#define R_RELEASE 4.1.1
#define R_RELEASE 4.1.2

/* NOTE: unfortunately it is NOT possible to rely on MAC_OS_X_VERSION_MIN_REQUIRED,
because Xcode's Info.plist processing does NOT include flags that are passed to
Expand Down
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
NEWS for R.app GUI for Mac OS X

-- Release Version 1.77 (8007) - supplied with R 4.1.2 --
-- Release Version 1.77 (7985) - supplied with R 4.1.1 --

Last-update: 2021-05-29
Expand Down
85 changes: 44 additions & 41 deletions docs/RMacOSX-FAQ.texi
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
@settitle R for macOS FAQ
@setchapternewpage on
@set FAQ-YEAR 2021
@set FAQ-VERSION 4.1.1 @value{FAQ-YEAR}-08-10
@set REL-VERSION 4.1.1
@set FAQ-VERSION 4.1.2 @value{FAQ-YEAR}-11-01
@set REL-VERSION 4.1.2
@set GUI-VERSION 1.77
@documentlanguage en
@documentencoding ISO-8859-1
Expand Down Expand Up @@ -177,6 +177,7 @@ Miscellaneous questions
* What happens if I drag a file on the R icon?::
* How can I interrupt lengthy operations or output?::
* I see spurious error messages when starting R!::
* Which BLAS is used and how can it be changed?::
* I don't see a thing when installing packages!::
* Why are there faint lines in image plots?::
* Why doesn't R GUI support keyboard shortcut XYZ ?::
Expand Down Expand Up @@ -1058,6 +1059,7 @@ random order. Last but not least Apple for amazing OS and GUI.
* What happens if I drag a file on the R icon?::
* How can I interrupt lengthy operations or output?::
* I see spurious error messages when starting R!::
* Which BLAS is used and how can it be changed?::
* I don't see a thing when installing packages!::
* Why are there faint lines in image plots?::
* Why doesn't R GUI support keyboard shortcut XYZ ?::
Expand Down Expand Up @@ -1098,7 +1100,7 @@ However, if the executed code does not check for interrupts (using
that case it may be worth alerting the maintainer of the package to
allow interruption (if appropriate).

@node I see spurious error messages when starting R!, I don't see a thing when installing packages!, How can I interrupt lengthy operations or output?, Miscellaneous questions
@node I see spurious error messages when starting R!, Which BLAS is used and how can it be changed?, How can I interrupt lengthy operations or output?, Miscellaneous questions
@section I see spurious error messages when starting R!

If you see error messages upon start of the R GUI which contain
Expand All @@ -1121,41 +1123,43 @@ defaults write org.R-project.R 'Ignore stderr' YES
@end example
in the Terminal. Note, however, that this will disable @emph{all} error output from external programs including package installation or the @code{system} command.

@c @node Which BLAS is used and how can it be changed?, I don't see a thing when installing packages!, I see spurious error messages when starting R!, Miscellaneous questions
@c @section Which BLAS is used and how can it be changed?

@c The BLAS library used by @R{} depends on the way @R{} was compiled (see
@c `R Installation and Administration' manual for details). Current @R{}
@c binaries supplied from @CRAN{} provide both vecLib-based BLAS and
@c reference BLAS shipped with @R{}. vecLib is a part of Apple's Accelerate
@c framework which provides an optimized BLAS implementation for Mac
@c hardware. Although fast, it is not under our control and may possibly
@c deliver inaccurate results.

@c The @CRAN{} binary uses @code{--enable-BLAS-shlib} option and two Rblas
@c shared libraries are supplied: @file{libRblas.vecLib.dylib} which uses
@c vecLib BLAS and @file{libRblas.0.dylib} which uses reference BLAS from
@c @R{}. A symbolic link @file{libRblas.dylib} determines which one is
@c used. Currently the default is to use the @R{} BLAS: this is recommended
@c for precision.

@c In order to change which BLAS is used, change the @file{libRblas.dylib}
@c symlink correspondingly -- for example in Terminal:
@c @example
@c cd /Library/Frameworks/R.framework/Resources/lib

@c # for vecLib use
@c ln -sf libRblas.vecLib.dylib libRblas.dylib

@c # for R reference BLAS use
@c ln -sf libRblas.0.dylib libRblas.dylib
@c @end example

@c This feature is only present in the @R{} @CRAN{} binary. Ordinarily
@c compiled @R{} from sources will only have one of the above BLAS
@c libraries, corresponding to the configuration options used.

@node I don't see a thing when installing packages!, Why are there faint lines in image plots?, I see spurious error messages when starting R!, Miscellaneous questions
@node Which BLAS is used and how can it be changed?, I don't see a thing when installing packages!, I see spurious error messages when starting R!, Miscellaneous questions
@section Which BLAS is used and how can it be changed?

The BLAS library used by @R{} depends on the way @R{} was compiled (see
`R Installation and Administration' manual for details). Current @R{}
binaries supplied from @CRAN{} provide both vecLib-based BLAS and
reference BLAS shipped with @R{}. vecLib is a part of Apple's Accelerate
framework which provides an optimized BLAS implementation for Mac
hardware. Although fast, it is not under our control and may possibly
deliver inaccurate results.

The @CRAN{} binary uses @code{--enable-BLAS-shlib} option and two Rblas
shared libraries are supplied: @file{libRblas.vecLib.dylib} which uses
vecLib BLAS and @file{libRblas.0.dylib} which uses reference BLAS from
@R{}. A symbolic link @file{libRblas.dylib} determines which one is
used. Currently the default is to use the @R{} BLAS: this is recommended
for precision.

In order to change which BLAS is used, change the @file{libRblas.dylib}
symlink correspondingly -- for example in Terminal:
@example
cd /Library/Frameworks/R.framework/Resources/lib
# for vecLib use
ln -sf libRblas.vecLib.dylib libRblas.dylib
# for R reference BLAS use
ln -sf libRblas.0.dylib libRblas.dylib
@end example

This feature is only present in the @R{} @CRAN{} binary. Ordinarily
compiled @R{} from sources will only have one of the above BLAS
libraries, corresponding to the configuration options used.

The BLAS library used is displayed in @code{sessionInfo()}.

@node I don't see a thing when installing packages!, Why are there faint lines in image plots?, Which BLAS is used and how can it be changed?, Miscellaneous questions
@section I don't see a thing when installing packages!
The output is not produced continuously during the package
installation. @Rapp{} does its best to display the output as soon as
Expand Down Expand Up @@ -1195,8 +1199,7 @@ applications and allows a very flexible customization. For example if
you are not satisfied with the default Emacs-like key bindings that
macOS provides, Apple allows you to extend them arbitrarily. For more
details see Apple's documentation on
@uref{http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/chapter_9_section_2.html,
Key Bindings}. There are also many 3rd-party pages on key bindings
@uref{https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html,Key Bindings}. There are also many 3rd-party pages on key bindings
customization, search for @code{StandardKeyBinding.dict}.

@node What is the difference between the CRAN build and a vanilla build?, Why is R.home() not versioned?, Why doesn't R GUI support keyboard shortcut XYZ ?, Miscellaneous questions
Expand Down Expand Up @@ -1227,7 +1230,7 @@ points to @code{Versions/Current/Resource} which is turn points to the
actual home -- a versioned directory such as for example
@code{Versions/4.1/Resources}. This is how framework versioning works
in macOS and is defined by Apple (see
@uref{http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html,
@uref{https://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html,
Framework Anatomy}).

@c The advantage of this setup is that it is possible to install multiple R
Expand Down

0 comments on commit 7e90bc1

Please sign in to comment.