Displaying 5 results from an estimated 5 matches for "clang8".
Did you mean:
clang
2019 Jun 02
3
rgl install for R 3.7
I?ve installed R 3.7.0 on a new laptop running macos 10.14.5 and have managed to get most of my usual packages
to compile from source with a ~/.R/Makevars file that looks like this:
CC=/usr/local/clang8/bin/clang
CXX=/usr/local/clang8/bin/clang++
LDFLAGS=-L/usr/local/clang8/lib
CPPFLAGS=-I/usr/local/clang8/include -I/opt/X11/include/freetype2
FC=/usr/local/gfortran/bin/gfortran
FLIBS=-L/usr/local/gfortran/lib -lgfortran
As usual, the last challenge seems to be to get rgl installed. Compilation...
2019 Jun 13
4
Clang8 on MacOS 10.14
[Please cc me, as I am not on this list.]
When installing the clang8 MacOS binary by
wget <clang-binaries-tarball-url>
tar -xf clang*
cd clang*
sudo mkdir /usr/local/clang8
sudo cp -R * /usr/local/clang8
the compiler works on MacOS 10.13, but not on MacOS 10.14, with an error:
/usr/local/clang/bin/../include/c++/v1/stdio.h:108:15: fatal error: '...
2019 Jun 02
0
rgl install for R 3.7
....0 on a new laptop running macos 10.14.5 and have managed to get most of my usual packages
I presume 'R 3.7.0' is R-devel: it is not released and may never be
released under that version.
> to compile from source with a ~/.R/Makevars file that looks like this:
>
> CC=/usr/local/clang8/bin/clang
> CXX=/usr/local/clang8/bin/clang++
> LDFLAGS=-L/usr/local/clang8/lib
> CPPFLAGS=-I/usr/local/clang8/include -I/opt/X11/include/freetype2
I suspect you don't want the second: if you have pkg-config it should
find include paths for you.
> FC=/usr/local/gfortran/bin/gfort...
2020 Aug 28
2
Evaluate values in `Sys.setenv`
Hi all,
I would like to know if there is any way to evaluate the values in
`Sys.setenv` before setting the environment variables. For example, if we
want to add a path to the environment variable `PATH`, we can do this in a
terminal
```
> export PATH=~/mypath:$PATH
> echo $PATH
/Users/jeff/mypath:...
```
However, this style of assignment is not allowed in `Sys.setenv`, it
treats its
2020 Aug 28
0
Evaluate values in `Sys.setenv`
...and the shell metacharacters. Instead, you need to do the corresponding computations in R, e.g.
> paste(path.expand("~/mypath"), Sys.getenv("PATH"), sep=":")
[1] "/Users/pd/mypath:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/gfortran/bin:/usr/local/clang8/bin:/Library/TeX/texbin:/opt/X11/bin"
which you can then pass to Sys.setenv().
-pd
> On 28 Aug 2020, at 11:00 , Jeff King <szwjf08 at gmail.com> wrote:
>
> Hi all,
>
> I would like to know if there is any way to evaluate the values in
> `Sys.setenv` before setting...