Displaying 20 results from an estimated 800 matches similar to: "How to ensure -O3 on Win64"
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
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
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
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
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
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.
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
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
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
2010 Jan 29
1
Using win-builder with static libraries
Dear All,
I am intending to build a package (pksmooth) on Linux to work on
Windows. Some c++ functions need c++ libraries (numerical recipes)
from a static library "libNR.a".
Building the package on Linux for Linux is allright. However, when
sending the 'pksmooth_1.0.tar.gz' to the online Windows builder
(win-builder.r-project.org),the compilation doesn't take into account
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
Hi,
I created a R library that uses a Fortran module. Everything works like a
charm on linux.
Now I'm trying to make it work on Windows. I cloned my git repository
<https://github.com/ignacio82/MyPi> on a windows computer, and when I press
the build and reload button on Rstudio I get these errors:
==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi
* installing to library
2010 Apr 21
2
suggestion how to use memcpy in duplicate.c
>From copyVector in duplicate.c :
void copyVector(SEXP s, SEXP t)
{
int i, ns, nt;
nt = LENGTH(t);
ns = LENGTH(s);
switch (TYPEOF(s)) {
...
case INTSXP:
for (i = 0; i < ns; i++)
INTEGER(s)[i] = INTEGER(t)[i % nt];
break;
...
could that be replaced with :
case INTSXP:
for (i=0; i<ns/nt; i++)
memcpy((char *)DATAPTR(s)+i*nt*sizeof(int),
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 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.
2003 Jan 14
2
building R1.6.2 from source (windows2k)
hi,
what's wrong in my compiling procedure ?
make
make bitmapdll
make tcl
make docs (..first i get the error message for Latex3.0 so that i'm update
my miktex installation, after this doing again i'm getting no error !)
After "make docs" i should
change directory to R-1.6.2/doc and type:
C:\Rcompile\R-1.6.2\doc>make -f Makefile.win info
make: Makefile.win: No