Displaying 20 results from an estimated 10000 matches similar to: "problems with assigning a class to an environment"
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",
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
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
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
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
2009 Oct 01
2
(no subject)
Hi,
Does anyone know where the following package is available:
Holleczek B, Gondos A, Brenner H.
PeriodR - an R package to calculate long term survival estimates using period analysis.
Methods of Information in Medicine 2009; 48: 123-128.
Thanks
Jens Oehlschl?gel
--
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
2003 Nov 18
1
How to return a big treelike list from .Call Interface (protect stack overflow)
I try to create a big treelike list structure using the RDefines/RInternal
macros. The tree carries information at each node (attribute list) and at each
leaf (vector).
My understanding is that for each node I add to the binary tree I have to
call
PROTECT(newnode = NEW_LIST(2));
and cannot UNPROTECT before I return the whole tree. Same story for node
attributes and leaf vectors. However, this
2000 Jul 05
3
recommended linux environment for R
Hello,
I'd like to ask whether there is a prefered linux distribution for use with
R (Suse, Redhat, Debian) and what fortran compiler is recommended (f77 or
f2c)?
Thank you
--
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
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
2007 Aug 20
1
system() fails with fc.exe (PR#9868)
Full_Name: Jens Oehlschl?gel
Version: 2.5.1
OS: Windows
Submission from: (NULL) (62.159.183.42)
Even when specifying the full path, the output of fc is not sent to R (neither
shown nor returned). For example
> system('c:\\WINDOWS\\system32\\fc.exe /?',intern=TRUE)
character(0)
When I do the same from python 2.3, I get
>>> import os
>>>
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
2004 Aug 19
3
mtext adj= wrong with several las= (PR#7188)
Dear all,
Our quite basic function mtext() does wrong adjustments in some parameter
configurations. This gets obvious when using multi line texts: There is no
way to properly adjust text perpendicular to axis 2, for example.
Best
Jens Oehlschl?gel
m <- matrix(1:9, 3)
colnames(m) <- c("several\nlines", "several\nlines", "several\nlines")
par(mfrow=c(2,2))
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
--
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
2000 Feb 28
1
mapping of colornames into hsv?
I couldn't find this in online help or the archives:
Is there any R function or object giving the mapping of the colornames as
given by colors() into the hsv() model?
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2000 Feb 28
1
mapping of colornames into hsv?
I couldn't find this in online help or the archives:
Is there any R function or object giving the mapping of the colornames as
given by colors() into the hsv() model?
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
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
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
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