Displaying 20 results from an estimated 6000 matches similar to: "SHLIB"
2002 Aug 04
3
Fortran DLLs
Hello everyone,
I'm using R 1.5.1 on Windows.
I chose the option 'Install Source Files' when installing R.
The code below shows my use of the command SHLIB and the error I get.
C:\R\rw1051\bin>Rcmd SHLIB C:\Stage 9 (Phase 2)\cir3int.f
'perl' is not recognized as an internal or external command,
operable program or batch file.
I'm assuming I'm missing some perl
2004 Nov 12
2
Loading libraries in 2.0.0 (PR#7364)
I'm using version 2.0.0 of R on a Windows 2000 OS. Packages that I installed
in 1.9.1 are not installing properly in 2.0.0. Specifically, I can install
packages from local zip files with the following code (which I execute
through the GUI):
> install.packages(choose.files('',filters=Filters[c('zip','All'),]),
.libPaths()[1], CRAN = NULL)
updating HTML package
2002 Jul 26
1
RNG in R
Hi,
I'm working with a programmer on translating code I wrote for a simulation
in S into FORTRAN. Since the S source code is not available, I decided to
use the random number generator (RNG) in R. The problem is that the R code
is complex enough that we can't isolate the proper source files to include.
Although we can link to the C code and call the RNG, we haven't been able to
find
2003 Mar 13
2
The function 'apply' (PR#2633)
Full_Name: Paul Louisell
Version: 1.6.2
OS: Windows NT
Submission from: (NULL) (192.249.47.9)
I've found a problem with either the 'apply' or 'is.factor' functions, and it
seems like it might be cause for concern. Here are the commands taken directly
from the R session:
> is.factor(test.frame[, 1])
[1] TRUE
> is.factor(test.frame[, 2])
[1] TRUE
>
2003 Nov 06
1
Question about computing offsets automatically
Hi,
I'm using R version 1.8.0 on Windows NT. When fitting a glm with Poisson
random component and a log link, I frequently need to include an offset.
Typically I use xtabs or table to get the counts for the contingency table,
and then I use as.data.frame.table to create a data frame that I can use in
the glm function. I have not found an option that allows me to total the
offset variable to
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
2007 Dec 20
2
SHLIB steps on a Makefile
Hi,
I need to create a Makefile.win for a given package so as to fiddle
slightly with the compilation process. My Makefile works fine in Linux
but I am having trouble creating Makefile.win for MinGW. I first
looked at the commands that Rcmd SHLIB appeared to be running and
copied those onto the Makefile. But one step seems to be missing, the
creation of the _res.rc file needed by windres
2003 Jan 29
1
The function 'any' (PR#2503)
Full_Name: Paul Louisell
Version: 1.6.2
OS: Windows NT
Submission from: (NULL) (192.249.47.9)
There is a slight bug in the function 'any'. Given a logical vector (possibly
including values of 'NA'), the default action of any should be as follows:
(i) at least one value = T should return T
(ii) NO values = T
(a) at least one value = 'NA' should return 'NA'
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
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
2005 Apr 25
1
The eigen function
I'm using R version 2.0.1 on a Windows 2000 operating system. Here is some
actual code I executed:
> test
[,1] [,2]
[1,] 1000 500
[2,] 500 250
> eigen(test, symmetric=T)$values
[1] 1.250000e+03 -3.153033e-15
> eigen(test, symmetric=T)$values[2] >= 0
[1] FALSE
> eigen(test, symmetric=T, only.values=T)$values
[1] 1250 0
> eigen(test, symmetric=T,
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
2004 Oct 17
3
question about Rcmd SHLIB
Dear R-people:
I tried to create a shared library in Windows XP. However I got error
messages which attached below:
C:\lasso>Rcmd SHLIB all.f cox.f
gcc all.o libR makeMakedeps all.dll -o all
gcc.exe: libR: No such file or directory
gcc.exe: makeMakedeps: No such file or directory
make: *** [all] Error 1
I have created shard libraries successfully before. Also for the same
fortran files:
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.
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
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;
2002 Aug 24
3
link my own C library using Rcmd SHLIB
Hi All,
I have already used gcc to creat a library, for example, it is called
"test.a", which includes many
c objects.
How to link my main "a.c" function to this library when I used Rcmd SHLIB
to complier my main c program?
I tried "Rcmd SHLIB a.c test.a". It does not work this way. Does anyone
have idea about this?
Thanks,
Xiaoping
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
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