Displaying 20 results from an estimated 10000 matches similar to: "Axis gives error message (PR#13259)"
2008 Nov 14
1
dir.create only gives first character of name when warning
This is not a major issue, but is there any way to get the full
directory name out when dir.create issues a warning?
I am running R 2.8.0 patched on Windows Vista - full details below.
With the following code:
dir.create("test")
obscure<-"test"
dir.create(obscure)
I get the warning message:
In dir.create(obscure) : 't' already exists
Session details:
R
2008 Nov 02
1
Wishlist: pass args from demo() to source()
Currently demo calls source with a hard coded max.deparse.length = 250
so you can't really see the demo properly in some cases. Note the
[TRUNCATED] below. (1) It would be nice if demo passed max.deparse.length
(and other args to source). (2) Also a larger max.deparse.length default would
be nice to make it less likely one would have to set it in the first place.
> R.version.string #
2008 Dec 04
1
xspline, graphical parameters and MAXNUMPTS
Hello,
I am having two difficulties with xspline:
1) Passing lty=2 (via ...) appears to have no effect
2) Apparently depending on the current plot axes, I may or may not
get the failure: add_point - reached MAXNUMPTS (25200)
This happens both on Linux/R 2.8.0 (details below) and Windows Vista/R
2.8.0 patched (2008-10-21 r46766)
Simplest case:
plot(c(0,1),c(0,1))
2008 Nov 26
1
file.access() on network (mounted) drive on Windows Vista?
Hi,
I have a writable and readable file on a small network file system
(Cisco NSLU2 Unslung; non-NTFS) that I access via a mounted drive on
Windows Vista. My problem could be due to a "funny" file
system/server, but here it goes:
> pathname <- "Q:/foo.txt"
> cat(file=pathname, "Hello world!\n")
> readLines(pathname)
[1] "Hello world!"
>
2008 Oct 03
1
Attributes of top level environments clobbered (was Re: [R] possible bug in function 'var' in R 2.7.2?)
On Fri, Oct 3, 2008 at 3:23 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
> a much better (and much less error-prone) idea would be to install
> R 2.8.0 alpha even now.
> It will become 'beta' early next week.
>
> We are asking the R community to please install and use
> pre-release versions of R (if you can / are allowed to)
> at least from beta
2005 Jun 11
2
italic (PR#7932)
Full_Name: G. Grothendieck
Version: R version 2.1.0, 2005-05-14
OS: Windows XP
Submission from: (NULL) (216.59.254.207)
This code:
> plot(1:10)
> text(5,5,lab=expression(italic(22*"33")))
has the effect of italicizing 33 (which is a character string) but not 22
(which is not). I would have thought that both, not just 33, would be
italicized.
I had previously posted about this
2009 Mar 23
2
matplot does not considere the parametre lend (PR#13619)
Full_Name: Christophe Genolini
Version: 2.8.1, but also 2.9
OS: Windows XP
Submission from: (NULL) (82.225.59.146)
I am using matplot with the option lend="butt", but only the first line (the
black) is printed correctly :
> matplot(matrix(1:9,3),type="c",lwd=10,lty=1,lend="butt")
Gabor Grothendieck find the problem in matplot code:
the ... is passed to plot
2003 Nov 08
5
accessing windows clipboard from load and save (PR#4999)
Full_Name: Gabor Grothendieck
Version: 1.7.1
OS: Windows 2000
Submission from: (NULL) (207.35.143.81)
save(x,ascii=TRUE,file("clipboard"))
works but
load(file("clipboard"))
does not.
Even better would be if
save(x,ascii=TRUE,"clipboard")
and
load("clipboard")
worked as that would provide consistency with
2007 Nov 10
1
Add another set of labels in a plot for X axis
I have a protein sequence alignement and for each position of the
alignement, I want to plot two values (one per sequence). Alignements look
like this:
MVAFKGVWTQAFWKAVTAEFL
--------MCSISRKMAAEFI
So, data for the plot would be something like this
Prot 1 values: 1 5 2 7 4 3 5 6 8 2 2 7 6 4 2 8 5 8 2 3 7 3
Prot 2 values: 1 8 5 0 5 3 4 1 2 2 3 7 0
Aligned Prot 1
2005 Jul 08
0
Packages | Install >Cancel gives error msg in Windows GUI (PR#8002)
On 7/8/2005 11:46 AM, ggrothendieck at gmail.com wrote:
> Full_Name: G. Grothendieck
> Version: R version 2.1.1, 2005-06-23
> OS: Windows XP
> Submission from: (NULL) (216.59.244.202)
>
>
>
> In the Windows GUI, choosing the Packages Menu, then Install and then
> clicking on Cancel gives an error message saying that nothing was specified
> to be installed:
>
2008 Nov 20
2
Label justification (axis) (PR#13307)
Full_Name: Martin Karl-Friedrich Bader
Version: 2.8.0
OS: 10.5.3
Submission from: (NULL) (131.152.1.1)
Hi there,
when using las=1 on the y-axis the labels keep their centered justification,
e.g. if you plot a graph using the axis command: axis(side=2, at=c(0,50, 100,
125), lab=c("0","50","100", " "), las=1), then the 0 and the 50 are centered in
relation
2004 Aug 28
6
model.matrix.default chokes on backquote (PR#7202)
Full_Name: Gabor Grothendieck
Version: R version 1.9.1, 2004-08-03
OS: Windows XP
Submission from: (NULL) (207.35.143.52)
The following gives an error:
> `a(b)` <- 1:4
> `c(d)` <- (1:4)^2
> lm(`a(b)` ~ `c(d)`)
Error in model.matrix.default(mt, mf, contrasts) :
model frame and formula mismatch in model.matrix()
To fix it replace this line in model.matrix.default:
2007 Jul 19
1
package NULL not found
In performing Rcmd check I am getting this output regarding using
Argument '' and a NULL package not found and it stops with an error:
* using log directory 'C:/Rpkgs/sqldf.Rcheck'
* using ARGUMENT '
' __ignored__ R version 2.5.1 (2007-06-27)
* checking for file 'sqldf/DESCRIPTION' ... OK
* this is package 'sqldf' version '0.1-0'
* checking package
2023 Nov 14
1
data.frame weirdness
On Tue, 14 Nov 2023 at 09:41, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
>
> Also why should that difference result in different behavior?
That's justifiable, I think; consider:
> d1 = data.frame(a = 1:4)
> d2 = d3 = data.frame(b = 1:2)
> row.names(d3) = c("a", "b")
> data.frame(d1, d2)
a b
1 1 1
2 2 2
3 3 1
4 4 2
> data.frame(d1,
2005 Jun 07
1
update.packages keeps trying to update gregmisc
If I issue the command
> update.packages()
it wants to update 'gregmisc' but then if I do it again right afterwards it
still wants to update 'gregmisc'. It should have updated everything
the first time and should not be trying to update anything the second
time. Any comments?
Here is the transcript of a session (R version at end):
> update.packages()
gregmisc :
2023 Nov 14
1
data.frame weirdness
Also why should that difference result in different behavior?
On Tue, Nov 14, 2023 at 9:38?AM Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
>
> In that case identical should be FALSE but it is TRUE
>
> identical(a1, a2)
> ## [1] TRUE
>
>
> On Tue, Nov 14, 2023 at 8:58?AM Deepayan Sarkar
> <deepayan.sarkar at gmail.com> wrote:
> >
> >
2003 Nov 05
1
save(iris,file=
I tried it using file and it seems to work for saving:
> data(iris)
> con <- file("clipboard","w")
> save(iris,ascii=T,file=con)
> close(con)
> readLines("clipboard")
... lengthy output follows which seems correct ...
but not for loading:
> con <- file("clipboard","r")
> load(con)
Error in load(con) : loading from
2008 Oct 22
1
R 2.8.0 qqnorm produces error with object of class zoo?
Dear list-reader,
by running the following script:
library(zoo)
sessionInfo()
search()
packageDescription("zoo")
data(EuStockMarkets)
dax <- as.zoo(EuStockMarkets[1:10, "DAX"])
daxr <- diff(log(dax))
identical(as.vector(qnorm(daxr)), qnorm(coredata(daxr)))
qqnorm(coredata(daxr))
qqnorm(daxr)
qqnorm() produces an error:
> qqnorm(daxr)
Fehler in if (xi == xj) 0L
2009 Aug 04
5
Stacked plots with common x-axis and different y-axis
Is there a place that shows how to create two plots that are stacked on top of each other where they share a common x-axis scale, but have differnt y-axis scale?
Say have the following data: airquality
Stack plot(airquality$Day, airquality$Wind) on top of plot(airquality$Day, airquality$Temp).
I am interested in stacking the two on top of each other with no seam, or plotting the two lines with
2010 Jul 12
3
How to mean, min lists and numbers
I would like to sum/mean/min a list of lists and numbers to return the
related lists.
-1+2*c(1,1,0)+2+c(-1,10,-1) returns c(2,13,0) but
sum(1,2*c(1,1,0),2,c(-1,10,-1)) returns 15 not a list.
Using the suggestions of Gabor Grothendieck,
Reduce('+',list(-1,2*c(1,1,0),2,c(-1,10,-1))) returns what we want,
c(2,13,0).
However, it seems that this way does not work to mean/min.
So, how to