is.integer() is one of those functions with a name that can be confusing
-- it looks at the underlying storage type of its argument (e.g.,
integer, floating point, character, etc.) not at the value stored in the
argument.
So, the type of behavior you see is this:
> is.integer(1)
[1] FALSE
> i
Dear R experts,
You are being a bit harsh on this user. He simply doesn't understand
the distinction between "object of type integer" and "integer-valued
object", which is actually fairly subtle.
On Wed, Apr 22, 2009 at 1:45 PM, wrote:
> This is a very simple function that seems not to be worki
To the best of my knowledge this is not a bug. According to FAQ 3.3.3
"Numeric constants with no fractional and exponent (i.e., only integer)
part are taken as integer in S-Plus 6.x or later, but as double in R."
You can see it by invoking
>storage.mode(1)
[1] "double"
Hence, if you really want t
> typeof(1)
[1] "double"
1 is obviously *not* an integer value.
Best,
Josh
--
http://quantemplation.blogspot.com
http://www.fosstrading.com
On Wed, Apr 22, 2009 at 12:45 PM, wrote:
> Full_Name: Mauricio
> Version: 2.9.0 (2009-04-17)
> OS: i486-pc-linux-gnu
> Submission from: (NULL) (193.205
I would like the default for units in print.object_size to be changed
from "b" to "auto".
Since this is just for the print method, it should not change any
computations.
Kasper
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/li
This is a better way, it does two things
a) enclose the itemize environment in a flushleft environment - this
gives us much better line breaks for the verb.
b) does a replace of ";" with ";| \verb|" so that each "component" of
the locale gets enclosed in its own \verb command, which allows lat
On Wed, 22 Apr 2009, hzambran.newsgro...@gmail.com wrote:
Full_Name: Mauricio
Version: 2.9.0 (2009-04-17)
OS: i486-pc-linux-gnu
Submission from: (NULL) (193.205.203.3)
This is a very simple function that seems not to be working, according to the
definition given by '?is.integer'.
I checked i
On Wed, Apr 22, 2009 at 10:45 AM, wrote:
> Full_Name: Mauricio
> Version: 2.9.0 (2009-04-17)
> OS: i486-pc-linux-gnu
> Submission from: (NULL) (193.205.203.3)
>
>
> This is a very simple function that seems not to be working, according to the
> definition given by '?is.integer'.
>
> I checked in
Full_Name: Mauricio
Version: 2.9.0 (2009-04-17)
OS: i486-pc-linux-gnu
Submission from: (NULL) (193.205.203.3)
This is a very simple function that seems not to be working, according to the
definition given by '?is.integer'.
I checked in the Bug Tracking page at http://bugs.R-project.org/, but I
> "SG" == Shashikiran Ganesh
> on Wed, 22 Apr 2009 17:16:09 +0530 (IST) writes:
SG> Hello,
SG> I have found that in smoothScatter it is not possible to reverse the
axes plotted (R version 2.9.0) . It appears that this arises from the hard
coding of xlim and ylim in smooths
> Also, I'm confused about your dimissal of the MCE example. If that code was
> a derivative work of R, how could it swap a GPL license for the BSD? I
> didn't think such a switch was possible. If it was, I'd imagine a lot more
> use of it, as a quick front project could make GPL software into B
Full_Name: Nicolas Delhomme
Version: 2.9.0
OS: Linux CentOS release 5.3 kernel 2.6.18-128.el5 arch x86_64
Submission from: (NULL) (194.94.44.4)
Hi,
The commands I used to compile R2.9.0 on CentOS
./compile --with-x=no
make
This fails with the following message:
make[2]: Leaving directory `/home
Hi,
I have a suggestion for the fonction arima and arima0. I think you
should not call the constant an intercept because it creates confusion.
It is not really an intercept but a mean. For an AR(1) the intercept mu
should be defined as:
X(t)=mu + phi X(t-1) + e(t)
What you call intercept m
Patrick made all the points that I was going to make (thanks,
Patrick), but I wanted to reinforce one point that may be the source
of the confusion: ParallelR is not a modified version of R: ParallelR
is a suite of ordinary R packages that run on top of the R engine like
any other package. The R co
I'm Pat Shields, one of the software engineers working on ParallelR. I just
wanted to make two points: no R code or previously gpl'd code can be found
in any of the non-gpl packages in ParallelR. I'm sure that the phrase
"derived works" is a legally subtle one, but all these packages include are
> "vQ" == Wacek Kusnierczyk
> on Tue, 21 Apr 2009 13:05:11 +0200 (CEST) writes:
vQ> Full_Name: Wacek Kusnierczyk
vQ> Version: 2.10.0 r48365
vQ> OS: Ubuntu 8.04 Linux 32bit
vQ> Submission from: (NULL) (129.241.110.141)
vQ> sprintf has a documented limit on strings
On Apr 22, 2009, at 4:49 AM, Martin Maechler wrote:
"MS" == Marc Schwartz
on Tue, 21 Apr 2009 08:06:46 -0500 writes:
MS> It does look like R's behavior has changed since then. Using:
MS> R version 2.9.0 Patched (2009-04-18 r48348)
MS> on OSX:
MS> # This first example has ch
Hello,
I have found that in smoothScatter it is not possible to reverse the axes
plotted (R version 2.9.0) . It appears that this arises from the hard coding
of xlim and ylim in smoothscatter.R in the lines :
x <- x[ xlim[1] <= x[,1] & x[,1] <=xlim[2], ] (line number 25)
and
x <- x[ yli
On Wed, 22 Apr 2009, Stephen Eglen wrote:
The documentation for the OutDec option says that it should be a
'one-character string'; yet, if I try a unicode character, it doesn't seem
to work. Are unicode chars not counted as one-character?
Correct, it has to be a single byte (and the comment
dieter.kade...@stoch.uni-karlsruhe.de wrote:
> Hallo,
> my system is
>
> Linux mspcka3 2.6.5-7.276-default #1 Mon Jul 24 10:45:31 UTC 2006 i686
> GNU/Linux
> with gcc-4.3.3
Which distribution? (A 2.5 year old kernel suggests Debian, but...)
> Installation of R-2.9.0 fails, R-2.8.1 is o.k.
>
The documentation for the OutDec option says that it should be a
'one-character string'; yet, if I try a unicode character, it doesn't seem
to work. Are unicode chars not counted as one-character?
This is within the mac GUI, but I also see this on linux boxes.
> x <- '\u00B7'
> nchar(x)
[1] 1
>
Full_Name: Dieter Kadelka
Version: 2.9.0
OS: Linux
Submission from: (NULL) (129.13.115.98)
Hallo,
my system is
Linux mspcka3 2.6.5-7.276-default #1 Mon Jul 24 10:45:31 UTC 2006 i686
GNU/Linux
with gcc-4.3.3
Installation of R-2.9.0 fails, R-2.8.1 is o.k.
After
configure
make
I get
...
> "TobiasV" == Tobias Verbeke
> on Wed, 22 Apr 2009 09:57:30 +0200 writes:
TobiasV> Friedrich Leisch wrote:
>>> On Tue, 21 Apr 2009 21:16:59 -0500,
>>> Kevin W (KW) wrote:
>>
>> > The printing of the locale information from sessionInfo is not very
tidy.
Friedrich Leisch wrote:
On Tue, 21 Apr 2009 21:16:59 -0500,
Kevin W (KW) wrote:
> The printing of the locale information from sessionInfo is not very tidy.
> Using toLatex(sessionInfo) pretty much guarantees "badness" from breaking
> the margin boundary (though my version of TeX no longer
> On Tue, 21 Apr 2009 21:16:59 -0500,
> Kevin W (KW) wrote:
> The printing of the locale information from sessionInfo is not very tidy.
> Using toLatex(sessionInfo) pretty much guarantees "badness" from breaking
> the margin boundary (though my version of TeX no longer reports such
Full_Name: Michael Spiegel
Version: 2.9.0
OS: linux
Submission from: (NULL) (128.143.137.189)
I think something was changed in the handling of the build-aux directory when
installing R packages. The directory is no longer copied into the installation
directory. I believe it was not on the list
Dear R-devel,
REvolution appear to be offering ParallelR only when bundled with their R
Enterprise edition. As such it appears to be non-free and closed source.
http://www.revolution-computing.com/products/parallel-r.php
Since R is GPL and not LGPL, is this a breach of the GPL ?
Below is t
27 matches
Mail list logo