Displaying 20 results from an estimated 2000 matches similar to: "Trying to make DEBUG=T a debug version of R"
2013 Apr 10
3
windows compile R from source, where do I put the Tcl directory?
Hi,
I am trying to compile R from source on Windows.
I am following the instructions here
3.1 Building from source
3 Installing R under Windows
file:///F:/ProgramFiles/R/R-2.15.3/doc/manual/R-admin.html
It only says,?
"
The Tcl/Tk support files are contained in Rtools30.exe and?
available as .zips from http://www.stats.ox.ac.uk/pub/Rtools.?
Please make sure you install the right version:
2017 Sep 09
1
list subselect by name ?
list subselect by name ?
-------------------------
I have this 'list of two elements of named elements.'
> list(letters=letters, LETTERS=LETTERS)[c("letters","LETTERS")]
$letters
[1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m"
2014 Sep 15
1
Debug an R windows (Fortran) DLL within R with gdb?
Hi,?
I have a Fortran 77 subroutine (dll).
On windows XP, how ?would I 'debug it(Fortran) within R' using gdb?
This is how I made it.
----------------------
R CMD SHLIB main.f
gfortran -m32 ? ? -O3 ?-mtune=core2 -c main.f -o main.o
gcc -m32 -shared -s -static-libgcc -o main.dll tmp.def main.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib
2019 Feb 16
3
Trying to compile R 3.5.2 - 32 bit R - on Windows 10 64 bit - with ICU support
Hi,
I am trying to compile R with ICU support.
I am following
https://cran.r-project.org/doc/manuals/R-admin.html#Building-from-source
I have downloaded and extracted
https://www.stats.ox.ac.uk/pub/Rtools/goodies/ICU_531.zip
to
W:\R-3.5._\App\R-Portable\ICU
I have modified MkRules.local
# set to use ICU
USE_ICU = YES
# path to parent of ICU headers
ICU_PATH = w:/R-3.5._/App/R-Portable/ICU
I
2012 Nov 30
1
compiling R for Windows 64 bit
Dear All,
I'm trying to compile R for Windows 64 bit.
I'm following the instructions of R installation and administration
guide v2.15.2 (3.1; A.3.1.4; C.2.2)
and at the moment I compiled the default version (single threaded,
gcc, without external BLAS) ?on my notebook (windows xp 32 bit)
Now I'm trying to compile it on Windows servers 64 bit with the next
configuration :
1. Windows
2020 Jun 01
2
Debugging packages with compiled C code on Windows
I have several related questions.
1. Is it possible to use a GUI: Rstudio/Eclipse/Visual-studio to debug
compiled code on Windows? Things that work on Eclipse for Windows do not
work on Eclipse for Windows.
2. R CMD INSTALL seems to override default attempts to provide
CFLAGS="-DDEBUG -g3 -O0"
3. Is it necessary to compile R with debug turned on? One of the FAQs
mentioned to
2015 Mar 11
1
Notes on building a gcc toolchain for Rtools (but not multilib)
On Wed, Mar 11, 2015 at 1:23 PM, Hsiu-Khuern Tang <tangoh at gmail.com> wrote:
> On Tue, Mar 10, 2015 at 10:47 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
>> On Wed, Mar 11, 2015 at 1:40 AM, Hsiu-Khuern Tang <tangoh at gmail.com> wrote:
>>> On Tue, Mar 10, 2015 at 8:54 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
>>>>
2018 Feb 09
3
R Compilation gets stuck on Windows 64
Hi Avraham,
What a coincidence, I have been following this post of yours:
https://www.avrahamadler.com/2013/10/24/an-openblas-based-rblas-for-windows-64-step-by-step/
Looks like this post is slightly older than what you have shared
previously. It is strange that you did not get the attachments. I am
pasting the contents of the MkRules.local here:
2017 Feb 24
1
Debugging tools and practices in Windows?
On Thu, Feb 23, 2017 at 7:49 PM, Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:
> The R for Windows FAQ suggests "make DEBUG=T" and has some more hints
> https://cran.r-project.org/bin/windows/base/rw-FAQ.html
>
> Tomas
>
>
>
> On 02/23/2017 08:10 PM, Javier Luraschi wrote:
>
>> Right, I'm talking about C code.
>>
>> Do you
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
On Wed, Mar 11, 2015 at 1:40 AM, Hsiu-Khuern Tang <tangoh at gmail.com> wrote:
> On Tue, Mar 10, 2015 at 8:54 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
>>
>> I successfully rebuilt R-devel_2015-03-09 with the most recent version
>> of Rtools tonight, building both ICU_531 and this time libcurl (7.39)
>> as well (and OpenBLAS, of course). The
2012 Dec 17
1
Problems with building R from sources
Hello all,
I'm trying to build R 32bit from source in a Windows 64 machine. I have
followed the steps in "R Installation and Adiministration" (
http://cran.r-project.org/doc/manuals/R-admin.html#Getting-the-source-files)
or at least I think I did everything described. I am not sure if I have
installed the libjpeg, libtiff and libpng files though. I have upzipped
them in the
2019 Feb 02
1
Set the number of threads using openmp with .Fortran?
I got this to work on Linux but it is not working on Windows. *My
understanding is that this should also work on windows, is that correct?*
If so, what should I do? differently?
To get it to work on Linux, I modified my R script as follows:
#' OpenMP Hello World
#'
#' @param nthreads The number of threads that you want to use
#' @example
#' hello(nthreads=2)
#' @export
2010 Jul 13
1
Building a custom Windows installer
Dear r-devel list members,
It's been several years since I last built a custom Windows installer for R,
and despite my notes and the instructions in Sections 3.1.7 and D.4 of the R
Installation and Administration Manual, I've run into a problem, receiving
the following error message:
----------- snip -----------
C:\R\src\R-2.11.1\src\gnuwin32\installer>make myR
2008 Apr 19
1
nondigits in R_FILEVERSION mess up Windows build
I tried for the first time to build R from source on Windows, where I
got the source code via svn. Per the Installation and Administration
manual, I altered src\gnuwin32\MkRules so it had the the locally
correct paths to HTML Help Workshop and Inno Setup 5. I also set
USE_SVNVERSION=yes, as suggested in MkRules itself. Then, while in
the directory src/gnuwin32 I ran 'make all
2006 Aug 01
2
A problem with R CMD SHLIB
Hi,
I followed the example in "Writing R Extensions" to create a shared
object in Windows, using the command
R CMD SHLIB X.cc X_main.cc
This was encountered:
../src/gnuwin32/MkRules:155: warning: overriding commands for target
'.c.d'
../src/gnuwin32/MkRules:143: warning: ignoring old commands for target
'.c.d'
../src/gnuwin32/MkRules:171: warning: overriding commands
2008 Mar 19
1
R CMD SHLIB errors
I got errors when I tried to compile my code into dll on XP box.
"C:/R/R-2.6.2/src/gnuwin32/MkRules:235: warning: overriding commands for
target `.c.d'
C:/R/R-2.6.2/src/gnuwin32/MkRules:223: warning: ignoring old commands for
target `.c.d'
C:/R/R-2.6.2/src/gnuwin32/MkRules:255: warning: overriding commands for
target `.c.o'
C:/R/R-2.6.2/src/gnuwin32/MkRules:243: warning:
2008 Apr 29
1
non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)
Full_Name: Bill Dunlap
Version: 2.8.0dev
OS: Windows XP
Submission from: (NULL) (70.98.76.47)
I tried for the first time to build R from source on Windows, where I
got the source code via svn. Per the Installation and Administration
manual, I altered src\gnuwin32\MkRules so it had the the locally
correct paths to HTML Help Workshop and Inno Setup 5. I also set
USE_SVNVERSION=yes, as suggested
2008 Feb 13
1
R CMD SHLIB help
Hello,
I have been having a great deal of difficulty using R CMD SHLIB to
generate the .so file from my C file. I am using Win XP, and I have
cygwin installed. I updated to the latest MinGW make files in order to
get rid of some error. But I still get a few warnings (shown below), and
no shared file (.so file) produced at the end.
C:\cygwin\home\Deepak>R CMD SHLIB ssa.h
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html
2002 Nov 14
3
compile from source (win2000)
..many thanks, no it works until he didn't find hhc.exe (..but the path to
HTMLHelpWorkshop should be correct !?)
and break down, ok i just check all path settings and find a solution for my
self !
But here another problem:
...modify without the MkRules in my current binary R.1.6.1\src\gnuwin32
C:\DataMining\rw1061\library>Rcmd INSTALL Oop
make: Entering directory