Displaying 20 results from an estimated 2000 matches similar to: "Version 0.90.1 bug report on matrix indexing"
2001 Feb 22
1
R-1.2.0: bug report on fn table
> table("NA")
numeric(0)
> table("NaN")
numeric(0)
This should probably return something different, like in
> table("nan")
nan
1
>
or do I misunderstand something?
regards
Joerg.
-- Dr. Joerg Kindermann Knowledge Discovery Team
GMD - German National Research Center for Information Technology -
phone:
1999 Aug 26
0
use dyn.load to redefine R internal fns?
I would like to redefine some R print functions (Rprintf for example) so
that they don't print to stdout, but save the output in a global string
array. I can compile and link my definition of Rprintf into a library and
load it with dyn.load. I don't get an error message, but afterwards the
original function is still valid, my new version isn't executed.
Is there a way to change R
1999 Oct 06
2
R --nsize 2M runs havoc (under linux)
Dear All,
I am running R version 0.65.0 under
a) Suse-Linux 6.1, and Suse-Linux 6.2, compiler gcc-2.95, CPUs pentium pro
200, 128MB, and pentium II 450, 128MB
b) Solaris 5.7, compiler gcc-2.95, cpu SUN sparc, 4000MB
When I set --nsize to more than 1M, R's internal storage management runs
havoc. gc() indicates the requested sizes, but the overall process size is
much too big: Running R with
2000 Jan 17
1
dyn.load problem
Hi,
I'm trying to write modified versions of R save/load functions which read
from/write to a char array instead of a file pointer. I want to compile
my functions into a library and dyn.load them. Of course the new functions
mySave/Load will use some of the internal R functions used by save/load,
for example "MarkSave" (to be found in .../src/main/saveload.c). I
declared them as
2001 Jan 08
0
R-1.2.0: gdb doesn't find functions in shared lib
I'm trying to debug some C functions I've written for use with R. Until
recently debugging them with gdb was no problem. But since I switched to
R-1.2.0 (from R-1.0.1) gdb can no longer find the entry points of my
functions. It either pretends to set break points but doesn't stop there or
it only stops at the end of the function.
R version R-1.2.0
gdb version GNU gdb 4.18
gcc version
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
2000 Sep 07
6
Writing a tabel in LaTeX-format
I have a vague recollection of seeing a R-function
that will output a table or matix in a format suitable
for the tabular enviroment in LaTeX.
But I cannot find it. Any hints?
Bendix
----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
2023 May 25
1
data.frame with a column containing an array
So is this an expected behavior or is it a bug which should be reported somewhere else?
Thanks!
Georg?
?
?
Gesendet:?Dienstag, 09. Mai 2023 um 19:28 Uhr
Von:?"Bert Gunter" <bgunter.4567 at gmail.com>
An:?"Georg Kindermann" <Georg.Kindermann at gmx.at>
Cc:?"Rui Barradas" <ruipbarradas at sapo.pt>, r-help at r-project.org
Betreff:?Re: [R] data.frame
2023 May 25
3
data.frame with a column containing an array
I really don't know. I would call it a request for extended capabilities of
[.data.frame, rather than a feature or bug. But maybe wiser heads than mine
who monitor this list can sort it out.
-- Bert
On Wed, May 24, 2023 at 8:52?PM Georg Kindermann <Georg.Kindermann at gmx.at>
wrote:
> So is this an expected behavior or is it a bug which should be reported
> somewhere else?
>
2004 Oct 07
5
Question restricting ssh access for some users only
I've used ssh as a secure telnet up to now but done little else with
it. The FreeBSD machines I look after on our internet-facing network
all have one account which I connect to for administration. I've set
up /etc/hosts.allow on all the machines to only allow ssh from a
limited internal network range.
Now I want to create a new account on one machine which will be
accessible from the
2023 May 09
1
data.frame with a column containing an array
I think the following may provide a clearer explanation:
subs <- c(1,3)
DFA <- data.frame(id = 1:3)
ar <- array(1:12, c(3,2,2))
## yielding
> ar
, , 1
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
, , 2
[,1] [,2]
[1,] 7 10
[2,] 8 11
[3,] 9 12
## array subscripting gives
> ar[subs,,]
, , 1
[,1] [,2]
[1,] 1 4
[2,] 3 6
, , 2
2007 Jun 11
1
dfs problems in 3.0.25a after client reboot and remapping
We restored to 3.0.23d after update to 3.0.25a because of strange dfs behavior.
the detailed situation:
on msdfs root server 'samba' ls -lR
dfsroot/:
drwxr-xr-x appl1
dfsroot/appl1
lrwxrwxrwx share1 -> msdfs:server1\share1
[dfs]
comment = "SaMBa DFS root"
path = /path.../dfsroot
# next line does not work prior 3.0.25 !!!
# hide unreadable = Yes
2002 May 07
1
Problem with ties in rank()
Hello All:
I have a vector of data, z
> z
[1] 0.1 0.1 0.1 0.1 0.2 0.2 0.3 0.3 0.3 0.4 0.5 0.5 0.5 0.7
0.7 0.7 0.9 0.9 1.1
[20] 1.1 1.2 1.3 1.4
The first 4 elements have values of 0.1 followed 2 elements with values 0.2.
When I invoke rank(z), I expected to get (1+2+3+4)/4 = 2.5 for the first 4
elements in the ranking and (5+6)/2 = 5.5 for elements 5 and 6. But what I
do
2006 Mar 02
1
Curious subsetting behavior
I have a simple vector, called tmp that I want to subset based on another
vector called vec. Everything works as expected except for below where the
subsetting returns something other than the original data. Any ideas?
> vec <- c(1,2,3,4,5,59,60,27,32,21)
> tmp
[1] 1.0 1.1 2.0 2.1 2.2 3.0 3.1 4.0 5.0 5.1 6.0 7.0 8.0 8.1
9.0
[16] 9.1 9.2 10.0 10.1 11.0 12.0 13.0 14.0
2003 Mar 25
1
BUG report : 'rnorm' (LINUX, R 1.6.2) (PR#2682)
Dear colleague,
unfortunately 'rnorm' does not create normal distributed numbers as
you can see with following histogramm:
> hist(rnorm(1000000),breaks=100)
and
> hist(pnorm(rnorm(1000000)),breaks=100)
I have done several chi^2-tests which have all failed:
> chi2unif<- function(x,N)
> {
> anz=length(x)
> f0<-rep(anz/N,times=N)
>
2010 Mar 12
2
Handling repeated values differently
mat is a matrix with X and Y values.
> mat
X Y
[1,] 56 20
[2,] 56 21
[3,] 2 50
[4,] 3 46
[5,] 18 77
[6,] 57 12
[7,] 57 36
[8,] 95 45
[9,] 65 23
[10,] 33 25
[11,] 33 98
[12,] 63 96
[13,] 66 75
[14,] 99 54
[15,] 78 65
[16,] 75 69
[17,] 54 68
[18,] 54 67
[19,] 0 22
[20,] 14 74
[21,] 15 52
[22,] 46 10
[23,] 6 20
[24,] 6 30
As you can see, some of the X values repeat. I wish
2006 Feb 24
1
Request: Time Stamped Dump-Files
Hi,
I urgently need a feature to save the dump-files in splitted timestamped
chunks or - much better - named accordingly to the stream metadata.
I don?t want to use utilities like streamripper to make dumps because
they act as a client and thus the "relay on-demand" feature of icecast
isn't usable anymore. I only want to have a copy of the stream when
somebody is actually
2000 Jan 21
1
Compiling error R-0.90.1
Hi,
I'm struggling to compile R-0.90.1 in a RedHat 6.1 machine. (I have the rpm,
but I would like to compile it, as I do under SuSE 6.3). I have also installed
quite a few other libraries (not installed by default, in particular, *-devel-*
ones), but to no avail thus far.
Here's the compilation error after going through ./configure
[root at friedman R-0.90.1]# make
<snip>
1999 Dec 15
1
R-0.90.1 is released
I've rolled up R-0.90.1.tgz a moment ago.
You can get it from
ftp://cvs.r-project.org/pub/CRAN/src/base/R-0.90.1.tgz
or
http://cvs.r-project.org/pub/CRAN/src/base/R-0.90.1.tgz
or wait for it to be mirrored at a CRAN site near you within a day or two.
There's also a version split in two for floppies and a patch file if
you prefer that.
For the R Core Team,
Peter D.
Here's