Displaying 20 results from an estimated 2000 matches similar to: "R-beta: wish: hist() returning breaks and counts"
1998 Jan 19
2
R-beta: updating the library index / overriding compile options
Would it be possible to include a new command in the ${RHOME}/etc path, which
updates the Library index (Rd and html) via "R LIBINDEX".
I need it because I use RPM to manage three different R installations (at home,
at the institute and in the seminar rooms). I put all libraries into several
packages, so it is easy for me to update a single library at all these
different places.
But
2001 Feb 07
1
Re: failed rpm installation of R 1.2-1 (fwd)
On Wed, 7 Feb 2001, Faheem Mitha wrote:
> Dear Albrecht,
>
> Just sent the following message out to r-help. Have you any idea what this
> problem could be?
>
> Sincerely, Faheem Mitha.
>
> ---------- Forwarded message ----------
> Date: Wed, 7 Feb 2001 00:04:35 -0500 (EST)
> From: Faheem Mitha <faheem at email.unc.edu>
> To:
2000 Jun 02
2
make check on DU4 with R-1.1.0 snapshot
I just tried the rsync version of R-1.1.0 on one of my alphas:
It compiles without problems (gcc/g77 2.95.2, system is DU4.0E)
but make check stops in base-Ex.R at
> X <- cbind(1, 1:7)
> str(s <- svd(X)); D <- diag(s$d)
List of 3
$ d: num [1:2] 12.07 1.16
$ u: num [1:7, 1:2] -0.0976 -0.1788 -0.2601 -0.3413 -0.4225 ...
$ v: num [1:2, 1:2] -0.198 -0.980 -0.980 0.198
>
2006 Feb 01
1
akima 0.4-5, interpp() bug = COMMON block problem
Hi,
I'm currently hunting a bug in the akima library, especially in the code
behind the interpp.old function (bi-variate linear interpolation).
It is based on a triangulation algorithm, interpolation at a given point
needs to know the triangle which contains this point, then the
interpolation is a straightforward calculation based on the three
vertexes.
The problem is: Sometimes the triangle
2000 Jun 07
2
"clipping error in x11()" (PR#564)
There seems to be an error in the X11 display code:
try:
plot(c(-30000,-1,0,1,30000),c(30000,1,0,1,30000),type="l")
points(c(-30000,-1,0,1,30000),c(30000,1,0,1,30000))
it gives a big "V" as expexted. Now zoom in using small xlim and ylim:
plot(c(-30000,-1,0,1,30000),c(30000,1,0,1,30000),type="l",
xlim=c(-5,5),ylim=c(0,5))
1997 Dec 23
0
R-beta: bug in hist() (0.60/0.61)
I discovered a bug in hist().
Try the following:
x<-c(-5,-4,-4,-4,-3,-3,-3,-3,-2,-2,0,0,0,0,1,1,1,3,3,5,6)
# Note that sum(x)<0:
sum(x)
# [1] -13
hist(x)
# looks ok
hist(x,freq=F)
# negative bars !!
# and finally this gives not 1:
sum(hist(x,plot=F)$rel.freqs)
# [1] -0.8076923
The reason is, that "sum(x)" is used instead of "length(x)" in the following
line near
2000 Jul 17
1
Makevars, PKG_CFLAGS, ...
Hi,
I'm searching for a way to override the default CFLAGS/FFLAGS (-g -02 in
my case) per package (e.g with "-g" for packages under development).
PKG_CFLAGS/PKG_FFLAGS is prepended to the remaining flags, so it can't
delete a globally set "-O2" flag.
Of course I can edit the global Makeconf file, but I was wondering if
there is a possibility to override variables from
2000 Jun 02
1
R.bin (1.1.0) gives segfault
During testing with R-devel on the alpha I just noticed (after misspelling
"bin/R" as "bin/R.bin") that R.bin segfaults. It accesses the empty R_HOME
variable and should better give an error instead of a crash:
a gdb output snippet:
...
Program received signal SIGSEGV, Segmentation fault.
0x3ff800d6a10 in strcpy ()
(gdb) backtrace
#0 0x3ff800d6a10 in strcpy ()
#1 0x1200efda0
1997 Nov 17
1
R-beta: autoloading a required library
I wanted to use the dist() function from the mva library in my own
library, so I put require(mva) in my files. When my library loads, a
message about "Autoloading ... mva" appears. But when I call dist() now
within my functions the message
Error in .C("dist", as.double(x), nrow(x), ncol(x), double(len),
as.integer(method)) : C/Fortran function not in load table
appears.
2001 Jun 11
1
R-devel on alpha Tru64: cxml/dxml problem (PR#977)
Hi,
I just run a ./configure --enable-R-shlib; make; make check; with a recent
(11.6.2001) R-devel snapshot on Tru64 4.0F (with libcxml):
make check stops in base-Ex.R at:
> ###--- >>> `plot.window' <<<----- Set up World Coordinates for Graphics
Window>
> ## alias help(plot.window)
>
> ##___ Examples ___:
>
> ##--- An example for the use
1998 May 24
1
R-beta: problem with graphics parameter "fin"
Hi,
I have the following problem (with R 0.61.3 an Linux, and a new and empty
workspace)
> oldpar<-par()
> par(oldpar)
Error: attempt to set invalid value for graphics parameter "fin".
> oldpar$fin
[1] 6.992034 6.990803
but now:
> oldpar$fin <- c(6.99,6.99)
> par(oldpar)
it works.
It seems, that if I set oldpar$fin to values greater than listed above
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi,
when designing libraries for R, is it possible to call C/Fortran
subroutines from other dynamically loaded code?
The following example crashes R:
********* fn1.c *****************
void twice(int *i)
{
*i = 2 * *i;
}
*********************************
********* fn2.c *****************
extern int twice(int *i);
void negtwice(int *i)
{
*i = -1 * twice(i);
}
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi,
when designing libraries for R, is it possible to call C/Fortran
subroutines from other dynamically loaded code?
The following example crashes R:
********* fn1.c *****************
void twice(int *i)
{
*i = 2 * *i;
}
*********************************
********* fn2.c *****************
extern int twice(int *i);
void negtwice(int *i)
{
*i = -1 * twice(i);
}
2000 Sep 06
2
reusing external functions across libs
Hi,
I am searching for a way to solve the following problem:
I want to use an external function, defined in a dyn.load()ed shared
object, in another dyn.load()ed shared object.
Currently I have to take the sources (Fortran) from one libraries src/
directory and copy them into the src/ dir of the other library, resulting
in two copies of this function. This is bad for maintanance and maybe
also
2001 Jun 17
1
configure doesn't find perl 5 on suse 7.2
R-devel:
./configure doesn't find perl 5 on a SuSE 7.2 system wit perl 5.6.0
installed:
this is the output of perl -v:
###################################################################
omega:/usr/src/packages/BUILD-omega/R-devel # /usr/bin/perl -v
This is perl, v5.6.0 built for i586-linux
Copyright 1987-2000, Larry Wall
Perl may be copied only under the terms of either the Artistic
1998 Jan 28
1
R-beta: executable problem
I downloaded the rseptbeta.zip and exe.zip files for Windows (I'm
running Win 95 4.00.950a) about three weeks ago and until now had
been very impressed.
Today the executable rsept.exe (dated 10/29/97) went strange. It would
open a window and immediately close the window (I've seen this
before when inadvertently trying to open certain non-windows
applications within windows). Here is
1998 Jan 20
1
R-beta: questions and comments
Let me first tell you that you and your cohorts are
doing a great service to the statistical community
with R. I have been working with Rseptbeta under
Win95 and I am very impressed with its capabilities.
I thought I give you some feedback gained from
my limited playing with R.
Fritz Scholz
fritz.scholz at boeing.com
=============================================================
When
2001 May 02
1
subdirs in package src dir
Sometimes I find it useful to put C or Fortran sources under subdirs of
"mypackage/src", especially to distinguish between my own files and
e.g. lapack or blas sources. To get this working I would need a Makefile
in my package which contains the appropriate dependencies to these sources
in subdirs.
But I don't want to add a complete Makefile, I want only a Makevars file
containing
1997 Nov 22
3
R-beta: help ((message first bounced because of subject -- your admin.))
The help file provided within the rsept.zip is somewhat outdated
compared to the one available on http://www.stat.math.ethz.ch/R/manual/;
would it be possible to update the file for a more easy download instead
of having either to download individually or going online ?
Troels
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
r-help mailing list -- Read
1999 Mar 30
0
New SuSE rpms + DU 4.0 binaries
Hi,
I updated my R rpms for SuSE systems. They are now available both for
S.u.S.E 5.3 and SuSE 6.0 under
ftp://ftp.ci.tuwien.ac.at/pub/R/bin/linux/suse/
Additionally I put binaries for DEC Alpha systems running Digital Unix 4.0
under
ftp://ftp.ci.tuwien.ac.at/pub/R/bin/osf/osf4.0/alpha/
These packages are available as rpms and as a setld kit. setld is the
Digital Unix package maintanance