Displaying 20 results from an estimated 10000 matches similar to: "Rtools and MinGW"
2018 Feb 13
4
Setting the path to Rtools for package compilation on Windows
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
Following the instructions, in shell, I set
Path=M:\R\Rtools-3.4\bin;M:\R\Rtools-3.4\gcc-4.6.3\bin;M:\R\R-3.4.3\bin;...
(the ... are other paths irrelevant for R/Rtools).
2012 Feb 03
1
newly install old and present R versions
Hi,
Moving to a new computer (Windows 7) but for reasons of reproduceability
I would seriously like to also install my present R 2.8.1 along with all
extension packages on that machine as well (that is besides R 2.14.1).
What's the best way of doing so?
My idea is:
Get the setup for 2.8.1 and install it; during install neither select
'save version number in registry' nor
2011 Nov 17
2
RV: Reporting a conflict between ADMB and Rtools on Windows systems
De: Rubén Roa
Enviado el: jueves, 17 de noviembre de 2011 9:53
Para: 'Users@admb-project.org'
Asunto: Reporting a conflict between ADMB and Rtools on Windows systems
Hi,
I have to work under Windows, it's a company policy.
I've just found that there is a conflict between tools used to build R packages (Rtools) and ADMB due to the need to put Rtools compiler's
2009 May 05
2
Can't build termstrc package from source
Hi,
I'm trying to build the termstrc 1.1 package from its source on R 2.7.2 on
Windows XP. However instead of building the package it just zips the entire
source into a .tar.gz file.
This is the first time I'm trying to build an R package from source. I
installed the R toolset for Windows and set RTools as well as Perl & MinGW
directories in the path.
Anybody tried this out? Any file
2019 Aug 01
2
Rtools contains Python interpreter(s), and six copies?
I've just discovered that Rtools (on Windows) contains Python
interpreter(s).
I'm assuming that Python is required to build R packages, on all operating
systems.
I think this is a mistake.
Also, by my count, Rtools contains six Python interpreters.
I've miscounted, I hope...
[[alternative HTML version deleted]]
2015 Mar 09
5
Notes on building a gcc toolchain for Rtools (but not multilib)
Hi,
[This is a follow-up to the "New version of Rtools for Windows" thread
in January, but I just subscribed and don't know how to reply to an
old thread -- my apologies.]
I was able to use the nuwen distro to build a gcc 4.9.2 toolchain and
use it to build the latest R-patched with it.
Below are some notes about what I did; I hope they will be useful for
keeping Rtools
2008 Feb 06
1
Building R for Windows
I have some C code (using an old Borland compiler) that calls a DLL that
I'd like to get working from Windows and R (so I can read ABF files -- Axon
Binary Files -- directly in R).
I thought a good first approach would be able to build R in Windows, so
that's what I'm trying to do. [I've done test builds of R under Linux
before, and that seemed fairly simple.]
I've
2018 Feb 13
2
Setting the path to Rtools for package compilation on Windows
On Tue, Feb 13, 2018 at 2:20 AM, Jeroen Ooms <jeroenooms at gmail.com> 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 targeting win64. I am not sure what your
> rtools
2014 Oct 05
2
Using Rtools with gcc 4.8.3
I started working on some R bindings for mongo-c-driver [1]. The C
library compiles fine on Ubuntu Trusty (gcc 4.8.2) and osx (clang),
however on my windows machine (gcc 4.6.3 from Rtools 3.1) it fails
with: 'INIT_ONCE_STATIC_INIT' undeclared. Google suggests that this
might be a problem in older versions of mingw-w64. So I grabbed a copy
of mingw-w64 version 4.8.3 and indeed, here the
2010 Dec 21
1
R CMD build/install: wrong Rtools include path is passed to g++
Never mind. Found the solution: the package coded the rtools path in
Makevars.win. So I was able to compile (but have another problem though). But
not sure if there is an environment name for rtools, maybe RTOOLS_HOME ...
Thanks.
----- Forwarded Message ----
From: Andy Zhu <andyzhu35@yahoo.com>
Cc: r-help@r-project.org
Sent: Mon, December 20, 2010 11:33:31 PM
Subject: [R] R CMD
2008 Mar 11
1
Rtools and GCC4 problem
>>
I am trying to compile rseries from Whit Armstrong and a colleague of mine found
a problem with using GCC4
I get the following error when compiling rseries
g++-sjlj -Ic:/R/include -O2 -Wall -c Rutils.cpp -o Rutils.o
Rutils.cpp: In function 'double* getColPointer(SEXPREC*, int)':
Rutils.cpp:406: warning: deprecated conversion from string constant to 'char*'
2015 Aug 21
2
OpenMP problem with 64-bit Rtools
I've been getting pqR to work on windows systems, and in the process
have discovered various problems with R core versions of R and with
Rtools.
One is with the implementation of OpenMP in 64-bit Rtools. This
problem is in Rtools215 and Rtools33, and presumably all the ones in
between. You can see the problem with the following test program:
#include <stdio.h>
#include <omp.h>
2012 Dec 03
3
error of installing/building an R package (PortfolioAnalytics) on Win 7
Hi,
I am trying to install a package (PortfolioAnalytics) of R 2.15.2 on Win 7.
I have tried the following instructions on :
http://stackoverflow.com/questions/11105131/cannot-install-r-forge-package-using-install-packages
I used svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/ to
get the package and then copy it to my Win 7.
Then, on Win 7 I run:
>
2007 Nov 05
1
R CMD Check fails under Windows XP
Hello,
I have a problem with the checking and building of R packages that contain C or FORTRAN code.
I have implemented R 2.3.1 (2006-06-01) and the corresponding toolset under Windows XP and Windows 2000.
The MinGW compiler components are (exactly as recommended for R 2.3.1)
gcc-core-3.4.5-20051220-1.tar.gz
gcc-g++-3.4.5-20051220-1.tar.gz
gcc-g77-3.4.5-20051220-1.tar.gz
2010 Oct 15
1
Missing libpthread in RTools
It appears that Mingw gcc included in RTools is missing a dependent
library. If I compile a program with '-lgomp' switch (for OpenMP
support), I get a errors about undefined references to functions like
'_imp__pthread_mutex_destroy'. Adding the '-static' switch, I get the
following error:
c:/rtools/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
2018 Feb 13
0
Setting the path to Rtools for package compilation on Windows
I can confirm the behaviour that you report.?
Usually I put Rtools in c:\programs\Rtools and modify the path
accordingly. Recently (don't recall for how long) I have encountered
the same problems as you have and I have resorted to moving Rtools to
c:\Rtools
I have no idea as how to proceed; perhaps it could be worth trying an
older version of Rtools (though that may cause other problems).
2017 Mar 06
2
Seeking advice regarding compilation of large libraries using RTools (Windows)
Yep - simpleITK is available at github.com/SimpleITK/SimpleITK. There's
also github.com/SimpleITK/SimpleITKRInstaller - a devtools based installer
for mac and linux.
CMake has a range of build environments. I experimented with MSYS2 and
mingw makefiles, but had trouble with incompatibilities in the path
required by CMake and those options - from memory the sh in RTools/bin
caused problems.
2018 Feb 13
0
Setting the path to Rtools for package compilation on Windows
On Tue, Feb 13, 2018 at 7:45 AM, Peter Langfelder
<peter.langfelder at gmail.com> 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
>
> Following the instructions, in shell, I
2015 Jan 07
2
New version of Rtools for Windows
I have just uploaded to CRAN a new version 3.2.0.1948 of Rtools for
Windows. This will become visible there in a few hours, and be copied
to mirrors thereafter. People who want to build packages that include
compiled code can use this to supply the compilers, etc., that are
necessary for the build. It also includes some extra materials for
people who want to build R itself.
This version
2012 Dec 30
1
Does dlltools in 64-bit rtools for windows support 64-bit machine type?
Hi,
I've been trying to get the python bridge (rpy2) to build for 64-bit R
and python. The current stumbling block is that mingw can't use the
python27.lib file that comes with CPython and so I need to generate
libpython27.a.
When I use dlltool from rtools to do that however, I end up with a 32-bit file:
>"G:\Rtools\gcc-4.6.3\i686-w64-mingw32\bin\dlltool" -e libpython27.a