Displaying 20 results from an estimated 10000 matches similar to: "Building R as shared library (dll) in Windows"
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
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:
2002 Aug 13
1
Rcmd SHLIB under NT
Hello:
I'm trying to use Rcmd SHLIB to compile a single file, sann.c, to
get sann.dll.
I was able to get
make libR.a
to work, after going into MkRules and changing the line
DLLTOOL=$(BINPREF)dlltool -k --as $(AS)
to read
DLLTOOL=C:/MINGW-1.1/bin/dlltool -k --as $(AS)
But now I get:
C:\rw1051\src\gnuwin32>Rcmd SHLIB sann.c
make: make: Command not found
make: *** [libR] Error 127
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
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
2005 Sep 06
1
bash help please
I'd like to make MikTeX the default TeX package in 2.2.0, but we still
need to let people use other packages. The problem is that MikTeX wants
a command line option --include-directory $R_HOME/share/texmf, while
other packages specify includes via environment variables, and barf when
they see the unexpected option.
The choice should be controlled by the user's settings in the MkRules
2012 Apr 10
1
Building customized R for Windows installer using 'make myR'
I am attempting to build a customized R installer on Windows, using the Inno
Setup installer.
I am following the instructions in Section 3.1.8 of the R Installation and
Administration Manual ("Building the Inno Setup installer"), which includes
the following passage:
An alternative way to customize the installer starting with a binary
distribution is to first
make a full
2002 Jan 19
1
Build R-patched from Source
Hi,
If I want to build R-patched from source (on Windows), do I need to edit
Makefile and/or MkRules at all?
I have followed all instructions in the INSTALL file (under
R-patched/src/gnuwin32/), as well as downloaded all the files from
http://www.stats.ox.ac.uk/pub/Rtools/ . My PATH variable has been
modified accordingly.
Now, with the only change to MkRules I made was to modify the Tcl/Tk
2004 Jul 07
2
Win32 & C code
Hi,
I'm trying to get C code working with R. This is my first time writing C
on Windows and I'm making a mess of it. Help!
I'm following the example in Roger Peng's "An Introduction to the .C
interface to R". The C code is:
#include <R.h>
void hello(int *n){
int i;
for(i=0; i < *n; i++) {
Rprintf("Hello, world!\n");
}
}
I seem to be unable
2013 Oct 05
3
trying to compile R in win 7 (with Rtools)
hello all,
I am trying to compile the R in Win7
and compiles one small part
but the script don't move from the 'base' directory to 'stats'
I installed the Rtools likee administrator
and call the terminal (MS-DOS) like administrator too.
if somebody can tell me any tips, I thank in advanced
cleber
#############################################
File LOG
2003 Apr 16
3
R-1.7.0 WIN2000 INSTALL
This is the first time I've ever compiled from sources so bear with me.
OS: Windows 2000
PATH:
.:
D:/Rtools/:
D:/mingw/bin/:
C:/Progra~1/Perl/bin:
D:/texmf/miktex/bin/:
D:/Progra~1/HTMLHe~1:
D:/Progra~1/R/rw1062/bin/:
C:/Progra~1/Insightful/splus61/cmd/:
D:/cygwin/bin:
D:/Progra~1/SSHCom~1/SSHSec~1:
D:/Progra~1/Tcl/bin/:
C:/Progra~1/Microso~3/VC98/Bin
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
2012 Jul 08
1
yet another windows installation from source issue
Dear R People:
I'm starting to think that I should just install from the binary, but
here is my latest effort to install from source on a Windows 7 64 bit:
c:\R64\R-patched>cd src
cd src
c:\R64\R-patched\src>cd gnuwin32/
cd gnuwin32/
c:\R64\R-patched\src\gnuwin32>set TMPDIR=c:\temp
set TMPDIR=c:\temp
c:\R64\R-patched\src\gnuwin32>make all recommended
make all recommended
2009 Aug 15
1
Building 'R' from source for Windows.
I know I am going to catch alot of comments for this question but I am really stuck. If there is some written documentation that I have missed please redirect me.
I want to build 'R' from source on a Windows Platform. The main reasons are that I want to check out a debugging some existing packages so I need to build with debug symbols and I want to check out a 64-bit version of
2011 Sep 23
1
Building R on Windows 7 -- No rule to make target `etc/GETDESC', needed by `fixetc'.
Hi all,
I have been experiencing difficulties building R (be this 2.13.1,
beta, devel, or rc) on Windows 7 64bit.
I believe I am following the manual religiously, and don't think I am
doing anything differently from the many successful build attempts in
the past. Unzipping the tarball works fine, but when I invoke make, I
get (shown for R-rc, same for 2-13.1):
2015 Jan 26
2
Building rinstaller using R-devel (3.2.0-to-be) halts when trying to copy html files
As the build process, especially for Windows, is changing
significantly for R 3.2.0, I am trying to build R-devel in
preparation. When running `make rinstaller`, I get the following
error:
cp -p ../../../etc/x64/Makeconf R-devel/etc/x64
mkdir -p R-devel/doc
cp -p ../../../doc/CRAN_mirrors.csv R-devel/doc
mkdir -p R-devel/doc/manual/images
cp -pR ../../../doc/html R-devel/doc
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
2003 Dec 10
0
dyn.load for c code
I am learning how to load C code into R-1.8.0 on Windows 98. To this end I wrote
a small c program, downloaded the tools, perl, and mingw on the "building
R for windows" page, and proceeded to create libR.a & libRblas.a as explained
in the readme.packages. I started with a simple c program called mysum.c that can
be found on: