Displaying 20 results from an estimated 100 matches similar to: "Using win-builder with static libraries"
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.
>
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"
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
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
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
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) :
====
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
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
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
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when
compiling to ensure that the stack protector is not used.
(Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD
INSTALL`, compilation of your package succeeded but linking failed
saying the DLL 'Fpi' was not found; I imagine that's a separate
issue.)
As an aside, be sure to check out what
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
2009 Jul 21
1
Building a package with BLAS under Windows
Hi everybody:
I am writing a package that includes C code that uses the BLAS library. My
Makevars looks like
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS).
If I check and build the package under Linux on my own computer everything
works fine. However, if I submit the package to win-builder I get the
following error messages:
g++ -shared -s -o bzipl.dll tmp.def ars.o bzipl.o cvm_arrays.o
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
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
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.
2009 Mar 05
1
Bug in Rdconv(.pm) (PR#13575)
For the record (and as privately discussed with Brian Ripley), happens
with all recent versions of R including R-devel from today:
Consider a simple a.Rd file containing the lines
==================
\name{a}
\title{a}
\value{\code{a} \code{\link[a]{a}} \pkg{a}
\item{a}{a}
}
==================
with these lines, I get, e.g.:
==================
R CMD Rdconv --type="txt" a.Rd
a