similar to: How could I find R.exp?

Displaying 20 results from an estimated 8000 matches similar to: "How could I find R.exp?"

2004 May 28
1
About creating an import library
Hi all, First of all, I found R.exp. Thanks. The following is a paragraph I copied from Venables and Ripley’s book “S programming” on Page242. If the code calls entry points in the R engine, create an import library from the file R.exp in the source-package distribution by lib /def: R.exp /machine: ix386 /out: Rdll.lib and add Rdll.lib to the link command or add it to the libraries to be used
2004 Jun 10
2
Questions about Preserving registers
Hi folks, I tried to use Mirosoft Fortran Powerstation 4.0 to create a dll file. However, when I used the command dyn.load(“test.dll”), I got the following message: NULL Warning message: DLL attempted to change FPU control word from 9001f to 90003 I read the instruction on Duncan Murdoch’s website about preserving registers, but I still don’t understand it. For example, 1. On first entry
2004 Jun 07
1
Load a dll
Hi folks, I have a question about how to load a dll. First, I use the command > dyn.load("lassofu.dll"); then, I got the message below “NULL Warning message: DLL attempted to change FPU control word from 9001f to 90003”; After I tried to use this dll in one of s functions, I got the message below “Error in .Fortran("lasso", as.double(x), as.double(y), as.double(b),
2004 May 11
1
How to use c routines in the exiting package?
Hi all, I want to know some details about the c routine “lasso” in the functions of “gl1ce()” . However, I have following troubles. First, I can not find the routine in the local directories of this function (or package). Second, if I found the routine, could I call it just like this way, say, fit <- .C("lasso", …,PACKAGE = "lasso2") in my own functions. My system is
2004 Jun 10
1
Everything was ok, but I failed to get .o file in g77
Hi folks, I tried to compile a FORTRAN routine using the command “g77 –o2 –c all.f”, it seems everything is fine, there is no error message at all, but finally I can not get the file all.o. Therefore, I can not move on to the next step using “g77 –shared –c all.dll all.o” to get the file all.dll. The following is what happened on my screen: > g77 –o2 –c all.f > Could anyone help me? Thanks
2004 Jun 09
1
About dll from c++ routine
Hi folks, My system is Windows98 + R1.9.0. The path for my system is c:\perl\bin; c:\mingw\bin; c:\rtools; c:\windows; c:\windows\command; c:\rw1090\bin. I created three files followed the examples in “Writing R extensions” in the directory c:\temp: // X.hh class X { public: X (); ~X (); }; class Y { public: Y (); ~Y (); }; // X.cc #include <iostream> #include "X.hh" static
2004 May 07
1
Error compiling ROracle on Windows 2000
Hello, I am trying to compile ROracle _0.5-4 under R 1.9.0 without much success. I am running Windows 2000 SP4, Visual C++ 6.0 SP6, and Oracle client 9.2.0.1.0. I was able to run the pre-compiled version of ROracle_0.5-2 under R 1.7.1, but does not work on R 1.8.1 or R 1.9.0. Here is the output from nmake: C:\Program Files\R\rw1090\library\ROracle\src>nmake Microsoft (R) Program
2008 Apr 10
4
File locks?
Hello, Recently, the following problem started happening with a particular samba server: If i have a file open for reading (say, a pdf in xpdf) and then try to write to it (say, through recompiling a latex document) it complains that it cannot open the file for writing. this seems like a file lock issue but I am unsure where it is happening. My previous usage should be perfectly safe since
2010 Feb 12
1
Using seq_len() vs 1:n]
Pat Burns makes a good point. -Peter -------- Original Message -------- Subject: Re: [R] Using seq_len() vs 1:n Date: Fri, 12 Feb 2010 09:01:20 +0000 From: Patrick Burns <pburns at pburns.seanet.com> To: Peter Ehlers <ehlers at ucalgary.ca> References: <4B746AEF.10900 at ucalgary.ca> If you want your code to be compatible with S+, then 'seq_len' isn't going to work.
2010 Oct 19
2
Creating a Windows import lib from R.dll (x64)?
Hello, The procedure for creating an import library (Rdll.lib) that is documented in gnuwin32/README.packages works fine using the i386 architecture, but it doesn't seem to work under x64. Specifically, the procedure is: pexports R.dll > R.exp lib /def:R.exp /out:Rdll.lib /machine:X86 R.dll There are two issues under x64: 1. Older version of pexports crash when applied to an x64 R.dll.
2007 Nov 09
1
Building Rdll.lib with Visual C++
>From the R-2.6.0/doc/README.packages it says: Using Visual C++ ================ You may if you prefer use Visual C++ to make the DLLs (unless they use Fortran source!). The notes here were tested with VC++6. First build the import library Rdll.lib by make R.exp ... In the installation (R-2.6.0-win32.exe) there is no Makefile with an R.exp target that I could find and I get
2003 May 06
2
Compile R into a standalone EXE for WINNT
Hi, I have an R script (transferred from SPLUS) and would like to compile a standalone EXE (or DLL) for WINNT. Would somebody know how this works or how it could be done ? Thanks so much for any hints and suggestions; best regards F. Falk Huettmann Geography Dept.-Earth Science- 2500 University Drive N.W. University of Calgary Calgary AB, T2N 1N4 CANADA Email: falk at ucalgary.ca Tel. 403
2008 Apr 29
1
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
Hi, I am new to R. I need to communicate with Oracle from R program in windows xp. So I am planning to use ROracle. I downloaded the ROracle src from the site below: http://cran.r-project.org/web/packages/ROracle/index.html I am using R version 2.6.2 and Oracle 10g. I followed the instructions to build ROracle. When I try to compile the source src/Makefile.win I get the following error:
2003 Nov 06
3
Stumped
Hi All, I tried combing through the archives, but I think that I just went mental. We're trying to set up a pxe server here using syslinux 2.0.6, and here's what we've got: client sends bootp request receives ip, server to go to and file to fetch. fetches and executes pxelinux.0 fetches pxelinux.cfg/default fetches display.msg (defined in default) displays the text - but when I
2008 May 01
3
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
Hi, I need to use ROracle to communicate with Oracle from R program in windows environment. I am using Oracle 10g, R 2.6.2. I found a pre-compiled binary for ROracle for Oracle version 9.2. When I am trying to use it with Oracle 10g I get the following error: con <- dbConnect(drv, "user/passwd at dbname"); Error in function (classes, fdef, mtable) : unable to find an inherited
2006 Nov 14
1
R.exp file for building packages
I am trying to port some C code from S-Plus (7.0.6) to R (2.4.0) under Windows XP SP2. I use Visual C++ 6.0 to build my library for S-Plus, so I'd like to stick with that set up, if possible. According to the README.packages file, I need the file R.exp (containing functions exported from R.dll, I'm guessing) to build an R package with VC++. >From what I've read in the archives of
2007 Mar 29
1
Using functions in LAPACK in a C program
Hi, I wonder where I can find an example of using a function in LAPACK library in a user's own C code. I wrote a C program which will be compiled and linked to produce a DLL file and then loaded into R. I hope to use a function from LAPACK library, for example, dgesdd, in the program. Following R manual, I call the function by F77_CALL(dgesdd) in the program. The program can be compiled
2004 Nov 24
2
text() with invalid argument type crashes RGui.exe
Dear Rexperts: (R 2.0.1 on Windows XP Pro) Is the following problem unique to my setup? If it's a known problem, I didn't see it at http://bugs.r-project.org/ nor find discussion in the archives. plot(1:10) loc <- c(5, 6) text(loc, labels = "a") Produces expected results according to ?xy.coords. plot(1:10) loc <- list(x = 5, y = 6) text(loc, labels = "a") No
2010 Dec 02
1
Strange problems with compiling dll
Dear sir\madam! I'm trying to speed up my R code by writing quite simple dll's in C. But I faced some problems, and I cannot determine their source. #include <Rinternals.h> SEXP mycombin(SEXP N, SEXP k){ int i, *j, *l, c; j = INTEGER(k);l = INTEGER(N); c = 1; if(j[0] > 0 && j[0] < l[0]){ if(j[0] <= l[0] - j[0]){ for(i =
2004 May 25
2
Saving/exporting graphs
HI: I have tried to find a way in which to export/save graphs via the command line. I know i can right click on it and save it as wmf etc. But I was wandering if there is a function such as Splus' export.graph Thanks >From Alberto Nettel's Desk University of Calgary Math & Stats Department. Room 346, ext 7199 E-mail: nettel at math.ucalgary.ca