Displaying 20 results from an estimated 2000 matches similar to: "xspline(..., draw=FALSE) fails if there is no open device (PR#10727)"
2008 Feb 08
0
xspline(..., draw=FALSE) fails if there is no open device (PR#10728)
jari.oksanen at oulu.fi wrote:
> Full_Name: Jari Oksanen
> Version: 2.6.2 RC (2008-02-07 r44369)
> OS: Linux
> Submission from: (NULL) (130.231.102.145)
>
>
> Even if function xspline() is called with argument draw=3DFALSE, it req=
uires a
> graphics device (that it won't use since it was draw=3DFALSE). I run in=
to this
> because I intended to use xspline within a
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 Jan 14
2
Need help with xspline error message in R 2.6.1 on Windows XP
I am attempting to generate a series of plots with cubic B-Splines and
the code I am using is generating the following error message that I
have been unable to resolve.
Error in grid.Call.graphics("L_xspline", x$x, x$y, x$shape, x$open,
x$arrow, : add_point - reached MAXNUMPTS (25200)
This is the code that generates this error.
plot.results <- function(dfn) {
dt <-
2011 Feb 15
1
gList and gTree methods of grid::grobX
Dear all,
In an attempt to draw fill patterns in grid graphics, I have
encountered a behavior of grobX that I cannot understand from the
documentation. Consider this,
library(grid)
## gTree
g1 <- gTree(children=gList(
rectGrob(0.5,0.5, width=unit(0.8,"npc"),
height=unit(2,"cm")),
circleGrob(r=0.3)), vp=viewport(0.5,0.5))
##
2009 Aug 21
1
sessionInfo() fails to correctly detect locale settings
Dear R devels
Yesterday I was slightly surprised to notice that R incorrectly
detected some of the locale settings. I am not sure whether this is
important, but I preferred to drop a message. In the R output below,
some entries that should have been "en_GB.UTF-8" are presented as "C".
Regards
Liviu
> sessionInfo()
R version 2.9.1 (2009-06-26)
x86_64-pc-linux-gnu
locale:
2016 May 18
3
[patch] Error in reg-tests-1c.R (R-devel)
I get an error when running "make check" after building R-devel r70629
on Ubuntu 14.04. Here are the relevant lines in the file
"reg-tests-1c.Rout.fail":
> ## m1z uses match(x, *) with length(x) == 1 and failed in R 3.3.0
> ## PR#16909 - a consequence of the match() bug; check here too:
> dv <- data.frame(var?1 = 1:3, var?2 = 3); dv[,"var?2"]
2002 Feb 26
1
Locale problems on Solaris
Hi there.
With OpenSSH 3.0.2p1 on Solaris, the locale does not appear to get set
correctly at login, as it does with, say telnet:
/etc/default/init:
TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-1
LC_CTYPE=en_GB.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-1
LC_NUMERIC=en_GB.ISO8859-1
LC_TIME=en_GB.ISO8859-1
When logging in via SSH:
scot /home/scot > locale
LANG=
2016 May 18
2
[patch] Error in reg-tests-1c.R (R-devel)
On 18/05/16 13:50, Martin Maechler wrote:
>>>>>> Mikko Korpela <mikko.korpela at helsinki.fi>
>>>>>> on Wed, 18 May 2016 13:05:24 +0300 writes:
>
> > I get an error when running "make check" after building
> > R-devel r70629 on Ubuntu 14.04.
> > Here are the relevant
> > lines in the file
2013 Jan 16
1
R CMD check not reading R_LIBS from ~/.R/check.Renviron
Dear List,
Further to my earlier email, I note that, for me at least, R CMD check
is *not* reading R_LIBS from ~/.R/check.Renviron on R 2.15.2 patched
(r61228) and R Under Development (r61660). The only way I can get R CMD
check to look for packages in a user-supplied library is by explicitly
exporting R_LIBS set to the relevant directory.
R CMD build *does* read R_LIBS from ~/.R/build.Renviron
2016 Apr 19
3
Problem with X11
Dear All,
I have never had this problem before. I run debian testing on my box
and I have recently update my R environment.
Now, see what happens when I try the most trivial of all plots
> plot(seq(22))
Error in (function (display = "", width, height, pointsize, gamma, bg,
:
X11 module cannot be loaded
In addition: Warning message:
In (function (display = "", width,
2010 Oct 08
2
font question on pdf device
Hi,
I wonder if this is something on my machine locally or R in general.
When I do the following:
> plot(c(0,1),c(0,1),main=expression(paste(symbol("D"),"D",sep="")))
I get a plot with a title having uppercase delta followed by "D". But in
the following
> pdf(file="deltaTest.pdf")
>
2007 Oct 15
1
Fonts do not display properly in R 2.5.1 on Red Hat Enterprise Linux 4
Dear All
I posted a similar question quite some time ago, but that was on an old
OS and an old version of R. This time I have RHEL 4, which is still
supported as an OS, and R 2.5.1 which is not *that* old.
My sessionInfo() gives:
> sessionInfo()
R version 2.5.1 (2007-06-27)
i686-redhat-linux-gnu
locale:
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.U
2008 Apr 29
2
reproducible segmentation fault caused by textConnection()
Dear all,
It seems that textConnection() can trigger a segmentation fault. The
following script (using two large loops) makes this bug reproducible:
for (i in 1:10000) {
z=textConnection(NULL,open='w')
for (j in 1:100) {
write(runif(1)*1e6,file=z)
write('\n',file=z)
}
close(z)
}
The bug could be reproduced on R-2.6.1, R-2.7.0 and on the latest
R-devel
2018 Nov 15
2
'date' format differences between CentOS 6 and 7 using the en_GB locale ?
Just noticed that the output of 'date' is different between CentOS 6 and
7 when using the 'en_GB' locale - e.g.:
CentOS 6:
% LANG=en_GB date
Thu Nov 15 11:42:46 GMT 2018
% LANG=en_US date
Thu Nov 15 11:42:56 GMT 2018
CentOS 7:
% LANG=en_GB date
Thu 15 Nov 11:43:07 GMT 2018
% LANG=en_US date
Thu Nov 15 11:43:11 GMT 2018
i.e. with LANG=en_GB on CentOS 7, the day
2010 May 28
5
difference in sort order linux/Windows (R.2.11.0)
Dear R users,
I'm a bit perplexed with the effect sort has here, as it is different on
Windows vs. linux.
It makes my factor levels and subsequent plots different on the two systems.
Given:
types <- c("PC-D-Euro-0", "PC-D-Euro-1", "PC-D-Euro-2", "PC-D-Euro-3",
"PC-D-Euro-4", "PC-D-Euro-5", "PC-D-Euro-6",
2012 Feb 15
3
help.search() in html?
Hi,
I have options(help_type="html") in my .Rprofile and when I type
?foo, the man page appears as a new tab in my web browser (which is
already running). Fine. However, when I type ??foo, rather than the
results appearing in a new tab, a new instance of the web browser is
spawned with the default homepage displayed. Same with
help.search("foo"). Am I the only one seeing this?
2007 Jan 18
2
subsetting matrix by subscript=0,x silently skips.
(e-mailing to R-bugs is intentional - the web itnerface seems to
be down)
> a<- cbind(c(1,2), c(3,4))
> a
[,1] [,2]
[1,] 1 3
[2,] 2 4
> a[cbind(c(2,2), c(2,1))]
[1] 4 2
> a[cbind(c(2,3), c(2,1))]
Error: subscript out of bounds
> a[cbind(c(2,-1), c(2,1))]
Error: negative values are not allowed in a matrix subscript
> a[cbind(c(2,0), c(2,1))]
[1] 4
Am
2010 Mar 26
3
NA values in indexing
If you index a vector with a vector that has NA in it, you get NA back:
> x=101:107
> x[c(NA,4,NA)]
[1] NA 104 NA
> x[c(4,NA)]
[1] 104 NA
All well and good. ?"[" says, under NAs in indexing:
When extracting, a numerical, logical or character ?NA? index
picks an unknown element and so returns ?NA? in the corresponding
element of a logical, integer,
2016 Apr 19
0
Problem with X11
I don't have my debian box available so can't confirm. But I would try
$apt-get install libpng
On Tue, Apr 19, 2016 at 11:23 AM, Lorenzo Isella <lorenzo.isella at gmail.com>
wrote:
> Dear All,
> I have never had this problem before. I run debian testing on my box
> and I have recently update my R environment.
> Now, see what happens when I try the most trivial of all
2017 Oct 27
1
Slow down using the compiler
Dear All,
In R 3.4.2 (Linux), the compiler seems to have regressed:
$ R --vanilla
g = function() {
N = 1e7; ans = numeric(N)
system.time({for (j in 1:N) ans[j] = 1})
}
g()
# user system elapsed
# 4.272 0.000 4.272
g1 = compiler::cmpfun(g)
g1()
# user system elapsed
# 4.232 0.004 4.235
Running the above code in Windows 3.3.1, g() takes the same time, but g1()
takes around 0.5