From znmeb@aracnet.com  Sat Apr 28 20:13:45 2001
From: znmeb@aracnet.com (znmeb@aracnet.com)
Date: Sat, 28 Apr 2001 21:13:45 +0200 (MET DST)
Subject: [Rd] modulus operator gets syntax error (PR#925)
Message-ID: <200104281913.VAA05616@pubhealth.ku.dk>

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 either.
This is version 1.2.2 of R; I haven't had a chance to try it with R-1.2.3 yet,
but it does fail for me on both Windows 2000 and Red Hat Linux 7.1.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] modulus operator gets syntax error (PR#925)
znmeb@aracnet.com