Displaying 20 results from an estimated 4000 matches similar to: "Subscripting fails if name of element is "" (PR#8161)"
2004 Mar 22
1
Re: CRAN packages maintained by you (subscripting problem under 1.9.0.alpha?)
Content-Type: text/plain; charset="iso-8859-1"
X-Virus-Scanned: by amavisd-new
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hypatia.math.ethz.ch id i2MH38ro020355
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch
X-Spam-Level:
X-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,RCVD_IN_BL_SPAMCOP_NET autolearn=no
2013 Jun 05
0
Survival aareg problem
On 06/05/2013 12:33 AM, r-help-request at r-project.org wrote:
> Dear friends - I'm on windows 7, R 2.15.2
>
> when I run the example for aareg in survival package I see this:
>
> plot(lfit[4], ylim=c(-4,4))
> error in xy.coords(x, y, xlabel, ylabel, log) :
> 'x' is a list, but does not have components 'x' and 'y'
>
> Is that a matter
2020 Jun 26
2
Error in substring: invalid multibyte string
Hi all,
I'm getting the following error from substring:
> substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100)
Error in substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) :
invalid multibyte string at '<e4>gel-A<6b>iyoshi'
Is that normal / intended? I've tried setting the Encoding/locale to
Latin-1/UTF-8 but that does not help. nchar
2020 Jun 27
1
Error in substring: invalid multibyte string
Thanks for the quick response Ivan. readLines with encoding='latin1' works
for me (on Ubuntu).
However I was more concerned with the inconsistency in results between
substr and regexpr. I was expecting that if one of them errors because of
an unknown encoding then the other should as well. Even better, if regexpr
works, why shouldn't substr work as well?
Incidentally the analogous
2007 Nov 13
5
How to overload the assignment operator?
Dear all,
what is the proper way to make the assignment operator generic and define methods depending on the class of the assigned value?
Best regards
Jens Oehlschl?gel
P.S. I vaguely remember that this was possible in S+. In R I tried to no avail:
# using this like h<-1:3 gives Error: in `<-.default`(h, 1:3) : invalid (do_set) left-hand side to assignment
2009 Sep 18
4
basename returns "." not in filename (PR#13958)
Full_Name: Jens Oehlschl?gel
Version: 2.9.2
OS: Win32
Submission from: (NULL) (85.181.152.156)
# Obviously an empty basename is allowed (if the filepath is a pure path)
> basename("/")
[1] ""
# but here we get the dot from the path
> basename("./")
[1] "."
> version
_
platform i386-pc-mingw32
2000 Jul 27
3
R under Win2000?
Dear all,
Will R run under Win2000 or is it safer to stay with NT4.0 for a while?
Regards
--
Dr. Jens Oehlschl?gel
Analyse
BBDO InterOne
Gr?nstr. 15
40212 D?sseldorf
Tel.: +49 (0)211 1379-187
Fax.: +49 (0)211 1379-461
http://www.bbdo-interone.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Nov 05
3
How to represent pure linefeeds chr(10) under R for Windows
I need to write out with write.table() a csv file allowing for line feeds
(pure chr(10)) as part of character field (not as a line seperator).
How can I do that?
Best regards
Jens Oehlschl?gel
--
2016 Sep 27
2
problem in levels<- and other inconsistencies
# A couple of years ago
# I helped making R's character NA handling more consistent
# Today I report an issue with R's factor NA handling
# The core problem is that
# levels(g) <- levels(g)
# can change the levels of g
# more details below
# Kind regards
# Jens Oehlschl?gel
# Say I have an NA element in a vector or list
x <- c("a","b",NA)
# then using split()
2004 May 13
2
please help with estimation of true correlations and reliabilities
Can someone point me to literature and/or R software to solve the following
problem:
Assume n true scores t measured as x with uncorrelated errors e , i.e.
x = t + e
and assume each true score to a have a certain amount of correlation with
some of the other true scores.
The correlation matrix cx of x will have its off-diagonal entries reduced by
measurement error compared to the true
2003 Oct 23
2
GIS re-mapping / polygon overlap
In Germany the Unemployment Agency uses a sectioning of the german map that
is different from the usual Administrative Boundaries.
Some demographic data are available in Administrative Boundaries only, some
in Unemployment Boundaries only.
I would like to generate estimates in one boundary system of data availabe
in the other boundary system, and would appreciate advice concerning the
following
2007 Jul 13
2
nearest correlation to polychoric
Dear all,
Has someone implemented in R (or any other language)
Knol DL, ten Berge JMF. Least-squares approximation of an improper correlation matrix by a proper one. Psychometrika, 1989, 54, 53-61.
or any other similar algorithm?
Best regards
Jens Oehlschl?gel
Background:
I want to factanal() matrices of polychoric correlations which have negative eigenvalue. I coded
Highham 2002
2004 Feb 27
2
Is there a way to deactivate partial matching in R?
Dear R-experts,
I just tracked down a nasty bug in a dynamically parametrized function to
wrong argument matching. As we get more and more complex applications build on
top of R (like bioconductor) partial matching gets more and more dangerous. I
would like to deactivate partial matching in R (partial argument matching as
well as partial matching of list elements), e.g. using an environment
2004 Feb 27
2
Is there a way to deactivate partial matching in R?
Dear R-experts,
I just tracked down a nasty bug in a dynamically parametrized function to
wrong argument matching. As we get more and more complex applications build on
top of R (like bioconductor) partial matching gets more and more dangerous. I
would like to deactivate partial matching in R (partial argument matching as
well as partial matching of list elements), e.g. using an environment
2009 Dec 28
2
Ops method does not dispatch on either of two classes
I have defined boolean methods for bit and bitwhich objects, for example
|.bit <- function(e1,e2)
and
|.bitwhich <- function(e1,e2)
Both methods coerce their arguments to the respective class, however if I do something like
bit_obj | bitwhich_obj
then I get a warning
Warning message:
Incompatible methods ("|.bit", "|.bitwhich") for "|"
and none of the
2003 Oct 31
2
How to grow an R object from C (.Call Interface)
What is the best way to grow an R return object in writing a C function
using the Rdefines.h macros.
In my application, the final size of the return object is not known during
construction. My understanding is that each time I grow an R object I have to
use PROTECT() again, probably before UNPROTECTing the smaller version.
However, due to the stack character of the PROTECT mechanism, UNPROTECT
2017 Jun 16
3
'ordered' destroyed to 'factor'
Dear all,
?
I don't know if you consider this a bug or feature, but it breaks reasonable code: 'unlist' and 'sapply' convert 'ordered' to 'factor' even if all levels are equal. Here is a simple example:
o <- ordered(letters)
o[[1]]
lapply(o, min)[[1]]??????????# ordered factor
unlist(lapply(o, min))[[1]]? # no longer ordered
sapply(o, min)[[1]]??????????# no
2020 Apr 16
4
Crash after Update to 4.12.1 with vfs full_audit
Hello alAl,
after update of our test server to 4.12.1 from 4.11 it crashes. If the
vfs module is removed from the config everthing works as before. Logs
from the crash see here:
.0.31:445]
Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: [2020/04/16 13:36:47.546559,
0] ../../source3/lib/util.c:830(smb_panic_s3)
Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: PANIC (pid 6263):
vfs_full_audit.c: name table
2009 Nov 15
3
file.rename overwrites existing target (PR#14065)
Full_Name: Jens Oehlschl?gel
Version: 2.10.0
OS: Windows XP Professional
Submission from: (NULL) (85.181.158.112)
file.rename() will successfully rename file a to b - even if b exists already.
Though the documentation does not state what file.rename() will do in this
case,
I guess the expected behaviour is to fail and return FALSE.
Kind regards
Jens Oehlschl?gel
> cat("a\n",
2004 May 13
1
please help with estimation of true correlations andreliabilities
Dear John,
Dear Joseph,
Thank you for your quick answers and the pointer to semnet.
I try to clarify on my assumptions:
- yes, I am willing to assume multivariate normality
- no, I don't want to assume a single factor model
- I assume there is an unknown number of factors, and I do not know which
items belong to which factors
but I still want to estimate single item reliabilities
Is this