Re: [R-SIG-Mac] arm downloads appear broken

2023-02-27 Thread Keith Bierman
On Mon, Feb 27, 2023 at 1:09 AM Prof Brian Ripley 
wrote:

> Your subject line is alarmist -- you only provide any evidence for 1 out
> of > 19000 CRAN packages (and not R itself).
>

As my goal was to coax a local Expeditionary HS Science teacher to use
Rattle , it was the only fraction of the suite which was germane. I thought
the title would be taken as a humorous nod to the classic *goto* paper. I'm
sorry it was found to be in suboptimal taste.


> Package RGtk2 was archived in 2021.  The current rattle (5.5.1) does not
> depend on it.


Is https://rattle.togaware.com/rattle-install-mac.html not the right place
to look? It had been a few years, but Togaware used to be the right
starting point. Also searching for installing Rattle on Mac
(unsurprisingly) delivered a ton of hits, many obviously stale, but some
not so obviously so. But pkg, devel, brew ... I am observing the same
behavior (errant environment variable?)

Step 0 Downloaded R https://cran.r-project.org

There were many different attempts at step 1, the seemingly most obvious
one from togaware has instructions from 2018, so I wasn't terribly
surprised that it failed. I was surprised at the *way* it failed

Step 1 install.packages('rattle')  # picked the TX mirror, as they are
physically reasonably close.
Even trying again with the  install.packages("
https://access.togaware.com/RGtk2_2.20.36.2.tgz;, repos=NULL) before the
rattle install, it is offering to install GTK+, and installs the wrong one.

The downloaded binary packages are in
/var/folders/n8/92rd9hwj0jq_ly7_nv2rktlwgn/T//RtmpZghlVY/downloaded_packages
> library(rattle)
Loading required package: tibble
Loading required package: bitops
Rattle: A free graphical interface for data science with R.

*Version 5.5.1 Copyright (c) 2006-2021 Togaware Pty Ltd.*Type 'rattle()' to
shake, rattle, and roll your data.
> rattle()

*Loading required package: RGtk2*Error in dyn.load(file, DLLpath = DLLpath,
...) :

So, this claims to be 5.5.1, but it does insist on RGtk2, and I'm getting
the wrong RGtk2. Obviously there must be something in my environment that
differs from yours, or the TN repository is somehow wrong..

quit R.app, and restarting...
trying your ac.at site:
R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[R.app GUI 1.79 (8160) aarch64-apple-darwin20]

[Workspace restored from /Users/khb/.RData]
[History restored from /Users/khb/.Rapp.history]

> install.packages('
https://cran.wu.ac.at/bin/macosx/big-sur-arm64/contrib/4.2/rattle_5.5.1.tgz
')
inferring 'repos = NULL' from 'pkgs'
trying URL '
https://cran.wu.ac.at/bin/macosx/big-sur-arm64/contrib/4.2/rattle_5.5.1.tgz'
Content type 'application/x-gzip' length 6389382 bytes (6.1 MB)
==
downloaded 6.1 MB

>
> library(rattle)
Loading required package: tibble
Loading required package: bitops
Rattle: A free graphical interface for data science with R.
Version 5.5.1 Copyright (c) 2006-2021 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
> rattle()
Loading required package: RGtk2
Error in dyn.load(file, DLLpath = DLLpath, ...)

>
> For me just now R 4.2.2 successfully downloaded
>
> trying URL
> '
> https://cran.wu.ac.at/bin/macosx/big-sur-arm64/contrib/4.2/rattle_5.5.1.tgz
> '
>
> LMK if there are any particular logs that might help distinguish what I
experience vs what you are. While I've missed the chance to twist his arm
for today's experiment, I would like to be able to coax him (and his
colleague in Maths) to go beyond the Google Sheets and Excel that has
become their norm.

>
>

[[alternative HTML version deleted]]

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


Re: [R-SIG-Mac] arm downloads appear broken

2023-02-27 Thread Prof Brian Ripley

On 27/02/2023 08:09, Prof Brian Ripley wrote:
Your subject line is alarmist -- you only provide any evidence for 1 out 
of > 19000 CRAN packages (and not R itself).


Package RGtk2 was archived in 2021.  The current rattle (5.5.1) does not 
depend on it.  A direct download is available from rattle's CRAN landing 
page.  You have not told us what version of rattle you downloaded nor 
from where.


For me just now R 4.2.2 successfully downloaded

trying URL 
'https://cran.wu.ac.at/bin/macosx/big-sur-arm64/contrib/4.2/rattle_5.5.1.tgz'


I should have said that rattle does not declare a *strict* dependency on 
RGtk2.  When I try to run rattle() I see


> rattle()
Error in rattle() :
The RGtk2 package is not available but is required.
Please install the package using, for example:

  install.packages("RGtk2")

which would have failed.

Maybe you have some non-CRAN version of RGtk2 installed?

rattle's DESCRIPTION does say

  Note that RGtk2 and cairoDevice have been archived on CRAN.
  See  for installation instructions.

If you followed that, it would be something to take up with the 'rattle' 
maintainer.



On 27/02/2023 04:32, Keith Bierman wrote:

I've tried several (4.2 branches.pkg, R-GUI8191 dmg  R installs fine,
but attempts to the load rattle fail. If I missed some obvious


Loading rattle seems to have worked -- it was running rattle() that failed.


configuration switch, feel free to point me at the FM! ;>
Seems to me that the downloads marked arm64 should only suck in
arm64-compatible dependencies..

. library(rattle)
Loading required package: tibble
Loading required package: bitops
Rattle: A free graphical interface for data science with R.
Version 5.5.1 Copyright (c) 2006-2021 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.

rattle()

Loading required package: RGtk2
Error in library.dynam("RGtk2", pkgname, libname) :
   shared object ‘RGtk2.so’ not found
Authorization required, but no authorization protocol specified

Need GTK+ ? (Restart R after installing)

1: Install GTK+
2: Do not install GTK+

Selection: 1
trying URL 'http://r.research.att.com/libs/GTK_2.24.17-X11.pkg'''

Which consistently seems to load the *INTEL* version of GTK, so of course
it installs, but fails to run, and tries to install again. Loop forever.


From the installer:


Requirements:

- Mac OS X 10.6 (Leopard) or higher, Intel 64-bit Mac


I*t supports Intel 64-bit Macs only.* All files will be installed in

*/Library/Frameworks/GTK+.framework/Versions/2.24.X11*

Keith Bierman
khb...@gmail.com
303 997 2749 

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-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] arm downloads appear broken

2023-02-27 Thread Prof Brian Ripley
Your subject line is alarmist -- you only provide any evidence for 1 out 
of > 19000 CRAN packages (and not R itself).


Package RGtk2 was archived in 2021.  The current rattle (5.5.1) does not 
depend on it.  A direct download is available from rattle's CRAN landing 
page.  You have not told us what version of rattle you downloaded nor 
from where.


For me just now R 4.2.2 successfully downloaded

trying URL 
'https://cran.wu.ac.at/bin/macosx/big-sur-arm64/contrib/4.2/rattle_5.5.1.tgz'


On 27/02/2023 04:32, Keith Bierman wrote:

I've tried several (4.2 branches.pkg, R-GUI8191 dmg  R installs fine,
but attempts to the load rattle fail. If I missed some obvious
configuration switch, feel free to point me at the FM! ;>
Seems to me that the downloads marked arm64 should only suck in
arm64-compatible dependencies..

. library(rattle)
Loading required package: tibble
Loading required package: bitops
Rattle: A free graphical interface for data science with R.
Version 5.5.1 Copyright (c) 2006-2021 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.

rattle()

Loading required package: RGtk2
Error in library.dynam("RGtk2", pkgname, libname) :
   shared object ‘RGtk2.so’ not found
Authorization required, but no authorization protocol specified

Need GTK+ ? (Restart R after installing)

1: Install GTK+
2: Do not install GTK+

Selection: 1
trying URL 'http://r.research.att.com/libs/GTK_2.24.17-X11.pkg'''

Which consistently seems to load the *INTEL* version of GTK, so of course
it installs, but fails to run, and tries to install again. Loop forever.


From the installer:


Requirements:

- Mac OS X 10.6 (Leopard) or higher, Intel 64-bit Mac


I*t supports Intel 64-bit Macs only.* All files will be installed in

*/Library/Frameworks/GTK+.framework/Versions/2.24.X11*

Keith Bierman
khb...@gmail.com
303 997 2749 

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-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


[R-SIG-Mac] arm downloads appear broken

2023-02-26 Thread Keith Bierman
I've tried several (4.2 branches.pkg, R-GUI8191 dmg  R installs fine,
but attempts to the load rattle fail. If I missed some obvious
configuration switch, feel free to point me at the FM! ;>
Seems to me that the downloads marked arm64 should only suck in
arm64-compatible dependencies..

. library(rattle)
Loading required package: tibble
Loading required package: bitops
Rattle: A free graphical interface for data science with R.
Version 5.5.1 Copyright (c) 2006-2021 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
> rattle()
Loading required package: RGtk2
Error in library.dynam("RGtk2", pkgname, libname) :
  shared object ‘RGtk2.so’ not found
Authorization required, but no authorization protocol specified

Need GTK+ ? (Restart R after installing)

1: Install GTK+
2: Do not install GTK+

Selection: 1
trying URL 'http://r.research.att.com/libs/GTK_2.24.17-X11.pkg'''

Which consistently seems to load the *INTEL* version of GTK, so of course
it installs, but fails to run, and tries to install again. Loop forever.

>From the installer:

Requirements:

- Mac OS X 10.6 (Leopard) or higher, Intel 64-bit Mac


I*t supports Intel 64-bit Macs only.* All files will be installed in

*/Library/Frameworks/GTK+.framework/Versions/2.24.X11*

Keith Bierman
khb...@gmail.com
303 997 2749 

[[alternative HTML version deleted]]

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