Re: [Rd] Setting the path to Rtools for package compilation on Windows

2018-02-13 Thread Peter Langfelder
On Tue, Feb 13, 2018 at 2:20 AM, Jeroen Ooms wrote: > Thanks for your question. Your logs show that 'gcc' is not found. As > of R 3.3 you need to set the path to the compiler using the BINPREF > variable. This is because we ship two separate versions of gcc, one > targeting win32 and one targetin

Re: [Rd] R Compilation gets stuck on Windows 64

2018-02-13 Thread Avraham Adler
Set the location of atlas path in mkrules.local to what you need, then edit arc/extra/blas/makevars.win to read lopenblas_haswell-r0.2.20 instead of the two libraries there in the atlas section. I think I described this in my more recent instructions. Avi On Tue, Feb 13, 2018 at 8:18 AM Indrajit

Re: [Rd] R Compilation gets stuck on Windows 64

2018-02-13 Thread Jeroen Ooms
On Tue, Feb 13, 2018 at 2:18 PM, Indrajit Sen Gupta wrote: > In the file MkRules.local.in, I see the line: USE_ATLAS = NO which I believe > needs to be changed to YES. But how do I specify the BLAS file > libopenblas_haswell-r0.2.20.a and its location? I have never done this, but a good starting

Re: [Rd] R Compilation gets stuck on Windows 64

2018-02-13 Thread Indrajit Sen Gupta
In the file MkRules.local.in, I see the line: USE_ATLAS = NO which I believe needs to be changed to YES. But how do I specify the BLAS file *libopenblas_haswell-r0.2.20.a *and its location? Regards, Indrajit On Tue, Feb 13, 2018 at 6:41 PM, Indrajit Sen Gupta wrote: > I was able to compile the

Re: [Rd] R Compilation gets stuck on Windows 64

2018-02-13 Thread Indrajit Sen Gupta
I was able to compile the R from the github by running build-r-devel.bat! Now need to see how to compile it with BLAS. Regard, Indrajit On Tue, Feb 13, 2018 at 5:45 PM, Jeroen Ooms wrote: > On Tue, Feb 13, 2018 at 12:22 PM, Indrajit Sen Gupta > wrote: > > Hi Avraham, > > > > I tried with the

Re: [Rd] R Compilation gets stuck on Windows 64

2018-02-13 Thread Jeroen Ooms
On Tue, Feb 13, 2018 at 12:22 PM, Indrajit Sen Gupta wrote: > Hi Avraham, > > I tried with the patched version. The same error message. > > gcc -std=gnu99 -m64 -shared -s -mwindows -o R.dll R.def console.o dynload.o > editor.o embeddedR.o extra.o malloc.o opt.o pager.o preferences.o psignal.o > rh

Re: [Rd] R Compilation gets stuck on Windows 64

2018-02-13 Thread Indrajit Sen Gupta
Hi Avraham, I tried with the patched version. The same error message. gcc -std=gnu99 -m64 -shared -s -mwindows -o R.dll R.def console.o dynload.o editor.o embeddedR.o extra.o malloc.o opt.o pager.o preferences.o psignal.o rhome.o rt_complete.o rui.o run.o shext.o sys-win32.o system.o dos_wglob.o

Re: [Rd] Fix minor typo in error message from grDevices

2018-02-13 Thread Tomas Kalibera
Fixed, thanks, Tomas On 02/12/2018 09:33 PM, John Blischak wrote: > Hi, > > I fixed a minor typo in an error message from grDevices. Please see > attached for a patch to revision 74246. > > Thanks, > > John > > > __ > R-devel@r-project.org mailing list >

Re: [Rd] Setting the path to Rtools for package compilation on Windows

2018-02-13 Thread Jeroen Ooms
On Tue, Feb 13, 2018 at 7:45 AM, Peter Langfelder wrote: > Hi all, > > I'm trying to set up the Windows Rtools toolset for building packages > with compiled code. I installed for Windows R-3.4.3 from CRAN and > installed Rtools-3.4 in a custom location M:\R\R-3.4.3 and > M:\R\Rtools-3.4 > > Follow

Re: [Rd] Setting the path to Rtools for package compilation on Windows

2018-02-13 Thread Tomas Kalibera
Thanks for the report - this has been already reported as bug 17376, it is caused by scripts that build the Windows binaries and by now has been fixed in R-patched and R-devel snapshot builds. So as a solution that works now I would recommend using R-patched. Tomas On 02/13/2018 08:33 AM, Sø