Hello Group,
I could use an advice on how SEXP handles work. My aim is to implement a
system where I initially set a few global variables that are used for
communication between C and R code. Then I do some work with R code and
periodically call a function of my own that will update the system
sta
shanel
http://uk.geocities.com/Clemente_Addison/?EM8=This_is_a.good_chance.for.you
_t
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Tue, 16 Aug 2005, Paul Mosquin wrote:
> I guess that I expect R to act pretty much as C or C++ would do if I were to
> program the same code. It's a bit of a surprise that assignment of
> rationals, well within precision, followed by multiplication leading to a
> result well within precision
G'day Paul,
> "PM" == Paul Mosquin <[EMAIL PROTECTED]> writes:
PM> Thomas, Thank you for your response. I checked the FAQ and it
PM> provides an example using sqrt(2) where you'd expect numerical
PM> precision to be an issue.
You should expect numerical precision issues in all ca
Thomas,
Thank you for your response. I checked the FAQ and it provides an example
using sqrt(2) where you'd expect numerical precision to be an issue.
I guess that I expect R to act pretty much as C or C++ would do if I were to
program the same code. It's a bit of a surprise that assignment o
On Wed, 17 Aug 2005 [EMAIL PROTECTED] wrote:
> I just don't understand this:
>
>> (2*2)==4
> [1] TRUE
>> .2*.2
> [1] 0.04
>> (.2*.2)==.04
> [1] FALSE
It's a FAQ, not a bug. Consider:
> (.2*.2) - .04
[1] 6.938894e-18
and read the FAQ
-thomas
> or
>
>> x=.04
>> x
> [1] 0.04
>> y=.2*.2
>
Dear r-devel,
Using the latest R-devel from SVN, when doing a make install, even
from a build directory, there is a recursive copy that attempts to
copy the .svn file to the framework include directory. The problem is
due to the fact that there is a reference to $srcdir in Makefile.in
tha
Full_Name: Paul Mosquin
Version: 2.1.1
OS: Windows XP
Submission from: (NULL) (24.225.66.48)
I just don't understand this:
>(2*2)==4
[1] TRUE
> .2*.2
[1] 0.04
> (.2*.2)==.04
[1] FALSE
or
> x=.04
> x
[1] 0.04
> y=.2*.2
> y
[1] 0.04
> y==x
[1] FALSE
_
Hi,
I am not sure if this is the right place to report a small typo in one of
the manuals. It is not really a bug, is it?.
In any case, at the end of section 11.6.2 (the glm() function) in the
Quasi-likelihhod models subsection there is an example of using the glm
procedure to fit a particular n
I'd like to iterate my earlier request (#7737) to change the documentation
for bxp().
The argument outpch=" " needs to be replaced with outpch=NA in two places.
I actually wrote this part of the documentation myself at one point, but
have now realized that pch=NA and pch=" " are not the same:
[EMAIL PROTECTED] writes:
> Full_Name: Chris Paulse
> Version: 2.1.1
> OS: WinXP
> Submission from: (NULL) (129.98.60.134)
>
>
> This seems strange. I have a small block of code that repeatedly calls
> rbinom.
> I put a break in there in case it returns NaN, as I've been having problems
> wi
Please supply a reproducible example as both the FAQ and the posting
guide do ask.
On Tue, 16 Aug 2005 [EMAIL PROTECTED] wrote:
> Full_Name: Chris Paulse
> Version: 2.1.1
> OS: WinXP
> Submission from: (NULL) (129.98.60.134)
>
>
> This seems strange. I have a small block of code that repeatedly
It would be easy to add 'yaxs' support to bxp(), which can aid visual
comparison when the lower limit is zero. The two lines from boxplot.R that
would change are:
plot.window(ylim=c(0.5,n+0.5), xlim=ylim, log=log)
to
plot.window(ylim=c(0.5,n+0.5), xlim=ylim, xaxs=pars$yaxs, log=log)
and
Full_Name: Chris Paulse
Version: 2.1.1
OS: WinXP
Submission from: (NULL) (129.98.60.134)
This seems strange. I have a small block of code that repeatedly calls rbinom.
I put a break in there in case it returns NaN, as I've been having problems with
this. Here is a transcript from the debug ses
On Tue, 2005-08-16 at 12:35 -0400, Gabor Grothendieck wrote:
> On 8/16/05, Gavin Simpson <[EMAIL PROTECTED]> wrote:
> > On Tue, 2005-08-16 at 11:25 -0400, Gabor Grothendieck wrote:
> > > It can handle data frames like this:
> > >
> > > model.frame(y1)
> > > or
> > > model.frame(~., y1)
On 8/16/05, Gavin Simpson <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-08-16 at 11:25 -0400, Gabor Grothendieck wrote:
> > It can handle data frames like this:
> >
> > model.frame(y1)
> > or
> > model.frame(~., y1)
>
> Thanks Gabor,
>
> Yes, I know that works, but I want the function coc
On Tue, 2005-08-16 at 11:25 -0400, Gabor Grothendieck wrote:
> It can handle data frames like this:
>
> model.frame(y1)
> or
> model.frame(~., y1)
Thanks Gabor,
Yes, I know that works, but I want the function coca.formula to accept a
formula like this y2 ~ y1, with both y1 and y2 bei
It can handle data frames like this:
model.frame(y1)
or
model.frame(~., y1)
On 8/16/05, Gavin Simpson <[EMAIL PROTECTED]> wrote:
> Hi I'm having a problem with model.frame, encapsulated in this example:
>
> y1 <- matrix(c(3,1,0,1,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,1),
> n
Hi I'm having a problem with model.frame, encapsulated in this example:
y1 <- matrix(c(3,1,0,1,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,1),
nrow = 5, byrow = TRUE)
y1 <- as.data.frame(y1)
rownames(y1) <- paste("site", 1:5, sep = "")
colnames(y1) <- paste("spp", 1:4, sep = "")
y1
model.frame(~ y
I am trying to learn how to make a simple package that contains no C
or Fortran code. I used package.skeleton(...) to make a package
called "test". The directory and files look good. I downloaded and
installed Rtools (www.murdoch-sutherland.com/Rtools/tools.zip). I
added the path and from the d
20 matches
Mail list logo