Re: [R-SIG-Mac] r-sig-mac@r-project.org - "You can’t open the application “R” because this application is not supported on this Mac"

2021-07-18 Thread Prof Brian Ripley

On 17/07/2021 21:38, Duncan Murdoch wrote:

On 17/07/2021 3:39 a.m., Lindsay Foreman wrote:

To whom it may concern,

I am so sorry for being such a dunce.  I have been trying and trying 
to get the R App to work on my MacBook Air running Big Sur V11.4, and 
am just not making any progress.  It says that the package I have 
downloaded below should have all the elements I need including the R 
app GUI.  I get this error message "You can’t open the application “R” 
because this application is not supported on this Mac"., are you able 
to help please?


Is that an Intel or M1 MacBook?  If it's an Intel one, you don't want 
the arm64 download, you want


https://cran.r-project.org/bin/macosx/base/R-4.1.0.pkg

It is listed on the web site as "High Sierra and higher", so it should 
work on Big Sur, but only if you have an Intel chip.


Yes, it works on Intel Big Sur.  Actually it works perfectly well on 
arm64 (aka M1) cpus, as documented in the R-admin manual and on 
https://cran.r-project.org/bin/macosx/ .


For those with arm64 Macs, the current pros and cons of the arm64 build are

Pro:
- It is usually faster, median 1.4x on CRAN packages but in some cases 
much more so.


- There have been very occasional Intel binary packages where Rosetta 
emulation does not work (and the arm64 binary package did).


Cons:
- Less accuracy as there are no long doubles.  That has surprisingly 
little impact, in part because CRAN packages have long been checked 
without long doubles.  But people who test sum(p) == 1 are more likely 
to be caught out 


- Fewer binary packages available, notably not from Bioconductor and 
hence CRAN packages requiring those from Bioconductor.


- In the vast majority of cases compiling packages from source will work 
(if sometimes a little trickier), but a handful of packages require 
Intel CPUs.  I have about 30 more CRAN packages failing their checks 
that for Intel builds, and about 40 than on Linux.


- Less stable.  This is as much the OS as R, with resource (e.g. RAM) 
shortages leading to hangs (of R or the whole machine) much more often 
than on an Intel Mac.  In fairly limited testing this happens more with 
the arm64 build than using the Intel build on my M1 Mac.


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] r-sig-mac@r-project.org - "You can’t open the application “R” because this application is not supported on this Mac"

2021-07-17 Thread Duncan Murdoch

On 17/07/2021 3:39 a.m., Lindsay Foreman wrote:

To whom it may concern,

I am so sorry for being such a dunce.  I have been trying and trying to get the R App to 
work on my MacBook Air running Big Sur V11.4, and am just not making any progress.  It 
says that the package I have downloaded below should have all the elements I need 
including the R app GUI.  I get this error message "You can’t open the application 
“R” because this application is not supported on this Mac"., are you able to help 
please?


Is that an Intel or M1 MacBook?  If it's an Intel one, you don't want 
the arm64 download, you want


https://cran.r-project.org/bin/macosx/base/R-4.1.0.pkg

It is listed on the web site as "High Sierra and higher", so it should 
work on Big Sur, but only if you have an Intel chip.


Duncan Murdoch



Your support is much appreciated.
Lindsay Foreman

R-4.1.0-arm64.pkg 
 
(notarized and signed)
SHA1-hash: 7354c1b249cab9bafea6ae67c73563303a05fa17
(ca. 88MB)  R 4.1.0 binary for macOS 11 (Big Sur) and higher, Apple silicon 
arm64 build, signed and notarized package.
Contains R 4.1.0 framework, R.app GUI 1.76 for Apple silicon Macs (M1 and 
higher), Tcl/Tk 8.6.11 X11 libraries and Texinfo 6.7.
Important: this version does NOT work on older Intel-based Macs.
The above installer package will be misidentified by Apple Installer as Intel 
architecture although it contains no Intel code. This means you may be asked to 
install Rosetta 2 even though it is not required. This issue has been fixed in the 
packaging for future R versions, so if you don't want to install Rosetta 2 please use 
R-4.1-branch big-sur arm64 installer from mac.R-project.org 
.
Note: the use of X11 (including tcltk) requires XQuartz 
. Always re-install XQuartz when upgrading your 
macOS to a new major version.

This release uses Xcode 12.4 and experimental GNU Fortran 11 arm64 fork. If you wish 
to compile R packages from sources, you may need to download GNU Fortran for arm64 
from https://mac.R-project.org/libs-arm64 
. Any external libraries and tools are 
expected to live in /opt/R/arm64 to not conflict with Intel-based software and this 
build will not use /usr/local to avoid such conflicts.






On 13 Jul 2021, at 16:32, Dr. Alessio Pruneddu  wrote:

Hi Lindsay,

Thanks a lot for your kind words. I am sorry to hear R is giving you troubles 
with Mac. I know for a fact that this might be the case with very new version 
of any mac. If you cannot access any standard Windows PC or laptop, try to 
download R studio, and in any case, check the compatibility requirements of the 
software (R and/or R studio) before you download it, so that you will not have 
any surprises.

I hope it helps!!

Alessio.

Il giorno mar 13 lug 2021 alle ore 07:54 Lindsay Foreman <19038...@brookes.ac.uk 
> ha scritto:
Thank you again for your time and dedication Alessio, I cannot thank you 
enough.  The thought of doing this in isolation, without you or the Q gang for 
support is a terrifying one!

I have to confess how out of my comfort zone I feel, with the data, the statistics and the 
code.  I have tried several time to install the R software from 
https://cran.r-project.org/ , but no matter which one I 
select and download, when I try and open it I just an error message "You can’t open 
the application “R” because this application is not supported on this Mac.” I have read 
the FAQ’s but no joy and I cannot seem to find where I ask for help.  I know you said this 
is out of your remit, but any pointers you are able to give to help resolve this would be 
much appreciated.  As you say, we will get there, I am just in the midst of a painful part 
of the process where I feel completely out of my depth!

Hopefully I can be a trailblazer for Leo and Elizabeth so that when they are at 
this stage I can offer some support and guidance.
Onwards and upwards,
Lindsay



On 10 Jul 2021, at 12:02, Dr. Alessio Pruneddu mailto:i...@qsortouch.com>> wrote:

Dear members of the Q squad,

I cannot stress enough how much I am happy to have a chat with you. I just 
thought you would appreciate a few details after yesterday's video chat. Please 
see my comments below;


Lindsay.

Huge apologies for yesterday!. I still hope I was able to give you a flavour of 
what you can expect from the data analysis in R. In your case, I would 
recommend performing the data analysis using the code. Please find attached the 
code specifically related to your study. You will find out a slightly more 
sophisticated line, as you have to instruct the software about the free 
distribution in your sample. However, the sophistication is only apparent; the 
analysis is giving you the same outputs, and obviously their interpretation 
does not change. If you need to 

Re: [R-SIG-Mac] r-sig-mac@r-project.org - "You can’t open the application “R” because this application is not supported on this Mac"

2021-07-17 Thread Ken Beath
You could try the Intel version until the problem with ARM is sorted. It should 
run fine but will require Rosetta 2.

Ken

> On 17 Jul 2021, at 5:39 pm, Lindsay Foreman <19038...@brookes.ac.uk> wrote:
> 
> To whom it may concern, 
> 
> I am so sorry for being such a dunce.  I have been trying and trying to get 
> the R App to work on my MacBook Air running Big Sur V11.4, and am just not 
> making any progress.  It says that the package I have downloaded below should 
> have all the elements I need including the R app GUI.  I get this error 
> message "You can’t open the application “R” because this application is not 
> supported on this Mac"., are you able to help please?
> 
> Your support is much appreciated.
> Lindsay Foreman
> 
> R-4.1.0-arm64.pkg 
>  
> (notarized and signed)
> SHA1-hash: 7354c1b249cab9bafea6ae67c73563303a05fa17
> (ca. 88MB)R 4.1.0 binary for macOS 11 (Big Sur) and higher, Apple silicon 
> arm64 build, signed and notarized package.
> Contains R 4.1.0 framework, R.app GUI 1.76 for Apple silicon Macs (M1 and 
> higher), Tcl/Tk 8.6.11 X11 libraries and Texinfo 6.7.
> Important: this version does NOT work on older Intel-based Macs.
> The above installer package will be misidentified by Apple Installer as Intel 
> architecture although it contains no Intel code. This means you may be asked 
> to install Rosetta 2 even though it is not required. This issue has been 
> fixed in the packaging for future R versions, so if you don't want to install 
> Rosetta 2 please use R-4.1-branch big-sur arm64 installer from 
> mac.R-project.org .
> Note: the use of X11 (including tcltk) requires XQuartz 
> . Always re-install XQuartz when upgrading 
> your macOS to a new major version.
> 
> This release uses Xcode 12.4 and experimental GNU Fortran 11 arm64 fork. If 
> you wish to compile R packages from sources, you may need to download GNU 
> Fortran for arm64 from https://mac.R-project.org/libs-arm64 
> . Any external libraries and tools are 
> expected to live in /opt/R/arm64 to not conflict with Intel-based software 
> and this build will not use /usr/local to avoid such conflicts.
> 
> 
> 
> 
> 
>> On 13 Jul 2021, at 16:32, Dr. Alessio Pruneddu  wrote:
>> 
>> Hi Lindsay,
>> 
>> Thanks a lot for your kind words. I am sorry to hear R is giving you 
>> troubles with Mac. I know for a fact that this might be the case with very 
>> new version of any mac. If you cannot access any standard Windows PC or 
>> laptop, try to download R studio, and in any case, check the compatibility 
>> requirements of the software (R and/or R studio) before you download it, so 
>> that you will not have any surprises.
>> 
>> I hope it helps!!
>> 
>> Alessio.
>> 
>> Il giorno mar 13 lug 2021 alle ore 07:54 Lindsay Foreman 
>> <19038...@brookes.ac.uk > ha scritto:
>> Thank you again for your time and dedication Alessio, I cannot thank you 
>> enough.  The thought of doing this in isolation, without you or the Q gang 
>> for support is a terrifying one!
>> 
>> I have to confess how out of my comfort zone I feel, with the data, the 
>> statistics and the code.  I have tried several time to install the R 
>> software from https://cran.r-project.org/ , but 
>> no matter which one I select and download, when I try and open it I just an 
>> error message "You can’t open the application “R” because this application 
>> is not supported on this Mac.” I have read the FAQ’s but no joy and I cannot 
>> seem to find where I ask for help.  I know you said this is out of your 
>> remit, but any pointers you are able to give to help resolve this would be 
>> much appreciated.  As you say, we will get there, I am just in the midst of 
>> a painful part of the process where I feel completely out of my depth!
>> 
>> Hopefully I can be a trailblazer for Leo and Elizabeth so that when they are 
>> at this stage I can offer some support and guidance.
>> Onwards and upwards,
>> Lindsay
>> 
>> 
>>> On 10 Jul 2021, at 12:02, Dr. Alessio Pruneddu >> > wrote:
>>> 
>>> Dear members of the Q squad,
>>> 
>>> I cannot stress enough how much I am happy to have a chat with you. I just 
>>> thought you would appreciate a few details after yesterday's video chat. 
>>> Please see my comments below;
>>> 
>>> 
>>> Lindsay.
>>> 
>>> Huge apologies for yesterday!. I still hope I was able to give you a 
>>> flavour of what you can expect from the data analysis in R. In your case, I 
>>> would recommend performing the data analysis using the code. Please find 
>>> attached the code specifically related to your study. You will find out a 
>>> slightly more sophisticated line, as you have to instruct the software 
>>> about the free distribution in your sample. However, the sophistication is 
>>> only 

Re: [R-SIG-Mac] r-sig-mac@r-project.org - "You can’t open the application “R” because this application is not supported on this Mac"

2021-07-17 Thread Lindsay Foreman
To whom it may concern, 

I am so sorry for being such a dunce.  I have been trying and trying to get the 
R App to work on my MacBook Air running Big Sur V11.4, and am just not making 
any progress.  It says that the package I have downloaded below should have all 
the elements I need including the R app GUI.  I get this error message "You 
can’t open the application “R” because this application is not supported on 
this Mac"., are you able to help please?

Your support is much appreciated.
Lindsay Foreman

R-4.1.0-arm64.pkg 
 
(notarized and signed)
SHA1-hash: 7354c1b249cab9bafea6ae67c73563303a05fa17
(ca. 88MB)  R 4.1.0 binary for macOS 11 (Big Sur) and higher, Apple silicon 
arm64 build, signed and notarized package.
Contains R 4.1.0 framework, R.app GUI 1.76 for Apple silicon Macs (M1 and 
higher), Tcl/Tk 8.6.11 X11 libraries and Texinfo 6.7.
Important: this version does NOT work on older Intel-based Macs.
The above installer package will be misidentified by Apple Installer as Intel 
architecture although it contains no Intel code. This means you may be asked to 
install Rosetta 2 even though it is not required. This issue has been fixed in 
the packaging for future R versions, so if you don't want to install Rosetta 2 
please use R-4.1-branch big-sur arm64 installer from mac.R-project.org 
.
Note: the use of X11 (including tcltk) requires XQuartz 
. Always re-install XQuartz when upgrading your 
macOS to a new major version.

This release uses Xcode 12.4 and experimental GNU Fortran 11 arm64 fork. If you 
wish to compile R packages from sources, you may need to download GNU Fortran 
for arm64 from https://mac.R-project.org/libs-arm64 
. Any external libraries and tools are 
expected to live in /opt/R/arm64 to not conflict with Intel-based software and 
this build will not use /usr/local to avoid such conflicts.





> On 13 Jul 2021, at 16:32, Dr. Alessio Pruneddu  wrote:
> 
> Hi Lindsay,
> 
> Thanks a lot for your kind words. I am sorry to hear R is giving you troubles 
> with Mac. I know for a fact that this might be the case with very new version 
> of any mac. If you cannot access any standard Windows PC or laptop, try to 
> download R studio, and in any case, check the compatibility requirements of 
> the software (R and/or R studio) before you download it, so that you will not 
> have any surprises.
> 
> I hope it helps!!
> 
> Alessio.
> 
> Il giorno mar 13 lug 2021 alle ore 07:54 Lindsay Foreman 
> <19038...@brookes.ac.uk > ha scritto:
> Thank you again for your time and dedication Alessio, I cannot thank you 
> enough.  The thought of doing this in isolation, without you or the Q gang 
> for support is a terrifying one!
> 
> I have to confess how out of my comfort zone I feel, with the data, the 
> statistics and the code.  I have tried several time to install the R software 
> from https://cran.r-project.org/ , but no matter 
> which one I select and download, when I try and open it I just an error 
> message "You can’t open the application “R” because this application is not 
> supported on this Mac.” I have read the FAQ’s but no joy and I cannot seem to 
> find where I ask for help.  I know you said this is out of your remit, but 
> any pointers you are able to give to help resolve this would be much 
> appreciated.  As you say, we will get there, I am just in the midst of a 
> painful part of the process where I feel completely out of my depth!
> 
> Hopefully I can be a trailblazer for Leo and Elizabeth so that when they are 
> at this stage I can offer some support and guidance.
> Onwards and upwards,
> Lindsay
> 
> 
>> On 10 Jul 2021, at 12:02, Dr. Alessio Pruneddu > > wrote:
>> 
>> Dear members of the Q squad,
>> 
>> I cannot stress enough how much I am happy to have a chat with you. I just 
>> thought you would appreciate a few details after yesterday's video chat. 
>> Please see my comments below;
>> 
>> 
>> Lindsay.
>> 
>> Huge apologies for yesterday!. I still hope I was able to give you a flavour 
>> of what you can expect from the data analysis in R. In your case, I would 
>> recommend performing the data analysis using the code. Please find attached 
>> the code specifically related to your study. You will find out a slightly 
>> more sophisticated line, as you have to instruct the software about the free 
>> distribution in your sample. However, the sophistication is only apparent; 
>> the analysis is giving you the same outputs, and obviously their 
>> interpretation does not change. If you need to work on the plot generated by 
>> qmethod, feel free to drop me a line, we will do this.
>> 
>> Useful links:
>> 
>> General code page 
>> 
>> Source code for