Displaying 20 results from an estimated 2000 matches similar to: "Load a dll"
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 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 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 May 28
1
How could I find R.exp?
Hi all,
I try to create an import library for using dll. Following the
instruction in the readme.package, I used the command “lib /def:R.exp
/out:Rdll.lib”, however, the error message showed “Cannot open file
R.exp”. I downloaded the source code R-1.9.0.tgz, but I can not find
R.exp. Thanks!
Rui
Phone: (403)220-4501
Email: rwang@math.ucalgary.ca
Department of Mathematics and Statistics
2004 Nov 18
1
ROracle connection problem
Hi,
I found the same question in the mailing list already a few months ago -
but there was no answer to it - so I'll try it again
Could somebody help me to solve this following problem? I just begin to
learn how to connect my Oracle database with R.
> library(DBI)
> library(ROracle)
Warning message:
DLL attempted to change FPU control word from 8001f to 9001f
>
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
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 Apr 16
1
Pb on startup with R1.9.0
I'm using Rprofile file on R1.9.0 startup and inside I'm loading a personal Library which uses winMenuAdd() and I've got this error :
Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd"
I hadn't this problem with others R versions.
What Can I do now to avoid that?
I'm using R1.9.0 under Win98.
[[alternative HTML version deleted]]
2004 Apr 21
2
segfault in approx() (PR#6809)
This is R1.9.0, windows XP
I run across the following:
It is admittedly silly, but it shouldn't segfault:
test <- list(y=1:100, x=rep(NaN, 100))
approx(test, xout=rep(NaN, 10))
Bombs!
Kjetil Halvorsen
2004 Jun 05
2
'invalid HOMEDRIVE'
Dear all,
One of my students have installed R1.9.0 on windows, and gets the fatal error
'invalid HOMEDRIVE'
Can anyone help her/me out on that one?
Thanks in advance
Søren Højsgaard
[[alternative HTML version deleted]]
2004 Jul 04
2
how to use a script file for all the codes?
Hi there,
I am using the windows version R1.9.0.
I used to be a Splus user. When I used Splus to try some computation, I like
to put all my codes in a script file and check them line by line. This way I
can keep track of all my thinking and it's very easy to make correction at
some earlier steps.
Now I can not find this script-file style in R. The software itself doesn't
seem to have
2004 Apr 29
5
Problems in plot
Hello,
I have R1.9.0 under Windows XP. My program plots several plots using
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
Sometimes, one of them generates a small frame only with title area "R graphics: Device X (ACTIVE)". The message in the console window is
Error in plot.new() : Figure margins too large
2004 Apr 28
2
Matrix efficiency in 1.9.0 vs 1.8.1
I'm seeking some advice on effectively using the new Matrix
library in R1.9.0 for operations with large dense matrices. I'm working on
integral operator models (implemented numerically via matrix operations)
and except for the way entries are generated, the examples below really are
representative of my problem sizes.
My main concern is speed of large dense matrix multiplication.
In R
2004 May 25
4
Object "silhouette.default" not found. But I knew that it is there.
Hi!
>library(cluster)
In this lib a function called silhoutte.default is defined
than on the R prompt it type
>silhouette.default
Error: Object "silhouette.default" not found
R1.9.0
The same error are at R1.8.1
And I knew that a function silhoutte.default are present.
But the same piece of code works in R1.6.2
???
Eryk
Dipl. bio-chem. Eryk Witold Wolski @
2004 May 21
1
search and missing library
I'm not sure what is going on with this one -- maybe it will make
sense to someone.
R1.9.0 under Windows 2000.
1) Start up R.
2) search() # works as expected
3) library(fBasics) # from Rmetrics
# but at least one of its required packages is not present on the machine
4) search() # nothing appears at all but the prompt
Once all of the required packages are present, then step 3 no longer
2004 Apr 20
1
Error while loading R2HTML in Rprofile
Hi List,
When loading library(R2HTML) in Rprofile I get the following error:
Error in firstlib(which.lib.loc, package) :
couldn't find function "ps.options"
Error in library(R2HTML) : .First.lib failed
[Previously saved workspace restored]
% ps.options is there
% Loading the library from the command prompt works fine, other libraries load fine through Rprofile.
% This
2004 Sep 14
3
memory allocation questions
Dear R-devel
This one seems a bit arcane for R-help. I very often use R to call routines written in Delphi (son of Pascal), doing "persistent" memory allocation within Delphi. That is, I start R and load the Delphi DLL; then I use .C to call a Delphi routine which allocates a piece of memory X and returns to R a pointer to X; then I do some more stuff in R; then I call another Delphi
2004 Oct 04
2
call step inside a function
I am wondering why my function works fine in R1.7.1 and R1.8.1 but not in
R1.9.0. I thought it's an environment related problem but I can't solve it.
>data
weta jd
1 1 4
2 2 13
3 2 13
4 6 4
5 1 3
6 1 7
7 2 10
8 3 10
9 1 8
10 1 8
11 3 6
12 1 9
13 1 5
14 1 1
15 3 13
16 1 2
17 2 2
18 7 11
19 1 3
20 5 4
2004 May 12
1
Problem with plot (PR#6875)
Hi!
Pinned the problem with plot down a bit. I can reproduce it with only 2 lines of R on my Windows XP machine.
(today reinstalled R1.9.0) and Bioconductor packages updated.
Can anyone reproduce this behaviour?
(I am surely reproducing this error only if library(ROC) is loaded at the beginning of the session.)
z:\devel\Paper2004\patrick3>Rterm
R : Copyright 2004, The R Foundation for
2004 Jun 28
1
R client connection OLAP cube (SQL Analysis Services / PivotTable Service)
I have been doing data analysis/modeling in R, connecting to SQL databases
with RODBC (winXP client with R1.9.0 and win2k SQL server 2000).
I am now trying to leverage some of the OLAP features to keep the data
intensive tasks on the DB server side and only keep the analytical tasks
within R (optimize use of memory). Is there any package that would allow to
connect to OLAP cubes (as a client