Displaying 20 results from an estimated 700 matches similar to: "strange result of acos"
2003 Aug 18
2
3D pie
Hello,
is there a function for 3D pie representation in R ?
Thanks
Klaus-P.
--
Dr. Klaus-Peter Pleissner
Max Planck Institute for Infection Biology
Campus Charit? Mitte
Schumannstr. 21/22
D-10117 Berlin
Germany
phone: +49-30-28460-119
fax: +49-30-28460-507
email: pleissner at mpiib-berlin.mpg.de
2003 Apr 10
2
R under Sun Solaris 8
Hi,
I have installed R1.6.2 on a Sun Sparc workstatioin 60 under Solaris 8.
I' m using csh, tcsh or bash- shell.
Unfortunately, it is impossible to use the "arrow-up" key on Sun's
German keyboard to repeat a R command by using this key.
Always following syntax error occurs:
^[[A
Does anybody have a hint ?
Thanks
Klaus-P. Pleissner
--
Dr. Klaus-Peter Pleissner
Max Planck
2006 Sep 18
8
acos(0.5) == pi/3 FALSE
Hello,
I don't know if the result of
acos(0.5) == pi/3
is a bug or not. It looks strange to me.
Inaki Murillo
2004 Aug 06
1
Fixed-point cos/acos
Hi,
Before I try to code this myself, I'd like to know if anyone has a
fixed-point routine to compute the cos and acos functions. All I need is
around 3-digit accuracy.
Thanks.
Jean-Marc
--
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada
-------------- next part --------------
A non-text attachment was
2017 Apr 24
0
Crash after (wrongly) applying product operator on object from LIMMA package
Hi January,
I believe the root of the xlsx issue has been identified and a fix
suggested by Tomas Kalibera (see https://github.com/s-u/rJava/pull/102).
In a nutshell, Oracle Java on Linux modifies the stack in a way that
makes it smaller and and the same time makes it impossible for R to
detect this change, leading to segfaults. It is not clear to me that the
same problem would occur on Mac,
2016 Jun 07
3
llvm intrinsics/libc/libm question
I'm trying to figure out exactly how the intrinsics/libc/libm work in llvm.
For example, this code return user defined function:
float acos(float x, float y)
{
return x+y;
}
float a;
void foo(float b, float c)
{
a = acos(b, c);
}
But this code returns llvm.intrinsic:
float acos(float, float);
float a;
void foo(float b, float c)
{
a = acos(b, c);
}
float acos(float x, float y)
{
2011 Jul 25
2
[LLVMdev] dragon egg adding extra characters to function names
Hello,
I'm looking at compiling some pieces of the standard library with llvm but
I'm running into problems with some functions being renamed by dragonegg.
For example, when I compile the acos implementation with plain gcc I get:
$ nm acos.o
0000000000000000 r .LC1
0000000000000048 r .LC10
0000000000000050 r .LC11
0000000000000058 r .LC12
0000000000000060 r .LC13
0000000000000068 r .LC14
2011 Jul 26
0
[LLVMdev] dragon egg adding extra characters to function names
Hi Gregory,
> I'm looking at compiling some pieces of the standard library with llvm but I'm
> running into problems with some functions being renamed by dragonegg. For
> example, when I compile the acos implementation with plain gcc I get:
>
> $ nm acos.o
> 0000000000000000 r .LC1
> 0000000000000048 r .LC10
> 0000000000000050 r .LC11
> 0000000000000058 r .LC12
2019 Sep 11
2
'==' operator: inconsistency in data.frame(...) == NULL
Dear Martin,
On 11/09/2019 09:56, Martin Maechler wrote:
>
> > I wonder if data.frame(<some non-empty data>) == NULL should also return
> > a value instead of an error. R help reads:
>
> > "At least one of |x| and |y| must be an atomic vector, but
> > if the other is a list R attempts to coerce it to the
> > type of the atomic
2019 Sep 11
0
'==' operator: inconsistency in data.frame(...) == NULL
Another example where a data.frame is compared to (here non-null,
non-empty) non-atomic values in Ops.data.frame, resulting in an error
message:
setClass("FOOCLASS2",
???????? slots = c(M="matrix")
)
ma = new("FOOCLASS2", M=matrix(rnorm(300), 30,10))
> isS4(ma)
[1] TRUE
> ma == data.frame(a=1:3)
Error in eval(f) : dims [product 1] do not match the length
2019 Nov 20
0
Why is matrix product slower when matrix has very small values?
Hi Florian,
just a guess, but couldn't it be that the multiplication of very small
values leads to FP underflow exceptions which have to be handled by BLAS
in a less efficient way than "normal" multiplications handled by SIMD
instructions ?
Best regards,
Hilmar
On 19/11/2019 15:09, Florian Gerber wrote:
> Hi,
>
> I experience surprisingly large timing differences for
2017 May 09
0
A few suggestions and perspectives from a PhD student
On Tue, May 9, 2017 at 9:47 AM, Hilmar Berger <berger at mpiib-berlin.mpg.de>
wrote:
> Hi,
>
> On 08/05/17 16:37, Ista Zahn wrote:
>
>> One of the key strengths of R is that packages are not akin to "fan
>> created mods". They are a central and necessary part of the R system.
>>
>> I would tend to disagree here. R packages are in their majority
2016 Jun 14
2
llvm intrinsics/libc/libm question
If I do
T.getArch() == xxx
TLI.setUnavailable(LibFunc::copysign)
then this works at generating a call instead of not being able to select
the ISD::FCOPYSIGN, but I don't know why I don't need to do this for other
LibFunc functions (such as floor, etc... these generate call just fine)?
Thanks,
Ryan
On Tue, Jun 14, 2016 at 11:58 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:
2016 Jun 07
3
llvm intrinsics/libc/libm question
In the first code I see a 'tail call @acos', in the second code I see a
tail call @llvm.acos.f32'. (sorry, there should be only one input for acos,
I've been trying many libm/libc functions).
Not sure why it's called TargetLibraryInfo if it's not in target specific
code? It seems that ALL targets use this code, making it generic. Am I
missing something here?
Basically
2017 May 09
3
A few suggestions and perspectives from a PhD student
Hi,
On 08/05/17 16:37, Ista Zahn wrote:
> One of the key strengths of R is that packages are not akin to "fan
> created mods". They are a central and necessary part of the R system.
>
I would tend to disagree here. R packages are in their majority not
maintained by the core R developers. Concepts, features and lifetime
depend mainly on the maintainers of the package (even
2011 Jul 27
2
[LLVMdev] dragon egg adding extra characters to function names
Hi Duncan,
Ah, non-unicode email... In the llvm output there should be a "1" character,
i.e. (char) 0x01, prepended to acos and __GI_acos. I'm unable to get it on
smaller things, but it happens when I try to compile uClibc with llvm. I've
attached the .o and the .bc for comparison. The text file is the result
after preprocessing (to avoid having to download a bunch of stuff).
2017 Apr 24
2
Crash after (wrongly) applying product operator on object from LIMMA package
Hi Hilmar,
weird. The memory problem seems be due to recursion (my R, version 3.3.3,
says: Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?, just write traceback() to see how it happens), but
why does it segfault with xlsx? Nb xlsx is the culprit: neither rJava nor
xlsxjars cause the problem.
On the other hand, quick googling for r+xlsx+segfault returns tons of
2008 Aug 07
2
panel.arrows problem in custom panel function
Dear List,
I am writing a custom panel function and xyplot method to plot the
results of a procrustes analysis from the vegan package.
I am having trouble getting the call to panel.arrows to work as I wish
when conditioning. The attached file contains the function definitions
for the xyplot method and the custom panel and prepanel functions I am
using. This example, using data and functions from
2017 Apr 19
0
Crash after (wrongly) applying product operator on object from LIMMA package
Hi,
following up on my own question, I found smaller example that does not
require LIMMA:
setClass("FOOCLASS",
representation("list")
)
ma = new("FOOCLASS", list(M=matrix(rnorm(300), 30,10)))
> ma * ma$M
Error: C stack usage 7970512 is too close to the limit
> library(xlsx)
Loading required package: rJava
Loading required package: xlsxjars
2018 Oct 05
2
Seg fault stats::runmed
Dear all,
I just found this issue:
dd1 = c(rep(NaN,82), rep(-1, 144), rep(1, 74))
xx = runmed(dd1, 21)
-> R crashes reproducibly in R 3.4.3, R3.4.4 (Ubuntu 14.04/Ubuntu 16.04)
With GDB:
Program received signal SIGSEGV, Segmentation fault.
swap (l=53, r=86, window=window at entry=0xc59308,
outlist=outlist at entry=0x12ea2e8, nrlist=nrlist at entry=0x114fdd8,
print_level=print_level at