Re: [R-SIG-Mac] install.libs error

2025-04-05 Thread Naresh Gurbuxani
Simon, Website mac.r-project.org/tools/ lists mandatory libraries. In the next paragraph, it has a link to “binaries of libraries and tools for Mac OS page”. Clicking on the link takes user to mac.r-project.org/bin. Here the only method of install described is via install.libs(). By using i

Re: [R-SIG-Mac] install.libs error

2025-04-05 Thread Naresh Gurbuxani
notes $ which tar /opt/local/libexec/gnubin/tar notes $ tar --version tar (GNU tar) 1.35 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO

Re: [R-SIG-Mac] install.libs error

2025-03-31 Thread Naresh Gurbuxani
Sent from my iPhone > On Mar 31, 2025, at 5:13 AM, Simon Urbanek > wrote: > >  > >> On Mar 31, 2025, at 10:04 PM, Naresh Gurbuxani >> wrote: >> >> Simon, >> >> Website mac.r-project.org/tools/ lists mandatory libraries. In the next >> paragraph, it has a link to “binaries of libraries

Re: [R-SIG-Mac] install.libs error

2025-03-31 Thread Simon Urbanek
> On Mar 31, 2025, at 10:04 PM, Naresh Gurbuxani > wrote: > > Simon, > > Website mac.r-project.org/tools/ lists mandatory libraries. In the next > paragraph, it has a link to “binaries of libraries and tools for Mac OS > page”. Clicking on the link takes user to mac.r-project.org/bin. H

Re: [R-SIG-Mac] install.libs error

2025-03-30 Thread Simon Urbanek
Naresh, > On 31 Mar 2025, at 12:25, Naresh Gurbuxani > wrote: > > Reporting back after a clean reinstall of R using directions and resources at > https://mac.r-project.org, both data.table and RQuantLib are working as > expected. data.table has openmp enabled. RQuantLib has intraday enable

Re: [R-SIG-Mac] install.libs error

2025-03-30 Thread Naresh Gurbuxani
Reporting back after a clean reinstall of R using directions and resources at https://mac.r-project.org, both data.table and RQuantLib are working as expected. data.table has openmp enabled. RQuantLib has intraday enabled. There was no need to use Makevars file. One observation about liblzma

Re: [R-SIG-Mac] install.libs error

2025-03-27 Thread Naresh Gurbuxani
To give credit to Simon, at https://mac.r-project.org/bin instructions include a note that “If you do not have write permission, you may need to make it writeable or run sudo R.” I ran sudo R and was able to install and download boost. ~ $ ls /opt/R/x86_64/include/ boost itclInt.h tc

Re: [R-SIG-Mac] install.libs error

2025-03-23 Thread Peter Dalgaard
You'd need to change the "-C /" in the tar command. I trust Simon enough to just run the script as root, though... -pd > On 23 Mar 2025, at 14.37, Naresh Gurbuxani > wrote: > > Peter, > > In install.libs(), there is no argument for setting location where boost or > other packages are insta

Re: [R-SIG-Mac] install.libs error

2025-03-23 Thread Simon Urbanek
Naresh, please ignore all "advice" you go so far - most of it was wrong. From your earlier reports it looks like your system is messed up which the the core of the problem - please remove 3rd party libraries from your path (like homebrew, macports, /opt/local etc.) as that will interfere with t

Re: [R-SIG-Mac] install.libs error

2025-03-23 Thread Peter Dalgaard
OK, so not the system tar; that settles that. Simon (cc'ed) might still want to fix J vs j, though. Re. permissions, I suspect you want to either - run R as root for the installation - change permissions on /opt/R & subdirectories or - install to a different directory Re. MacPorts vs Simon's

Re: [R-SIG-Mac] install.libs error

2025-03-23 Thread Naresh Gurbuxani
Peter, In install.libs(), there is no argument for setting location where boost or other packages are installed. How can I select a different directory to install boost using install.libs()? Thanks, Naresh > On Mar 23, 2025, at 7:55 AM, Naresh Gurbuxani > wrote: > > > notes $ which tar >

Re: [R-SIG-Mac] install.libs error

2025-03-23 Thread peter dalgaard
Oddly, this doesn't happen here, even though I also tar xj instead of xJ ot the .xz file. Any chance you two could be picking up a different tar? I am seeing PeterDaardsiMac:ISwR pd$ which tar /usr/bin/tar PeterDaardsiMac:ISwR pd$ tar --version bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma

Re: [R-SIG-Mac] install.libs error

2025-03-22 Thread Sparapani, Rodney via R-SIG-Mac
Hi Naresh: I’m seeing the same error message. And it makes sense because the boost tar-ball is compressed with xz and not bzip2. On line 87 of install.R, we have the following… if (system(paste("curl", "-sSL", shQuote(u), "|", "tar fxj - -C /")) < 0) Little j means bzip2 while big J is xz. So t