Displaying 20 results from an estimated 30000 matches similar to: "Rcomplex"
2023 Apr 03
1
Breaking Change in Rcomplex Layout?
On 4/3/23 15:50, Michael Milton wrote:
> Okay, but I'm afraid this will only mean something to Rust users. The
> reason being that we encountered this issue in extendr: a Rust
> extension library for R. The specific compiler errors we encounter
> happen because bindgen (the Rust code generation library) read the
> changed R header files, and generated a new type definition
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
Hi Tomas,
Thanks for this explanation. As you can probably tell I'm not much of a C
person, so I didn't realise this change would be invisible to C users. I
suppose R's stability contract only applies to C, and therefore changes
that break other languages such as Rust are out of scope. You are right
that this error is confused by bindgen's inability to handle anonymous
types, but
2023 Apr 03
1
Breaking Change in Rcomplex Layout?
On 4/3/23 14:07, Michael Milton wrote:
> Hi all,
>
> There seems to have been a breaking change in the R trunk caused by a fix
> to bug 18430 <https://bugs.r-project.org/show_bug.cgi?id=18430> that
> relates to the layout of the Rcomplex typedef. Previously it was a struct,
> but now it's a union by default
>
2023 Apr 03
1
Breaking Change in Rcomplex Layout?
Hi all,
There seems to have been a breaking change in the R trunk caused by a fix
to bug 18430 <https://bugs.r-project.org/show_bug.cgi?id=18430> that
relates to the layout of the Rcomplex typedef. Previously it was a struct,
but now it's a union by default
2001 Feb 20
2
segfault
I've managed to trap the following segfault with xxgdb and gctorture() set. The
segfault seems to move around if gctorture() is not set, but has now occurred twice
in the same spot with it set. xxgdb gives the message
Program received signal SIGSEGV, Segmentation fault.
0x71244 in RunGenCollect (size_needed=2) at memory.c:1027
and the source listing points to FORWARD_CHILDREN(s); in the
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
On 4/4/23 04:27, Michael Milton wrote:
> Hi Tomas,
>
> Thanks for this explanation. As you can probably tell I'm not much of
> a C person, so I didn't realise this change would be invisible to C
> users. I suppose R's stability contract only applies to C, and
> therefore changes that break other languages such as Rust are out of
> scope. You are right that this
2012 Mar 06
2
Calling FORTRAN function from R issue?
Hello,
I am trying to call the BLAS Level1 function zdotc from R via
a .C call like this:
#include "R.h"
#include "R_ext/BLAS.h"
void testzdotc() {
Rcomplex zx[3], zy[3], ret_val;
zx[0].r = 1.0; zx[0].i = 0.0;
zx[1].r = 2.0; zx[0].i = 0.0;
zx[2].r = 3.0; zx[0].i = 0.0;
zy[0].r = 1.0; zy[0].i = 0.0;
zy[1].r = 2.0; zy[0].i = 0.0;
zy[2].r = 3.0;
2000 Oct 04
3
R 1.2 build
I've been trying to build a bundle with the R-devel snapshot from
yesterday. (Yes I know it is unstable and just tell me if I shouldn't be
trying to do this yet.)
It is failing with the message
tar : /dev/rmt/0 : Permission denied
It happens after "removing junk files" and just after the message
"building dse_2000.9-1.tar.gz"
It looks to be coming from the line in
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
I don't think an auto-generated name (along the lines of u or u2) for the
anonymous structs would be helpful here. You can see that bindgen is
already generating a placeholder name ("__bindgen_anon_1"). A meaningful
name might be nice instead, but I get the impression that isn't an option
here since that would break the C API.
Can I ask, would it make sense for us to hard code
2006 Mar 22
1
Double complex with gcc and Intel v9 Fortran (PR#8699)
Full_Name: Christian Marquardt
Version: 2.2.1
OS: Linux
Submission from: (NULL) (84.167.229.240)
Hello,
I believe this is a bug in the configuration / installation:
When configuring R-2.2.1 using the Intel v9 Fortran compiler as default Fortran
compiler and g++ as C++ compiler on a Suse 9.3 Linux, the configuration script
finds that the C and Fortran idea of double comples disagree.
I have
2007 May 30
2
S4 assignment \alias and \usage
What is the Rd file alias and usage syntax for an S4 assignment method?
I have been trying variations on
\alias{TSdoc<-,default-method}
\usage{
\S4method{TSdoc}{default}(x) <- value
but so far I have not got it right according to various codoc, etc, checks.
Paul Gilbert
====================================================================================
La version fran?aise
2005 Jun 08
1
FW: Random seed problem in MCMC coupling of chains
And a last post from Paul Gilbert. Thanks to all! This disscusion was
really beneficial for me!
-----Original Message-----
From: Paul Gilbert [mailto:pgilbert at bank-banque-canada.ca]
Sent: sre 2005-06-08 21:01
To: Gorjanc Gregor
Subject: Re: [R] Random seed problem in MCMC coupling of chains
Gorjanc Gregor wrote:
> Thanks to Paul and Gabor for additional tips/examples. Actually, I find
1998 Apr 02
2
f2c
I have a problem with my dynamically loaded code in R not finding pow_ii, which
for some time I thought was because library f2c is not on my Sparcstation.
However, I have now been experiencing the same problem in Linux, with all the
proper libraries in place.
My incomplete understanding of elf and shared libraries does not help, but when
compiling a complete program I usually muddle through.
1999 Dec 01
2
./config.site
I just tried to load r-devel (using rsync -r
rsync.r-project.org::r-devel) and I get "operation not permitted" when I
try ./configure. It appears the permissions and sticky bits are messed
up again.
Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
1998 Apr 02
2
prcomp
I've noticed that the arguments and result list of prcomp in the mva package
(with 61.1) are not quite the same as in the Blue Book and in Splus. Is this
intentional or can I change it? If I change it who should I send the code to?
Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2000 Apr 28
2
Rd files with multiple functions?
There was at one time some discussion about supporting documentation of multiple
functions in one Rd file. Is that supported or still in the plans?
Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2005 Apr 07
1
complex tangent (PR#7781)
Full_Name: Peter Fortini
Version: 2.0.1
OS: Windows 2000
Submission from: (NULL) (65.246.187.164)
When the imaginary part of the argument is very large, the complex tangent
function returns 0+NaNi. For example, tan(1+1000i)=0+NaNi; it should be 0+1i
Easy to fix in complex.c, as the original NaN came from division of sinh and
cosh that had reached machine infinity.
static void z_tan(Rcomplex
1999 Jan 13
4
make docs
I'm having trouble with make at the documentation. (R 0.63.2 on Solaris)
Paul Gilbert
______
g77 -O2 -fPIC -c kmns.f -o kmns.o
ld -G -o mva.so dblcen.o hclust.o kmns.o
mkdir ../../../../library/mva/libs
mkdir ../../../library/stepfun
mkdir ../../../library/stepfun/R
Building system startup profile
You should `make docs' now ...
make: Fatal error: Don't know how to make target
1999 Jul 08
1
summary.default & is.recursive (PR#221)
Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:
> is.recursive(list(z, a=list(1:3)) )
>
> R64.2:> [1] FALSE
> Splus3.3> [1] T
Yup, it's a bug. Cc'ed to r-bugs so that we don't forget.
> is.recursive(list(1,2))
[1] FALSE
> is.recursive(pairlist(1,2))
[1] TRUE
[maybe Martin would want to add a check that is.whatever works
identically on lists
1999 Dec 21
1
DSE revised for R 0.90.1
A slightly revised version of my DSE package for multi-variate time series
analysis is now available at <www.bank-banque-canada.ca/pgilbert>. This
version works with R 0.90.1 (and not with R 90.0 or earlier versions). It can
also be installed with
install.packages(c("syskern", "tframe", "dse"),