Displaying 20 results from an estimated 4000 matches similar to: "Modulus operator??"
2001 Feb 01
1
R works in KDE but not in Gnome
I have a Red Hat 7.0 system, plus glibc-2.2 and gcc-2.96.69. When I run the
R demo 'demo("graphics") with KDE it runs fine, but when I try it with Gnome
it croaks:
demo(graphics)
---- ~~~~~~~~
Type <Return> to start :
> opar <- par(ask = interactive() && (.Device %in% c("X11",
"GTK", "windows", "Macintosh")))
2001 Apr 30
1
PR #927 -- R crash on huge CSV file (PR#928)
I tried to run the same dataset with R-1.2.3 on Linux, compiled from the
source tarball. After 7 hours, it was still grinding away and had not
crashed. I had to kill it. "gtop" was showing it with a real size around 160
MB, same as the peak on the Windows 2000 environment. This is on the same
hardware as the Windows run; my machine is dual-booted Windows 2000 and Red
Hat Linux 7.1. If I
2001 Oct 23
1
status of US mirror
When I try to go to
http://cran.us.r-project.org
I get sent to a location called "domains 4 sale" or something of that ilk,
indicating that some "URL scavenger" has flagged it as expired. Has something
happened, or is it just wishful thinking on some scavenger's part that the
URL is no longer pointing to the US CRAN mirror?
Try this link:
2001 Jun 14
1
License for KernSmooth?
According to the CRAN contributed packages page, the license for "KernSmooth" is
*not* GPL. It is listed as "License: Unlimited distribution (from Dr Wand)."
Are there any restrictions on this of any kind? Is there some written license
document similar to the GPL license? The reason I'm asking is that the legal
beagles in the company I work for are extremely paranoid about
2001 Apr 28
1
modulus operator gets syntax error (PR#925)
Full_Name: M. Edward Borasky
Version: 1.2.2
OS: both Windows 2000 and Red Hat Linux 7.1
Submission from: (NULL) (208.130.245.188)
According to the R language manual, "%" is the modulus operator. However, on
both Windows and Linux, I get a syntax error when I type
records <- 100000
records % 1000
I tried wrapping the operands with "as.integer ()" but that didn't help
2003 Nov 12
2
Formatting axis label numbers on plots
Is there any way to control the format of the axis label numbers on a
plot? More specifically, I have some plots that get axes with label
numbers in exponential format, and I'd like to change that to
non-exponential. Thanks!!
--
M. Edward (Ed) Borasky, MS, MNLP, NST, FBG, PGS & PTA
znmeb at borasky-research.net
http://www.borasky-research.net
2001 Apr 26
0
how to do java-like hashtables in R, R from a java progra mmer's p onit of view
It sounds like we are kindred spirits.
I am using an old PC, with linux installed, running tcpdump as my packet
sniffer.
I will experiment with data frames as you suggest to get the hang of R some
more
before worrying about hashtables again.
Chris Marshall
-----Original Message-----
From: M. Edward (Ed) Borasky
To: Chris Marshall
Cc: r-help at stat.math.ethz.ch
Sent: 4/25/01 4:44 PM
Subject:
2001 Apr 03
2
Can't install "e1071"
I observed the same behavior as Edward this morning with R-1.2.2 on Red Hat
Linux 7.0. There appears to be a problem with the library in netpbm-9.5-5,
even after hunting down the missing shhopt.h that pbmplus.h is looking for.
I worked around the problem by compiling e1071 without pbm support (moved
pbm.c to pbm.c.bak).
Matt
Matthew R. Nelson, Ph.D.
Director, Information Systems
Esperion
2001 Apr 03
2
Can't install "e1071"
I observed the same behavior as Edward this morning with R-1.2.2 on Red Hat
Linux 7.0. There appears to be a problem with the library in netpbm-9.5-5,
even after hunting down the missing shhopt.h that pbmplus.h is looking for.
I worked around the problem by compiling e1071 without pbm support (moved
pbm.c to pbm.c.bak).
Matt
Matthew R. Nelson, Ph.D.
Director, Information Systems
Esperion
2005 Mar 07
1
"make check-all" fails on R-devel 2005/03/07 (PR#7718)
Full_Name: Ed Borasky
Version: R-devel 2005/03/07
OS: Gentoo Linux
Submission from: (NULL) (24.21.54.168)
How to reproduce:
1. Download R-devel.tar.bz2 (the one I have is 2005/03/07)
2. Unpack it
3. Type
./configure --prefix=/opt 2>&1 | tee configure.log
make 2>&1 | tee make.log
make check-all 2>&1 | tee make-check-all.log
running tests of LAPACK-based functions
2005 Apr 09
4
make check-all fails (PR#7784)
Full_Name: Ed Borasky
Version: R-beta 2.1.0 2005-04-08
OS: Linux 2.6.11 GCC 3.3.5
Submission from: (NULL) (24.21.57.139)
I downloaded the latest R-beta tarball and did a build with the default options.
OS is Linux 2.6.11 and compiler is GCC 3.3.5. "make check-all" failed with the
following message:
make[3]: Entering directory `/home/znmeb/R-beta/tests'
running code in
2001 May 13
1
test for bimodality
Dear R users,
I'm looking for a test of bimodality in order to make some decisions about how to procede with an analysis algorithm. I have not come across any such tests in my readings and discussions apart from the Rao which appears to be applicable to cyclic data.
The data I'm interested in characterizing as uni- or bimodal are frequency x amplitude spectra of consonant speech sounds,
2001 Sep 24
1
2D fft DC shift
Hi Everyone,
Does anyone know how to take the output of a 2D fft()
and shift the DC component to the center? Is there a
function that does that?
if you know, please send me an email.
thanks for any help!
brad
__________________________________________________
. http://im.yahoo.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2006 Jan 30
4
Integer bit size and the modulus operator
I am a statistician and I come up to an interesting problem in
cryptography. I would like to use R since there are some statistical
procedures that I need to use.
However, I run into a problem when using the modulus operator %%.
I am using R 2.2.1 and when I calculate modulus for large numbers (that
I need with my problem) R gives me warnings. For instance if one does:
a=1:40;
8^a %% 41
one
2006 Jan 30
2
[R] Integer bit size and the modulus operator (PR#8541)
On 1/30/2006 1:39 PM, Ionut Florescu wrote:
> Thank you for the quick reply, I will look into the R packages.
> For crashing R try this:
>
> generator.zp=function(x,p)
> {a=1:(p-1); b=x^a%%p;
> if(all(b[1:(p-2)]!=1)&&(b[p-1]==1)){return(x, " Good ")}
> else{return(x, " No Good, try another integer ")}
> }
Thanks, I can reproduce the crash using
2011 Nov 03
2
[PATCH 4 of 5] virtio: avoid modulus operation
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
drivers/virtio/virtio_ring.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@
2011 Nov 03
2
[PATCH 4 of 5] virtio: avoid modulus operation
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
drivers/virtio/virtio_ring.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@
2008 Nov 03
1
How to calculate modulus of complex number
suppose I have following complex number :
a = -0.0475983+0.5364486i
This number I got as an eigen value of a matrix.
Now I would like to calculate the Modulus of this complex number. Is there
any function for doing that?
Regards,
--
View this message in context: http://www.nabble.com/How-to-calculate-modulus-of-complex-number-tp20308154p20308154.html
Sent from the R help mailing list archive
2003 May 19
0
FW: modulus operator?
try "%%" as the modulus operator and "%/%" for integer division
eg 5%%2 equals 1
John Marsland
> > -----Original Message-----
> > From: Anna H. Pryor [mailto:anna at ptolemy.arc.nasa.gov]
> > Sent: 19 May 2003 16:56
> > To: R Help
> > Subject: [R] modulus operator?
> >
> >
> >
> > Is there a modulus operator in R?