Displaying 20 results from an estimated 40000 matches similar to: "Loss of identified points"
2013 May 02
1
loading of an unwanted namespace
I have a debugging environment for the survival package, perhaps unique to me, but I find
it works very well.
To wit, a separate directory with copies of the source code but none of the package
accuements of DESCRIPTION, NAMESPACE, etc. This separate space does NOT contain a copy of
src/init.c
Within this I use R --vanilla, attach my .RData file, survival.so file, and away we go.
That is,
2006 Oct 26
1
Error: invalid multibyte string
I'm observing the following on different platforms:
> parse(text='"\\x7F"')
expression("\177")
> parse(text='"\\x80"')
Error: invalid multibyte string
...
> parse(text='"\\xFF"')
Error: invalid multibyte string
However,
cat("\x7F\n\x80\n...\xFF\n")
works. Using R --vanilla.
SYSTEMS GIVING THE ERROR:
>
2008 Dec 30
1
issue with encoding in R-2.8.1 invalid multibyte character
Hi,
We recently switched from R2.7.0 to R2.8.1 but having problems tracking down this 'invalid multibyte character' encoding issue. Can someone point us how to solve this?
> sessionInfo()
R version 2.8.1 (2008-12-22)
x86_64-unknown-linux-gnu
locale:
2014 Nov 22
3
R string comparisons may vary with platform (plain text)
A colleague?s R program behaved differently when I ran it, and we thought
we traced it probably to different results from string comparisons as
below, with different R versions. However the platforms also differed. A
friend ran it on a few machines and found that the comparison behavior
didn?t correlate with R version, but rather with platform.
I wonder if you?ve seen this. If it?s not some
2019 Dec 11
3
Problems with large loops in CentOS
I have run into a problem when do loops with lots of elements in CentOS (I
am a new user after using Ubuntu for many years). I am attaching two
scripts, one called
Looping_Centos_minimal_bug_OK.R
which runs fine. I simply repeat a function call in it 15 times. However,
if I repeat that function call 16 times, as in this one,
Looping_Centos_minimal_bug_breaks.R
I get the error,
Error: unexpected
2011 Apr 16
2
(no subject)
I have just upgraded to R 2.13 and have library(ggplot2) in my
.Rprofile (among other things). when i start R I get an error
message. Has something in the start up scripts changed? Is there a
better way to specify the library calls in .Rprofile? Thanks for all
of the help in advance.
Error:
Loading required package: grid
Loading required package: proto
Error in rename(x, .base_to_ggplot) :
2006 Oct 26
2
S4 pb in R 2.5.0
Hi,
When playing interactively with the S4 system, I've tried
to define the following class:
> setClass("A", representation("integer"))
[1] "A"
> showClass("A")
Slots:
Name: .Data
Class: integer
Extends:
Class "integer", from data part
Class "vector", by
2011 Dec 06
1
Can't load package 'lars'
Hi,
I installed package 'lars' earlier tonight and did not get any sort of
error message.
###
** building package indices ...
** testing if installed package can be loaded
Loaded lars 0.9-8
* DONE (lars)
###
However, when I try to load it, I get
###
> library(lars, lib.loc = "~/R/x86_64-redhat-linux-gnu-library/2.11")
Error : .onLoad failed in loadNamespace() for
2014 Nov 12
4
Problem with build and check
I am getting failure of build and check, for an Rd file that has a long argument list.
Guess diagnosis: a quoted string beyond a certain point in the argument list is fatal.
Example: Use the function below, create an Rd file for it with prompt(). Move the .Rd
file to the man directory (no need to edit it) and try building
dart.control <- function(server=c("production",
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
2009 Jan 09
1
snow and different R versions
Dear Luke and others,
I have many R versions on my machine and want to start a particular
one when snow builds its cluster. (The same version I start snow
from.) It seems that everything is set up correctly in
defaultClusterOptions:
> mget(ls(defaultClusterOptions), defaultClusterOptions)
$homogeneous
[1] TRUE
$manual
[1] FALSE
$master
nodename
"maya.unil.ch"
$outfile
[1]
2011 Mar 06
2
Can body() return a function's body intact, in order, and as characters ready for editing?
Is my understanding correct that the body()
function currently can't return a function's body
intact, in order, and as characters ready for
editing?
My testing and reading of body()'s help indicate
that it can not.
Here's what I'm seeing.
Consider pasting
1+
and a function containing
x^2
together to get
1+x^2
As you can see below, body() reports three
2013 Mar 13
1
removing union class
Hi,
I get the following error when trying to remove a union class:
> setClassUnion('a', c('matrix', 'numeric'))
> removeClass('a')
> sessionInfo()
R version 2.15.3 (2013-03-01)
Platform: i686-pc-linux-gnu (32-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8
2018 May 01
2
source(echo = TRUE) with a iso-8859-1 encoded file gives an error
I have very little knowledge about file encodings and would like to
learn more.
I've read the following pages to learn more:
2012 Mar 21
2
enableJIT() prohibits usual R debugging
Hi,
Browser doesn't work properly with the compiler enabled. It might be
intended behavior, but it's not documented.
compiler::enableJIT(1)
foo <- function(){
browser()
cat("here\n")
}
Browser doesn't stop, and I am getting:
> foo()
Called from: foo()
Browse[1]> here
>
Thanks,
Vitalie.
> sessionInfo()
R version 2.14.2 (2012-02-29)
Platform:
2012 May 05
3
alarm() doesn't beep
Dear all
I'd like to make a beeping sound in R, but alarm() doesn't beep? I
checked ?alarm but I couldn't find any pointers to system
configuration. Any ideas?
Regards
Liviu
> sessionInfo()
R version 2.14.2 (2012-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5]
2008 Sep 10
3
making spearman correlation cor() call fail with log(0) as input
Hi,
How can I make the cor(x, y, method="spearman") call to produce an
error when the input to it (x, y) produces an error? Here is a simple
example:
> a <- c(0, 1, 2)
> b <- c(100, 2, 4)
## error:
> log(a)
[1] -Inf 0.0000000 0.6931472
## error, as expected:
> cor(log(a), log(b), method="pearson")
[1] NaN
## not an error any more (not expected):
>
2010 Oct 05
3
reorder always returns "ordered"
Or at least is seems that way to me. It's not a big problem, but the
behavior doesn't match the documentation. (I think r-help is the
place to report this. )
> x <- factor(1:5)
> x.ro <- reorder(x, rnorm(5))
> is.ordered(x.ro) # should be FALSE according to ?reorder
[1] TRUE
>
> x.ro <- reorder(x, rnorm(5), ordered=FALSE)
> is.ordered(x.ro) # should be FALSE
2008 May 19
3
Error decoding input string.
Hi,
I am trying to index a number of Spanish language text files, but a
large fraction of the files are generating errors like the
following...
Error: exception 2 not handled: Error decoding input string. Check that you have the locale set correctly
however it looks to me like my locale matches the file type. Running
the file command on the files returns
$ file
2013 Oct 21
2
png(type='cairo'): point symbols without boarders are not anti-aliased?
Hi,
It seems that anti-aliasing in png(type = 'cairo') is not well
supported for the point symbols without boarders, e.g. pch = 16. The
Cairo package works well, though. You can compare png() with
CairoPNG():
png(): http://i.imgur.com/8niB3jX.png
CairoPNG(): http://i.imgur.com/FZBJOxm.png
f = function(dev, ..., main = '') {
dev(...)
plot(c(1, 2, 1, 2), c(1, 1, 2, 2),