Displaying 20 results from an estimated 2000 matches similar to: "Slow down using the compiler"
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
2014 Jul 04
2
error al leer una linea desde un archivo de texto
Que raro, habia enviado este email, pero creo que nunca salio de mi
compu ... gracias a todos por sus sugerencias ... eric.
Estimados todos, gracias por las sugerencias, al final lo resolvi de un
modo "carretero" como decimos aca, por el camino largo. Como no eran
demasiados los archivos corte el contenido y lo pegue en un nuevo
archivo y funciono. Sin embargo, sigo sin saber la
2008 Feb 12
4
assigning NULLs to elements of a list
Dear developers:
I have just came across an (unexpected to me) behaviour of lists when
assigning NULLs to list elements. I understand that a NULL is a valid R
object, thus assigning a NULL to a list element should yield exactly the
same result as assigning any other object. So I was surprised when
assigning a NULL in fact removed the element from the list. Is this an
intended behaviour? If
2009 Dec 21
2
checking Rd cross-references ... WARNING
Dear all
I am getting this strange error when checking my package. Would you
have an idea what causes it?
Thank you
Liviu
* checking Rd cross-references ... WARNING
Error in .find.package(package, lib.loc) :
there is no package called 'KernSmooth'
Calls: <Anonymous> -> lapply -> FUN -> .find.package
Execution halted
> sessionInfo ()
R version 2.10.0 (2009-10-26)
2012 May 30
1
reading file in zip archive
Hi List
I have a series of zip archives each containing several files. One of these files is called goCats.txt and I would like to read it into R from the archive. It's a simple tab delimited text file.
pathToZip <- '/home/iain/Documents/Work/Results/bovineMacRNAData/deAnalysis/afInfection/commonNorm/twoHrs/af2hrs.zip'
z <- unz(pathToZip, 'goCats.txt', 'r')
zT
2012 May 02
1
--as-cran error
Dear List,
While using the --as-cran option for checking one of my packages:
R CMD check --as-cran hydroGOF_0.3-3.tar.gz
I got the following error message:
pkgname <- "hydroGOF"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> library('hydroGOF')
Error in loadNamespace(i[[1L]], c(lib.loc,