Displaying 20 results from an estimated 400 matches similar to: "Debug an R windows (Fortran) DLL within R with gdb?"
2013 Apr 11
1
La_svd compiler error
Dear All,
I have been trying to compile a package for windows that we have written. Since R version 3.0.0 the package doesn't compile any more. (On Linux the package compiles without errors).
The error specifically says:
gcc -m32 -I"C:/PROGRA~1/R/R-30~1.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c
2014 Feb 03
1
Fwd: linker issue
Hi,
I am trying to compile C++ with R and I am coming up against - what I
believe - is a linker configuration issue.
For example, using has_develop() gives the following message...
> has_devel()
"C:/PROGRA~1/R/R-30~1.2/bin/i386/R" --vanilla CMD SHLIB foo.c
gcc -m32 -I"C:/PROGRA~1/R/R-30~1.2/include" -DNDEBUG
-I"d:/RCompile/CRANpkg/extralibs64/local/include"
2012 Oct 09
2
RMySQL install on windows
I have been trying to install RMySQL on Windows 7 following the
procedure at:
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL
I think I have properly installed RTools and created a proper
Renviron.site file saying:
MYSQL_HOME="C:/Program Files/MySQL/MySQL Server 5.5"
When I try to install the packages from source, I get warnings that
suggest I'm still not quite "with the
2012 Jun 24
2
Win 64 package build - ERROR: loading failed for 'x64'
I have developed an R package that works under Win32, but when I attempt to build it on Win64,
I get ERROR: loading failed for 'x64'
More precisely, I developed and tested the package under Win32 and it works. But when I move
to a 64 bit Windows 7 (Home Premium) system, and attempt to build both 32 bit and 64 bit packages,
the 32 bit package seems to build, but the 64 bit build
2014 Oct 08
1
RCMD SHLIB problem in 64 bits
I am trying to build a dll writen in C to be called by R.
Interestingly, when I set the global environment variable PATH to be
"c:\Rtools\bin;C:\Rtools\gcc-4.6.3;C:\Program Files\R\R-3.1.1\bin\*i386*;"
and I typed "RCMD SHLIB Permutation.c" in Cygwin, the dll was compiled and
I can sucessfully call functions after I had loaded it into 32 bits R via
.Call.
However, now I want
2012 May 03
1
Setting up a windows system for rcpp
I am running into a wall getting my system to work with rcpp and inline.
Following Dirk's advice on stackoverflow, I hope someone is able to help
me.
My steps were to install MinGW 32 bit first, then installing Rtools, I
disabled MinGW's entry in the PATH.
I am trying to get the following code to work:
library(Rcpp)
library(inline)
body <- '
NumericVector xx(x);
return wrap(
2012 Oct 15
1
how to include --configure-args= in R CMD INSTALL
I am installing RMySQL_0.9-3.tar.gz pkg on windows-7 64 bit machine as:---
C:\Users\trendwise> R CMD INSTALL
--configure-args='--with-mysql-inc="C:\\Program Files\\MySQL\\MySQL Server
5.5\\include"' "C:\\Users\\trendwise\\Downloads\\RMySQL_0.9-3.tar.gz"
* installing to library 'C:/Users/trendwise/Documents/R/win-library/2.14'
* installing *source* package
2012 May 18
1
Cannot Install Custom Package On Windows7 64-bit
Hi,
After uninstalling Rtools 2.14.0, I have installed the latest version of
Rtools 2.15.0 which gives the two folders
C:\Rtools\bin
C:\Rtools\gcc-4.6.3
R is installed in the directory
C:\R\R-2.15.0
I have set the Environment Variable
PATH=c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;c:\R\R-2.15.0\bin;<others>
I am trying to install a custom package (BMEA_0.2.1) which is exactly
2012 Apr 24
1
Compiling RMySQL on Win7 64bits RS-DBI.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
Hi,
On a Win7 64 bit, I have installed:
*R-15.0 and I am running it in 64bits
*Rtools215.exe*MySQL 5.5.23 64bits
My PATH start with D:\BenSave\Rtools\bin;D:\BenSave\Rtools\MinGW64\bin;D:\BenSave\R\R-2.15.0\bin;D:\BenSave\Rtools\MinGW\bin;D:\BenSave\Rtools\gcc-4.6.3\bin;
Note that I place MinGW64\bin has I want the package in 64 bits, so just in case it helps...
To install RMySQL 64 bits, I
2017 Nov 20
2
package check fail on Windows-release only?
I mistakenly left a write in "/tmp" in the rockchalk package (version
1.8.109) that I uploaded last Friday. Kurt H wrote and asked me to fix
today.
While uploading a new one, I became aware of a problem I had not seen.
The version I uploaded last Friday, 1.8.109, has OK status on all
platforms except r-release-windows-ix86+x86_64. I get OK on
oldrel-windows and also on devel-windows.
2010 Jul 26
1
problem with building package on CRAN
Dear friends,
I have just gotten a strange error message back from Uwe saying
that the most recent version of psych failed to pass R CMD check for
Windows.
The error message was less than helpful, in that it seems to have
failed when trying to include the Rcpp library, which I do not
directly call. (see below)
"* using log directory
2012 Oct 13
0
RS-MySQL.h:32:19: fatal error: mysql.h: No such file or directory
i m installing RMySQL under windows -7 64bit,
i have wamp server(which has mysql5.5.16)
i have given MYSQL_HOME path in environment variable as
MYSQL_HOME=C:\wamp\bin\mysql\mysql5.5.16\bin ,
& also create Renviron.site file in C:\Program Files\R\R-2.15.0\etc
giving MYSQL_HOME=C:/wamp/bin/mysql/mysql5.5.16/bin as path
i install c connector "MySQL Connector C 6.0.2" version
2012 Dec 24
1
How to ensure -O3 on Win64
Hi,
Similar questions have come up before on the list and elsewhere but I
haven't found a solution yet.
winbuilder's install.out shows data.table's .c files compiled with -O3
on Win32 but -O2 on Win64. The same happens on R-Forge. I gather that
some packages don't work with -O3 so the default is -O2.
I've tried this in data.table's Makevars (entire contents) :
====
2011 Apr 20
3
useDynLib in older versions e.g. (2.10)
Hi,
Has something changed regarding the useDynLib in the NAMESPACE file in
packages? I've written a package that works in e.g. 2.12/2.13 but simply
cannot find the dynamic library under windows. The version on CRAN is
older than the one I'm talking about and depends on a newer version of R
but I want to make the package available to people with older versions.
>
2012 Feb 14
2
R CMD SHLIB in Windows XP - No output at all
Hello all,
I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please
note that I don't have the admin rights on the computer.
In terms of setup, I have followed the procedure :
=> installed Rtools 2.14
=> changed my path :
PATH=C:\Trading\R\RTools\bin;C:\Trading\R\RTools\MinGW\bin;C:\Trading\R\R-2.14.1\bin\i386;C:\WINDOWS\system32;%OTHER_PATHS%
But when I try R CMD
2014 Jul 22
1
Problems with building a private R-package with Fortran source under Windows
Hi,
I recently managed to port the slicot library (http://slicot.org/) to R.
I created a new package, put the fortran libs into the src directory
together with a Makevars file that include the line:
PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
R CMD check did run through on my ubuntu 14.04 64bit machine with 1
warning and 4 notes.
Now I wanted to create a Windows version of that package by
2012 Jul 30
0
Unable to install gsl package
I'm attempting to install the gsl package using the following command:
install.packages("c:/users/mike/documents/R/win-library/gsl_1.9-9.tar.gz",repos=NULL,type="source")
My attempt is failing. Please help.
The message supplied is:
Installing package(s) into ‘C:/Users/Mike/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
* installing *source* package
2018 May 14
3
Rd parser throws error for user macros invoked with empty argument
Bug or feature?
I get the following error from parse_Rd() when a user Rd macro (including system ones) is invoked with empty argument {},
eg \mymacro{}:
Error in tools::parse_Rd(fn) :
Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL'
A full example is further below with the system macro \CRANpkg{}. In this example it doesn't make sense to use empty argument but
2018 May 25
2
Rd parser throws error for user macros invoked with empty argument
While on the topic of Rd macro arguments, it seems that if a multiline argument is supplied, the lines after the first are silently ignored:
f <- tempfile()
mac6 <- "\\newcommand{\\mac6}{mac6: #1}"
cat(mac6, "\\mac6{2*3
2+2
sin(pi)
}\n", file = f)
rd <- tools::parse_Rd(f)
> rd
mac6: 2*3
---
Georgi Boshnakov
-----Original Message-----
From: Tomas Kalibera
2017 Nov 21
0
package check fail on Windows-release only?
>>>>> Paul Johnson <pauljohn32 at gmail.com>
>>>>> on Mon, 20 Nov 2017 14:59:26 -0600 writes:
> I mistakenly left a write in "/tmp" in the rockchalk package (version
> 1.8.109) that I uploaded last Friday. Kurt H wrote and asked me to fix
> today.
> While uploading a new one, I became aware of a problem I had not seen.