Displaying 20 results from an estimated 1000 matches similar to: "reproducing an error in dumped frames"
2002 Dec 09
0
triangular PDF
Howdy,
I couldn't find any way to generate deviates from a triangular
PDF in R, so here's a function to do so.
-Andy
rtri <- function(n=1,min=0,max=1,ml=0.5) {
# Return independent random deviates from a
# triangular distribution.
# n is number of deviates requested
# min, max are lower and upper limits of r.v. range
# ml is the most-likely value
2001 Sep 13
1
significant figures in summary()
Howdy,
Should summary() print answers with different numbers of
significant figures, as in the following?
> dim(iv)
[1] 3000 2
> summary(iv)
X1 X2
Min. :-4.15261 Min. :-3.271520
1st Qu.:-0.66188 1st Qu.:-0.671205
Median : 0.01233 Median :-0.008175
Mean : 0.01121 Mean : 0.016815
3rd Qu.: 0.67778 3rd Qu.:
2003 Sep 26
0
homepage should not use frames (PR#4316)
Howdy,
I really, really don't want to spark a flame war or anything,
and please let me stress beforehand that I appreciate all the
volunteer (!) work that goes into R and into
www.r-project.org, but...I personally find that the framed
access to web resources is annoyingly difficult to use.
Chief among my several complaints is that I can't
2003 May 09
0
graphics on a map
Howdy,
I'd like to draw graphical elements at specific areas on a
map. For instance, would it be possible to draw a pie chart
at the center of each nation on a world map? I'm interested
in putting histograms, scatterplots, line graphs, etc., on
geographical regions.
Many thanks,
Andy
--
Andy Jacobson
andyj at
2002 Oct 02
2
.C() and C++ name mangling
Howdy,
I'm working with some external code written in C++, which I
would like to call via dyn.load() and .C() from R. The
function prototype looks like:
gaRemin(int *, float *, float *, int *, float *, float *,
float *, float *, float *)
but to call this function from R using .C() I have had to use
the mangled version of this
2001 Oct 31
2
seg fault with mclust
Howdy,
I'm experiencing a segmentation fault when trying to load
mclust.so from mclust-1.1-4. I'm using R-1.3.1 on RedHat 6.2,
and `gcc --version` reports "egcs-2.91.66".
Any ideas?
-Andy
Package install:
> install.packages("mclust")
[stuff omitted]
Installing source package `mclust'
2004 Feb 06
2
Normality Test on several groups
Hi,
I use ks.test or lillie.test to verify a normal distribution. It's performed
for a group
My users use SigmaStat software and a One Way ANOVA on several groups
In the result page there is a probability value to determine if Normality
test is failed or passed
So, how can i retrieve this probability value on several groups?
Is there another function in R to verify normality on several
2008 Jan 25
0
Shift count warning messages
Jean-Marc,
I dug into this further, and found that the warning occurred when PSHR32 had
a shift greater than 15.
in fixed_generic.h, PSHR32 is defined as:
#define PSHR32(a,shift) (SHR32((a)+((1<<((shift))>>1)),shift))
For 16-bit compilers the "1" needs a cast:
#define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift))
This change fixed the
2008 Jan 26
1
Shift count warning messages
Hi Jim,
Thanks a lot for investigating. It definitely makes sense now. I'll fix
the problem now. Is there any other place where you see that same (or
similar) problem?
Jean-Marc
Jim Crichton a ?crit :
> Jean-Marc,
>
> I dug into this further, and found that the warning occurred when PSHR32
> had a shift greater than 15.
>
> in fixed_generic.h, PSHR32 is defined as:
>
2004 Aug 06
4
liblame vs libmp3lame.... anyways, it don't work.
I took the latest installation of lame (both stable and beta) and
installed those with the default install variables. The last one I
compiled was lame3.87.
I then have the ices-0.0.1.beta5 and config'd the sources with
./configure --with-perl --with-lame and installed.
Yet, when I run ices -R, it complains with the following line when I run
the -R option:
Support for reencoding with
2008 Jan 23
0
Shift count warning messages
I looked back at my old C55 EC build, and I had the same warning in mdf.c
which Mike found. The assembly code did have a valid shift, and this build
did cancel echo.
When I built with the SVN head, I saw the errors in kiss_fft.c also. The
assembly there also has valid shifts.
So, I suspect that these warnings do not indicate a real problem. It might
be interesting to break down the
2007 Jan 26
1
Makevars PKG_LIBS ignored by SHLIB (PR#9473)
Full_Name: Rick Sayre
Version: 2.4.0
OS: Windows
Submission from: (NULL) (138.72.27.164)
PKG_LIBS works fine on *nix
on windows, it seems to be ignored by the "SHLIB" script
so, R CMD SHLIB blah
properly uses PKG_CPPFLAGS and PKG_CFLAGS from Makevars, but PKG_LIBS is
ignored
2009 Nov 10
1
Typo in 2.10.0 NEWS file (PR#14054)
Full_Name: Rick Sayre
Version: 2.10.0
OS: linux/windows/os x
Submission from: (NULL) (138.72.146.168)
Man, it feels ungrateful to report this, but it looks like in the
process of having my wish PR#13758 fulfilled, a typo snuck in to
the "NEWS" releasenotes:
o New as.raw() method for "tclObj" objects (wish of PR#13578).
I'm pretty sure that's a typo, and should
2008 Jan 23
2
Shift count warning messages
Thanks Jim for looking into that, I was really starting to wonder what
was going on. Let me know if you find a way to tell the compiler to stop
complaining.
Jean-Marc
Jim Crichton a ?crit :
> I looked back at my old C55 EC build, and I had the same warning in
> mdf.c which Mike found. The assembly code did have a valid shift, and
> this build did cancel echo.
>
> When I built
2006 Apr 25
1
libtrio
Hi,
I usually compile R-devel tarball every few days (just to check if I can do
it and check for any compile errors). As of two days ago, I am receiving
the following error:
...
gcc -O3 -I. -DWIN32 -D_X86_ -c xdr_mem.c -o xdr_mem.o
ar crs libxdr.a xdr.o xdr_float.o xdr_stdio.o xdr_mem.o
make: *** ../extra/trio: No such file or directory. Stop.
make[3]: *** [rlibs] Error 1
make[2]: ***
2002 Aug 10
1
GLM Contingency table regressions
I have a contingency table with a 0/1 variable (fwr) that flags a particular
condition, a weight variable (cnt) and other variables (e.g. zz)
characterizing that observation of the table.
I am trying to use GLM. By converting the variables to factors and running
the following regression:
fwr1<-factor(fwr)
zz1<-factor(zz1)
res1<-glm(fwr1 ~ zz1,weights=cnt)
Is that appropriate?
Paul M.
2007 Mar 28
1
options(error=recover) in .Rprofile
Hi,
I'd like to try using "options(error=recover) in my ~/.Rprofile, but
it appears that the function "recover" is not defined during R
startup when the .Rprofile is processed. "recover" is defined after
I get an R prompt, however. Can anyone shed light on why this is,
and whether a work-around is possible?
I've tested this on a variety of systems
2013 Sep 23
1
Log on to Samba 4 AD DC using domain user
Hi, all,
I am having trouble figuring out how to log on to a Samba 4 AD DC using
any AD domain account. Has anyone had success doing this? If so, is
there a guide somewhere?
I have stood up a Samba 4 Active Directory Domain Controller on a Red
Hat 6.3 system, and it appears to be functioning correctly. I have a
Windows 7 workstation, a Windows 2008R2 storage server, and two other
Red
2004 Apr 24
1
determinant via Lapack
Hi,
What Lapack routine(s) should I use to calculate the determinant of a
symmetric matrix of real numbers? I would appreciate any guidance on this
issue.
Thanks,
Kosuke
---------------------------------------------------------
Kosuke Imai Office: Corwin Hall 041
Assistant Professor Phone: 609-258-6601 (Direct)
Department of Politics Fax: 609-258-1110 (Department)
2007 Jul 24
0
Shoehorning speex is confusing a newbie
Mike,
Generally "Invalid mode encounterd" == "frames are misaligned"
You should be getting 20 bytes from the encoder each time, and passing 20 bytes to the decoder each time. Is it correct that you have modeled your main loop after testenc-TI-c5x.c?
If you look at encoded silence with a binary editor, you should be able to see the 20-byte repetition pattern. You can also