Displaying 20 results from an estimated 10000 matches similar to: "Re: [R] Rcmd SHLIB problem"
2001 Dec 12
0
RE: [R] Rcmd SHLIB problem
Prof. Ripley,
Seems like mine is 629:
c:\home>perl -v
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 629 provided by ActiveState Tool Corp.
http://www.ActiveState.com
Built 12:27:04 Aug 20 2001
Will try a newer build and see.
Regards,
Andy
> -----Original Message-----
>
2001 Dec 12
1
RE: [R] Rcmd SHLIB problem
Yes, changing line 67 of SHLIB as Uwe suggested worked:
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
rm -f -f tryf.a
ar cr tryf.a *.o
ranlib tryf.a
------- Building tryf.dll from tryf.a --------
echo LIBRARY tryf > tryf.def
echo EXPORTS >> tryf.def
nm tryf.a > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> tryf.def
rm -f Defs
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
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help,
I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
C:\TEMP>Rcmd SHLIB tryf.o
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
I
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help,
I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
C:\TEMP>Rcmd SHLIB tryf.o
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
I
2010 Mar 11
2
Problem with rcmd SHLIB
Hi all,
I am trying to call a C function from R (version 2.10.1) on a windows machine.
The C code is in a .c file, I have pasted the code below although I'm very confident that it does not contain any errors (it is not my code), but also, the problem that I have occurs with every .c file that I have tried this with.
I have installed Rtools and included:
C:\Rtools\bin; C:\Rtools\perl;
2010 Dec 18
1
Rcmd SHLIB error
I am getting this error message when I try to run Rcmd SHLIB myprog.c.
There appears to be a missing / between etc and i386 in the path. I
am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16
r53864) and just downloaded Rtools 2.12 today. Is this a bug in R?
How can I resolve this?
C:\tmp2>Rcmd SHLIB myprog.c
cygwin warning:
MS-DOS style path detected:
2008 Oct 23
0
RCMD SHLIB: static libraries and f77 libraries on Windows
Dear R-devel,
I am converting some stand-alone programs (mixed C and F77) to R functions.
I've run into two issues that
I haven't been able to resolve. I've looked at the R-exts manual and
Readme files, but haven't found answers.
(1) Can I link to a (Win32) static library? Is there some option to RCMD
SHLIB that allows this?
I've tried RCMD SHLIB myprog.c -l
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
2001 Oct 19
0
Rcmd SHLIB: another problem
Well, having made the same installation of Rtools
for rw1031
in a Win98 box (the former one was my Win95 labtop) to get
advantage of significantly more RAM, I try
C:\alobo\Rseg>Rcmd SHLIB test.c
make: /bin/sh.exe: Command not found
make: *** [libR] Error 127
despite the fact that I made a C:\bin
directory and copied sh.exe there.
Actually, if I just type sh in
the MS-DOS window, it works
2001 Jan 05
1
AW: running Rcmd INSTALL: working now!
I almost didn't believe in it anymore, but Rcmd INSTALL finally is working
for me!
Thanks to all who helped on this, especially to Guido Masarotto, Brian
Ripley, John Fox, Peter Dalgaard, Uwe Ligges.
Anyway, I do think the documentation is a bit confusing here (at least for
me, I don't know if others have felt the same). It might be a good idea to
add the essence of Brians and Guidos
2002 Jun 14
0
Rcmd on Windows (fwd)
Hi there,
Finally I got this "Rcomd SHLIB" to like me! The reason was because I did
not log in my computer as "administrator", which caused some problem of perl
being found... Anyway, thank you all for the prompt and intelligent
suggestions.
Best,
Yunda
---------- Forwarded message ----------
Date: Thu, 13 Jun 2002 18:30:45 -0700 (PDT)
From: Yunda Huang <yunda at
2007 Mar 28
2
changes in behaviour of Rcmd SHLIB since 2.4.0
Dear all,
I have some C code using the zlib uncompress. It compiles fine under Win XP
(with SP2) with R up to 2.3.1 and generates four files (Makedeps, *.d,
*.dll, and *.o):
C:\Data\R-packages\cmg>rcmd SHLIB cmg.c -o cmg.dll
latex: not found
making cmg.d from cmg.c
gcc -IC:/PROGRA~1/R/R-2.3.1/include -Wall -O2 -c cmg.c -o cmg.o
cmg.c: In function `readcmg':
cmg.c:33: warning:
2008 Apr 14
0
(PR#11161) Incorrect @INC: Rcmd SHLIB error under Windows
The bug is yours: you are using Cygwin Perl, not a Windows Perl.
This is specifically warned about in the manual:
@strong{Beware}: you do need a @emph{Windows} port and not the Cygwin
one. Users of 64-bit Windows can use a Win64 Perl (such as that from
ActiveState) if they prefer.
You can't expect to use tools from a different operating system (Cygwin is
effectively a guest OS)
2003 Jun 25
0
Rcmd SHLIB on Windows
Hi all,
I would like to preform an autologistic regression analysis on my thesis data. This is a form of logistic regression that accounts for spatial autocorrelation within and between predictor variables. To this end I have received some script from Dr. Fred Huffer which will allow for the analysis in R. It consists of an R script (autolog.R) that calls a compiled Fortran script (combo.o).
2001 Oct 18
3
Rcmd SHLIB in rw1031 (R for Win)
Thanks for the answers on readme.packages.
I have installed Rw1031 from SetupR.exe including the option
for compiling source files and, following directions in
www.stats.ox.ac.ul/pub/Rtools, have installed:
-tools.zip
-Perl (Active Perl)
-mingw-1.1.tar.gz
-copied sh.exe to c:\bin\sh.exe
After Perl installation, its directory is added to my path. I have also
added the directory where the R
2004 Jun 11
2
question about Rcmd SHLIB
Dear R People:
I'm trying to use the Rcmd SHLIB to produce a dll.
Rcmd SHLIB -o test2.dll test2.f
make[1]: *** [libR.a] Error 255
make: *** [libR] Error 2
Where do I go to find out about the "make" errors, please?
I suspect that I might be missing something. I have the tools for creating
new packages, but
maybe I left out something.
This is for R version 1.9.0 on Windows.
2004 Feb 29
1
Rcmd SHLIB
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check?
When I use
"Rcmd SHLIB <filename>"
I get:
C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c
process_begin: CreateProcess((null), dlltool -k --as as --dllname R.dll --def R.
exp --output-lib libR.a, ...) failed.
make (e=2): The system cannot find the file
2003 Jun 13
1
Problem with Rcmd SHLIB
Dear R-helpers,
i am trying to make a shared library from a Fortran subroutine, and i therefore used (after reading the documentation):
Rcmd SHLIB forfile.f #(R1.70, Win2000)
And the error is:
" 'perl' is not recognized as an internal or external command,operable program or batch file."
So i went ahead and tried to install Perl (from the suggested website in
2002 Sep 30
2
"Rcmd SHLIB" does not work
R-users
E-mail: r-help at stat.math.ethz.ch
Hi!
I would like to produce DLL files to be linked to
R objects on Windows98SE. The source files are
written in Fortran77.
I input the command below on R console.
Rcmd SHLIB aaa.f
The result is:
Error: syntax error
Does this mean that "Rcmd SHLIB aaa.f" contains
symtax error, or "aaa.f" contains it?
Or do I need to do