Skip to content

macOS use illustration

Dirk Eddelbuettel edited this page May 22, 2019 · 1 revision

The following was contributed by Kyle Baron in response to issue #66

Figure out where littler is installed

kb-local ~ $ Rscript -e 'system.file(package = "littler")'
[1] "/Users/.../Rlibs/littler"

Make a link

kb-local ~ $ ln -s /Users/.../Rlibs/littler/bin/r /usr/local/bin/lr
kb-local ~ $ ll /usr/local/bin/lr
... admin  32 Jan 28 14:16 /usr/local/bin/lr -> /Users/.../Rlibs/littler/bin/r

Test it out

kb-local ~ $ lr -e "print(.Platform)"
$OS.type
[1] "unix"

$file.sep
[1] "/"

$dynlib.ext
[1] ".so"

$GUI
[1] "unknown"

$endian
[1] "little"

$pkgType
[1] "mac.binary.el-capitan"

$path.sep
[1] ":"

$r_arch
[1] ""
Clone this wiki locally