Displaying 20 results from an estimated 3000 matches similar to: "Acces violation ???"
2003 Apr 03
1
Calling Fortran routines
Hi,
I am having problems calling a fortran routine from within R. When the
routine is called, R exits with an application error:
"The instruction at 0x004a8b7d referenced memory at 0x200000015. The memory
could not be written".
The R code used to call the routine is:
.Fortran("GTEST",a=as.integer(1),b=as.integer(3),c=as.integer(-10),d=as.inte
ger(0),e=as.integer(0))
The
2002 Sep 23
3
Problems with tcltk package
Hello listers,
I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to
load the Tcl/Tk package I get this error:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed
Can someone help me, please?
Thanks,
Juan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2005 Sep 21
2
cdecl and stdcall
Hi,
I'm trying to load a dynamic link library and it seems to work (is.loaded -> TRUE). When I run the function, which calls the .Fortran subroutine, R crashes!
I'v tried the same in S-Plus 2000 and it worked. Therefore I suppose that the dll has been compiled with the stdcall calling convention (and not cdecl). But the problem is that I don't have access to the source code,
2008 Apr 01
1
[LLVMdev] Calling Conventions
I'm trying to understand the LLVM calling conventions. Coming from a
Windows C++ background, I'm familiar with three calling conventions:
cdecl, stdcall, and fastcall. It looks like cdecl corresponds to ccc in
LLVM, but I'm not sure about the other two.
Best Regards,
Jon
2002 Jun 11
3
show messages during a long process
Hi,
I have a function which takes some time to execute (20 sec.) and I want to
show the progress of the execution with simple messages such as "10% done",
"20% done", ... (with a simple "cat" function). The problem is that all the
messages appear together when the execution of the function is over. How can
I show each message at their corresponding time?
Thanks,
2009 Dec 03
4
[LLVMdev] Win64 Calling Convention problem
Hi!
I have discovered a problem with LLVM's interpretation of the Win64
calling convention w.r.t. passing of aggregates as arguments. The
following code is part of my host application that is compiled with
Visual Studio 2005 in 64-bit debug mode. noise4 expects a structure of
four floats as its first and only argument, which is - in accordance
with the specs of the Win64 calling convention -
2005 Feb 10
1
rats in survival package
Dear R-listers,
Does anybody know what is the correct source of "rats" dataset in survival package?
The help gives the following information:
Rat data from survival5
Description:
48 rats were injected with a carcinogen, and then randomized to
either drug or placebo. The number of tumors ranges from 0 to 13;
all rats were censored at 6 months after randomization.
2002 Apr 11
6
extract week from date
Hello R-users,
Does anyone know how obtain the week of a date?
(in SPPS the instruction is "xdate.week")
Thanks,
Juan Ramon
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the
2002 May 03
6
problems with rexp ?
Does anyone know if R have any problems with the exponential random number
generation (function rexp)?
I comment it because I executed
data<-sort(rexp(100))
plot(data,dexp(data)/(1-pexp(data)),type="l")
and the graphic isn't constant.
(Note: exponential distribution have a constant hazard failure rate).
Thank you,
Juan
2003 Oct 27
3
(PR#4806)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C39C9F.B5DABBD0
Content-Type: text/plain;
charset="iso-8859-1"
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing
2009 Dec 03
1
[LLVMdev] Win64 Calling Convention problem
Hello
> I don't know. I feel reluctant to generate different IRs for Win32 and
> for Win64.
Unfortunately, you should. Think about differences and between
_Complex type and struct {double, double}.
>From LLVM's point of view these are same types, however many ABIs have
special rules for passing / returning _Complex,
this is possible to handle in frontend only.
> Since the C
2004 Aug 19
2
(no subject)
Hi, there,
I have a number of F90 codes wish to be linked into R under Windows XP OS.
Do anyone know how to do it and give some advice? Many thanks.
Hanson
2002 Jun 10
3
%in% in R?
Hi,
Does anyone know if exists a similar funcion to %in% from Hmisc S-plus
library in R?
Thank you
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
2013 Mar 28
0
[LLVMdev] Handling SRet on Windows x86
On Thu, Mar 28, 2013 at 12:19 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> What do you mean by "the full platform"? Every propietary extension that
> MS came with along all these years? (From structured exceptions to
> whatever Windows RT requires?)
>
> MinGW is very well capable of using the Win32 API. There is partial or
> non-existent support for extensions
2008 Aug 24
1
problem running dll in R
Hi everyone,
I've created a dll for a fortran subroutine, and when I call the subroutine
in R (via a wrapped function) a standard program shutdown windows error
prompt immediately pops up: the program has encountered a problem and needs
to be shut down... send message / don't send message to MS... etc.
When I click "Don't send", the R consol does not then shut down, and
2005 Feb 11
1
[LLVMdev] Function attributes and bytecode
On Thursday 10 February 2005 21:47, Markus F.X.J. Oberhumer wrote:
> In order to get more familiar with the llvm sources I've recently
> decided to try to add support for the always_inline and noline function
> attributes.
I believe it is better to let the compiler decide when or not to inline a
function. Most of the times a developer goes overboard with inlining and ends
up with a
2009 Dec 03
0
[LLVMdev] Win64 Calling Convention problem
Hello
> When compiling this module with llc (Intel assembler syntax) I get the
> following code. As you can see, the float4 argument is not passed to
> the noise-function by pointer. Instead, noise is treated as if it
> expected four individual floats as arguments, which are passed in the
> registers XMM0-XMM3.
That's correct behaviour. ABI under question is C/C++ ABI and it is
2013 Mar 28
6
[LLVMdev] Handling SRet on Windows x86
Eric Christopher <echristo at gmail.com> writes:
> In my opinion none of these are irrelevant. Mingw and cygwin are separate
> ABIs that deal with some C compatibility (problems mentioned in this thread
> are important here too) and give you the ability to work with low level C
> libraries on windows, but if you want true compatibility with the full
> platform
> those ABIs
2013 Jul 25
4
[LLVMdev] Proposing a new 'alloca' parameter attribute to implement the Microsoft C++ ABI
Hi LLVM folks,
To properly implement pass-by-value in the Microsoft C++ ABI, we need to be
able
to take the address of an outgoing call argument slot. This is
http://llvm.org/PR5064 .
Problem
-------
On Windows, C structs are pushed right onto the stack in line with the other
arguments. In LLVM, we use byval to model this, and it works for C structs.
However, C++ records are also passed this
2002 Jun 18
5
insert number in vector
Hello R-users,
I need to create a vector inserting an 1 after each value of another vector.
For example:
vec1<-c(2,3,4)
I need to create a vector with the values 2,1,3,1,4
Does anyone know how create this vector without loops (vec1 could have 1000
elements)
Thank you,
Juan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read