Displaying 20 results from an estimated 2000 matches similar to: "R-beta: R-0.61.3 "Color Allocation Error""
1997 Dec 08
0
R-beta: Version 6 of R: Use Gnu Make
make help (and make latex, make html) fails with:
"can't make target ../src/library/*/man/*.Rd"
with SUN's make under Solaris 2.5.1
However, Gnu-make 3.74 works ok.
---------------------
Ina Dau
Computer Administrator - Room 101 - Pearson Building - UCL
email: i.dau at ucl.ac.uk
Phone: +44-171-4193636
snail: Dep. of Statistical Sciences, University College London
Gower
1997 Jun 02
2
R-beta: Postscript command fails
We are getting the following error:
> postscript(file="Rplot.ps")
Error in device("postscript", as.character(c(file, paper, family, bg, :
unable to start device postscript
This is R-0.49 under SunOS 4.1.3 and under Linux (kernel 2.0.0).
The command worked fine on R-0.14 under the 2 above operating systems.
Any ideas?
Ina
2011 Jul 28
2
not working yet: Re: lattice overlay
Hi Dieter and R community:
I tried both of these three versions with ylim as suggested, none work: I
am getting only single (pch = 16) not overlayed (pch =3) everytime.
*vs 1*
require(lattice)
xyplot(Sepal.Length ~ Sepal.Width | Species , data= iris,
panel= function(x, y, subscripts) {
panel.xyplot(x, y, pch=16, col = "green4", ylim = c(0, 10))
panel.lmline(x, y, lty=4, col =
2007 Sep 20
1
help with making a function of scatter plot with multiple variables
Dear list,
I have done a scatter plot of multiple variables in the same graph, with different col and pch. I managed to do it with the following code but not know how to make a function of these so that next time if I want to do similar graph but with new variables, I dont have to copy the code and then change the old variables with the new ones but just call a function with the new
2018 May 29
1
Difficulty in writing R code for one pool dynamic model
Hi everyone,
I was trying to mode the following exercise using R.
The question: Set up a one pool model using numericintegration. The model will run from time 1 to time 30 using a time step of 1.The pool (A) will be fed by flux "inA" at a rate of 5 units per hour anddrained by flux "outA" at a rate of 20% per hour. At time 0, A has 5units. At time 30, what is the pool size of
2023 Dec 19
1
[External] Re: zapsmall(x) for scalar x
>>>>> Steve Martin
>>>>> on Mon, 18 Dec 2023 07:56:46 -0500 writes:
> Does mFUN() really need to be a function of x and the NA values of x? I
> can't think of a case where it would be used on anything but the non-NA
> values of x.
> I think it would be easier to specify a different mFUN() (and document this
> new argument)
1998 Jan 15
2
R-beta:0.61.1 Problem with "make docs"
The problem is the following
# make docs
Make: Don't know how to make ../src/library/*/man/*.Rd. Stop.
*** Exit 1 (ignored)
#
I am using a DEC alpha 200/4/233 with Digital Unix 3.2D
My previous version of R was R-0.50-a1. I have installed around 3 or 4
previous versions on the same system and never had a problem (but, then
the Makefile was very different). The first make to compile
1998 Jan 15
2
R-beta:0.61.1 Problem with "make docs"
The problem is the following
# make docs
Make: Don't know how to make ../src/library/*/man/*.Rd. Stop.
*** Exit 1 (ignored)
#
I am using a DEC alpha 200/4/233 with Digital Unix 3.2D
My previous version of R was R-0.50-a1. I have installed around 3 or 4
previous versions on the same system and never had a problem (but, then
the Makefile was very different). The first make to compile
2008 Mar 31
1
Reorder the x-axis using lattice
Dear list,
Is there a way to reorder the xaxis using lattice. Using the following data, the x-axis is ordered as BP GH MH PF RE RP SF VT but I would like the x-axis to be ordered as PF RP BP GH VT SF RE MH.
Kön Skalor Tillfälle Medelvärde
1 Kvinnor BP 1-inskrivning 36.45283
2 Kvinnor GH 1-inskrivning 38.62255
3 Kvinnor MH 1-inskrivning 62.88889
4
2023 Dec 18
1
[External] Re: zapsmall(x) for scalar x
Does mFUN() really need to be a function of x and the NA values of x? I
can't think of a case where it would be used on anything but the non-NA
values of x.
I think it would be easier to specify a different mFUN() (and document this
new argument) if the function has one argument and is applied to the non-NA
values of x.
zapsmall <- function(x,
digits = getOption("digits"),
2023 Dec 18
1
[External] Re: zapsmall(x) for scalar x
Le 18/12/2023 ? 11:24, Martin Maechler a ?crit?:
>>>>>> Serguei Sokol via R-devel
>>>>>> on Mon, 18 Dec 2023 10:29:02 +0100 writes:
> > Le 17/12/2023 ? 18:26, Barry Rowlingson a ?crit?:
> >> I think what's been missed is that zapsmall works relative to the absolute
> >> largest value in the vector. Hence if
2023 Dec 16
1
zapsmall(x) for scalar x
I was quite suprised to discover that applying `zapsmall` to a scalar value has no apparent effect. For example:
> y <- 2.220446e-16
> zapsmall(y,)
[1] 2.2204e-16
I was expecting zapsmall(x)` to act like
> round(y, digits=getOption('digits'))
[1] 0
Looking at the current source code, indicates that `zapsmall` is expecting a vector:
zapsmall <-
function (x, digits =
2023 Dec 18
1
[External] Re: zapsmall(x) for scalar x
>>>>> Serguei Sokol via R-devel
>>>>> on Mon, 18 Dec 2023 10:29:02 +0100 writes:
> Le 17/12/2023 ? 18:26, Barry Rowlingson a ?crit?:
>> I think what's been missed is that zapsmall works relative to the absolute
>> largest value in the vector. Hence if there's only one
>> item in the vector, it is the largest, so its
2023 Dec 17
1
zapsmall(x) for scalar x
Zapping a vector of small numbers to zero would cause problems when
printing the results of summary(). For example, if
zapsmall(c(2.220446e-16, ..., 2.220446e-16)) == c(0, ..., 0) then
print(summary(2.220446e-16), digits = 7) would print
Min. 1st Qu. Median Mean 3rd Qu. Max.
0 0 0 0 0 0
The same problem can also appear when
2023 Dec 17
1
zapsmall(x) for scalar x
Isn?t that the correct outcome? The user can change the number of digits if they want to see small values?
--
Change your thoughts and you change the world.
--Dr. Norman Vincent Peale
> On Dec 17, 2023, at 12:11?AM, Steve Martin <stevemartin041 at gmail.com> wrote:
>
> ?Zapping a vector of small numbers to zero would cause problems when
> printing the results of summary().
2023 Dec 18
1
[External] Re: zapsmall(x) for scalar x
Le 17/12/2023 ? 18:26, Barry Rowlingson a ?crit?:
> I think what's been missed is that zapsmall works relative to the absolute
> largest value in the vector. Hence if there's only one
> item in the vector, it is the largest, so its not zapped. The function's
> raison d'etre isn't to replace absolutely small values,
> but small values relative to the largest.
2007 Feb 14
1
symbols hidden in polar.plot
Hi Folks,
Here is my attempt at a simple polar plot.
> pos <- seq(0,360,by=5)
> tspk <- rep(c(1,0,1),c(13,47,13))
> require(plotrix)
> polar.plot(tspk,pos,rp.type="s",point.symbols=17,point.col="green4")
I only see half the symbols, the other half of each symbol is hidden
under the circular grid. In fact if I change rp.type="r", I see the
2011 Jul 27
1
lattice overlay
Dear experts:
I want to overlay lattice scatter plot: I do not know why the following code
is not plotting subscripts ! Sorry if this question is too simple:
require(lattice)
xyplot(Sepal.Length ~ Sepal.Width | Species , data= iris,
panel= function(x, y, subscripts) {
panel.xyplot(x, y, pch=16, col = "green4", ylim = c(0, 10))
panel.lmline(x, y, lty=4, col = "green4")
2009 Feb 27
2
add absolute value to bars in barplot
Hello,
r-help at r-project.orgbarplot(twcons.area,
beside=T, col=c("green4", "blue", "red3", "gray"),
xlab="estate",
ylab="number of persons", ylim=c(0, 110),
legend.text=c("treated", "mix", "untreated", "NA"))
produces a barplot very fine. In addition, I'd like to get the
2023 Dec 17
2
[External] Re: zapsmall(x) for scalar x
I think what's been missed is that zapsmall works relative to the absolute
largest value in the vector. Hence if there's only one
item in the vector, it is the largest, so its not zapped. The function's
raison d'etre isn't to replace absolutely small values,
but small values relative to the largest. Hence a vector of similar tiny
values doesn't get zapped.
Maybe the line