Hi, Peter et al.:
On 7/6/23 6:45 AM, Peter Dalgaard wrote:
AFAICT, Spencer followed the implied instructions and it still didn't work.
There may also be a PATH issue when upgrading to 4.3.x, /usr/local ->
/opt/R/ Does gfortran 12.2 install to /opt/R/.../bin ?
The default install
AFACT he didn't say so, there was no response, just double-posting of the same
question after is was answered.
The installer says:
The resulting compiler will live in /opt/gfortran and can be called with
/opt/gfortran/bin/gfortran
so it's advisable to have /opt/gfortran/bin on the PATH.
(Side
Hi, Peter et al.:
On 7/6/23 1:15 PM, Peter Dalgaard wrote:
I think the cleanest way is to diddle the /etc/paths.d structure. I have
PeterDaardsiMac:R pd$ ls /etc/paths.d
40-XQuartz R TeX clang8 gfortran
PeterDaardsiMac:R pd$ cat /etc/paths.d/gfortran
> On 7/07/2023, at 10:15 AM, Spencer Graves wrote:
>
> Hi, Simon:
>
>
> Thanks for this. I have more questions:
>
>
> On 7/6/23 4:52 PM, Simon Urbanek wrote:
>> In the shell:
>> PATH=/opt/gfortran/bin:$PATH R CMD INSTALL ...
>
>
> Please excuse my ignorance, but I don't
I think the cleanest way is to diddle the /etc/paths.d structure. I have
PeterDaardsiMac:R pd$ ls /etc/paths.d
40-XQuartz R TeX clang8 gfortran
PeterDaardsiMac:R pd$ cat /etc/paths.d/gfortran
/usr/local/gfortran/bin
PeterDaardsiMac:R pd$ cat /etc/paths
In the shell:
PATH=/opt/gfortran/bin:$PATH R CMD INSTALL ...
in R if using install.packages()
Sys.setenv(PATH=paste0("/opt/gfortran/bin:", Sys.getenv("PATH")))
> On Jul 7, 2023, at 5:58 AM, Spencer Graves
> wrote:
>
> 1. I need to apologize to Simon: I failed to see his reply to the
Hi, Simon:
Thanks for this. I have more questions:
On 7/6/23 4:52 PM, Simon Urbanek wrote:
In the shell:
PATH=/opt/gfortran/bin:$PATH R CMD INSTALL ...
Please excuse my ignorance, but I don't understand this. I
previously tried
1. I need to apologize to Simon: I failed to see his reply to the
original post. Then I found the instructions and installed
gfortran-12.2-universal.pkg, as indicated there, but it still didn't work.
2. I'm not finding clear instructions on how to update the path on
macOS 11.7.8, which
AFAICT, Spencer followed the implied instructions and it still didn't work.
There may also be a PATH issue when upgrading to 4.3.x, /usr/local ->
/opt/R/ Does gfortran 12.2 install to /opt/R/.../bin ?
-pd
> On 6 Jul 2023, at 07:42 , Simon Urbanek wrote:
>
> Already answered to you and on