Displaying 20 results from an estimated 2000 matches similar to: "use dyn.load to redefine R internal fns?"
2000 Feb 23
1
Version 0.90.1 bug report on matrix indexing
Hi ,
R Version 0.90.1 on Solaris2.5 and Suse Linux 6.[1,3] crashes some time
after a matrix row or column has been addressed via an incorrect
row/colname:
R : Copyright 1999, The R Development Core Team
Version 0.90.1 (December 15, 1999)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "?license" or
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
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
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
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:
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
2006 Sep 29
1
Possible bug in Rcons_vprintf
In R-2-4-branch r39548, Rcons_vprintf is called from stdout_vfprintf
when R_Outputfile is NULL. When called and output is greater than
R_BUFSIZE, output is truncated to R_BUFSIZE. Here's a one-line fix:
Index: src/main/printutils.c
===================================================================
--- src/main/printutils.c (revision 39548)
+++ src/main/printutils.c (working
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
2006 Feb 03
1
Interfacing C-code (gets and printf) under WINDOWS (Visual C++)
Hi
I try to develop a R interface to a set of C routines, in order to
produce a R-package on Geostatistics.
My C-code uses interaction with the user as I use printf and gets
statements.
I develop the code in a LINUX environment and do not face any problem
having the questions and answers routed on my current Terminal.
When I tried to port the package on Windows, the problems began. No
message
2005 Oct 17
1
RFC: API to allow identification of warnings and errors in the output stream
Dear R developers,
this mail is basically a summary / clarification of some previous mails I sent
to this list last week (subject "Catching warning and error output"). Duncan
Murdoch pointed out that these were badly organized, and suggested I repost,
collecting the main points previously spread out between several mails.
Problem statement:
In an application embedding R, I would
2001 Mar 10
2
passphrase for non existent key?
Hi there. I'm being asked for a passphrase for a key file that does not exist.
See debug output below. Both client and server default to SSH2. Creating a DSA key without a password and copying the public
portion to the server's authorized_keys2 allowed me to login w/o a password. I downloaded and installed the latest version of SSH
from OpenBSD CVS, and now its asking me for the
2000 Jul 07
1
R and large RAM
I am planing to buy several machines with 2 GB RAM.
Is R able to use this much memory?
Thanks
Gerhard
--
Dr. Gerhard Paass http://ais.gmd.de/~paass
GMD.AiS - Inst. for Autonomous Intelligent Systems
Schloss Birlinghoven, D-53754 St. Augustin, Germany
mail: paass at gmd.de fon: +49 2241 14-2698 fax: ..-2342
2003 Apr 24
5
Fast R implementation of Gini mean difference
I have written the following function to calculate the weighted mean
difference for univariate data (see
http://www.xycoon.com/gini_mean_difference.htm for a related
formula). Unsurprisingly, the function is slow (compared to sd or mad)
for long vectors. I wonder if there's a way to make the function
faster, short of creating an external C function. Thanks very much
for your advice.
gmd
2012 May 11
1
Replacements for stdout and stderr guaranteed to be open in all versions of R
I maintain the geometry package, which integrates the Qhull C library
(http://qhull.org) into R. The Qhull function I hook into requires an
open FILE handle as one of its arguments. I had set this file handle to
stdout, but now R check NOTEs the presence of stdout, and the CRAN
maintainers asked me to get rid of these NOTEs.
Including the following defines means the checks are passed on CRAN:
2007 Apr 04
1
REPLACE and REMOVE fns
I want to use the replace function on "R_Jeter_04_post" (see attached)
so that S=1, D=1, T=1, HR=1, O=0, K=0, E=0, FC=0, and W,IW,and HP are
removed, so that i have a simple list of 1's and 0's.
I understand that I need to use the command "replace(x,list,values)"
and "rm()" but I'm having trouble using them. (syntax errors and
whatnot)
Any help would be
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?
>
2009 Nov 20
1
how to link C code with gsl from R CMD and dyn.load
Hi,
I am writing a function in C that is meant to be called by R. In the C
function, I used a gsl function gsl_stats_mean. The code is as simple as
below
void gsl(double *m, int *dim){
int r, c;
r = dim[0];
c = dim[1];
double mean = gsl_stats_mean(&m[0], 1, r);
Rprintf("mean = %f\n", mean);
}
The C code is succesfully compiled and the output is as follows.
$ R CMD SHLIB
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