Displaying 20 results from an estimated 8000 matches similar to: "reading a ".mdf" file in R"
2010 Oct 13
2
vectorizing: selecting one record per group
Hi,
I want to select a subsample from my data, choosing one record from each
group. I know how to do this with a for.
For example: lets say I have the data:
A=cbind(rnorm(100),runif(100),(rep(c(1,2,3,4,5),20)))
Where the third column is the group variable. Then what I want is to select
5 observations. Each one taken randomly from each group.
INDEX =NULL
i=1
for(index_g in
2011 Mar 29
1
'RQuantLib for 2.12 version
Dear R users,
I have been trying to use RQuantLib in the 2.12.2 R version. I downloaded
the .zip file from
<http://sourceforge.net/projects/quantlib/files/QuantLib/>
http://sourceforge.net/projects/quantlib/files/QuantLib/ which didn't work,
so I
I downloaded the package source from
<http://sourceforge.net/projects/quantlib/files/QuantLib/1.0.1/>
2005 Nov 08
1
[PATCH] build warnings in mdf.c
Hi
I just upgraded to http://svn.xiph.org/trunk/speex r10357
and got this build warning:
alfredh@io:$ make -s mdf.o
libspeex/mdf.c: In function 'speex_echo_cancel':
libspeex/mdf.c:321: warning: statement with no effect
libspeex/mdf.c:317: warning: `adapt_rate' might be used uninitialized in this function
Is this intentional? In any case here is a simple fix:
Index:
2005 Nov 07
1
Some problems with mdf.c
Hello...
I want to ask you something about your software implementation of MDF filter with DTD machanism.
(mdf.c speex_echo.h files)
My questions are:
1. What are theoretical (using in your articles) equivalents of index symbols from your program?
2. Could you describe or give me an algorith which was using during software implementation of the MDF+DTD
3. How I could freeze MDF by means of DTD
2006 Feb 06
2
Problems with MDF
Hi, I'm still trying to implement speex AEC into my VOIP project and I have some problrm with MDF filter response. I have plots of ref(near-end), y(filter response) signals and from plots I obtain that filter response is to small so when i substruct it from ref signal there is no efect. Is there any way to make filter giving response about ref signal amplitude?
/Przemek Stajniak.
2008 Aug 17
1
MDF filter coefficients
Hi,
I would like to compute the inverse FFT of the MDF coefficients. I have noticed that some coefficients are obviously missing since I do not see the mirror effect, neither find the purely real frequency 0 coefficent that have to be found for a "real" signal.
I guess the frequency 0 coefficient is 0 (average energy 0), but how should I do the mirroring and how many coefficients should
2005 Nov 16
2
mdf no sound issue
Jean Marc & list,
Following up on this- there seems to be an issue with this calculation
in mdf.c (Smooth echo energy estimate over time)
Pey += Eh*Yh;
Pyy += Yh*Yh;
it goes too large for floating point, which seems to be caused by extremely
large values in st->Rf[j], st->Yf[j] and smaller values in st->Eh[j],
st->Yh[j]-
things were relatively quiet
2011 Aug 22
2
[LLVMdev] llvm-gcc and -march
On Aug 22, 2011, at 3:59 PM, Bob Wilson wrote:
> The -arch option is handled by Apple's "driver-driver", and the MacPorts build is probably not using that. See the driverdriver.c source file in llvm-gcc for details.
>
He's asking about the -march option which should work either way.
Also, the driver-driver should be in the sources that they're using even still.
2011 Aug 22
0
[LLVMdev] llvm-gcc and -march
The -arch option is handled by Apple's "driver-driver", and the MacPorts build is probably not using that. See the driverdriver.c source file in llvm-gcc for details.
On Aug 22, 2011, at 3:08 PM, Nichols A. Romero wrote:
> Here is some more info:
>
> [naromero:~/pmr] naromero% llvm-gcc -v
> Using built-in specs.
> Target: x86_64-apple-darwin10
> Configured with:
2011 Aug 22
2
[LLVMdev] llvm-gcc and -march
Here is some more info:
[naromero:~/pmr] naromero% llvm-gcc -v
Using built-in specs.
Target: x86_64-apple-darwin10
Configured with: ../llvm-gcc-4.2-2.9.source/configure
--prefix=/opt/local --host=x86_64-apple-darwin10
--enable-llvm=/opt/local --enable-languages=c,c++,objc,obj-c++,fortran
--libdir=/opt/local/lib/llvm-gcc42
--includedir=/opt/local/include/llvm-gcc42
--infodir=/opt/local/share/info
2011 Aug 22
2
[LLVMdev] llvm-gcc and -march
This comes up when trying to compile Valgrind, here is the full compile line:
/opt/local/bin/llvm-gcc-4.2 -Wbad-function-cast -Wcast-qual
-Wcast-align -fstrict-aliasing \
-arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow
-Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wno-format-zero-length -fno-strict-aliasing -mmacosx-version-min=10.5
-fno-stack-protector \
-O -S
2011 Apr 27
1
Reading file
Hi all,
I am trying to read Excel file usingthe follwoing commnad
library(RODBC)
data=odbcConnectExcel(file.choose())
sqlTables(data)
Bdat=sqlFetch(data, "test")
odbcClose(data)
head(Bdat)
1. The above script works if the Excel file is opened. If the excel file is
not opened then I get the following message "External table is not in the
expected
2011 Aug 22
0
[LLVMdev] llvm-gcc and -march
Still nothing here:
[yendi:~] echristo% llvm-gcc -march=nocona foo.c -S -arch x86_64
[yendi:~] echristo%
So, perhaps you could send more information? Or bug the mac ports people.
-eric
On Aug 22, 2011, at 2:44 PM, Nichols A. Romero wrote:
> This comes up when trying to compile Valgrind, here is the full compile line:
>
> /opt/local/bin/llvm-gcc-4.2 -Wbad-function-cast -Wcast-qual
2008 Aug 27
5
Integrate a 1-variable function with 1 parameter (Jose L. Romero)
Hey fellas:
I would like to integrate the following function:
integrand <- function (x,t) {
exp(-2*t)*(2*t)^x/(10*factorial(x))
}
with respect to the t variable, from 0 to 10.
The variable x here works as a parameter: I would like to integrate the said function for each value of x in 0,1,..,44.
I have tried Vectorize to no avail.
Thanks in advance,
jose romero
2006 Jun 19
2
MS Exchange SMTP Login problem
Hello,
I'm using dovecot & postfix to bring smtp auth to our customers. Normal
mail clients have no problem at all and I'm so satisfied.
However, we're having problems with Microsoft Exchange server clients.
We're using our postfix-dovecot server as smarhost for several Exchange
Servers, and we wish to use TLS + basic authentication for these
outgoing mails.
But it seems that
2010 Feb 12
3
summary statistics for grouped data
Hello list:
Is there an easy way (preferably through one of the standard R packages) of obtaining summary statistics for grouped data? I could split the data into classes by hist, and then progressively calculate all the "columns" i need to obtain the mean and standard deviation, but i was looking for a single function that could do that with a data vector.
Thanks in advance,
jose
2013 Oct 27
2
numeric data being interpreted as a factor -trouble with reading data into a dataframe in R
Hello.
trying to do one of the simplest actions -read in data into R.
I don't know why the FBfollowers column is being read as a factor and also
if I use as.numeric on it, it looks really strange and actually complety
alters the data.
I am attaching the data set here called ddd.csv
I used
data=read.csv("ddd.csv",header=TRUE)
fb=data$FBfollowers
fb
fb=as.numeric(fb)
fb
Thnxs in
2012 Apr 23
2
.rda vs. .RData
Are they the same with .RData being the newer format?? Thanks,
...Tao
2011 Aug 22
3
[LLVMdev] llvm-gcc and -march
Hi,
I apologize if I am not asking on the right mailing list.
I am using the llvm-gcc4.2 from MacPorts.
https://trac.macports.org/browser/trunk/dports/lang/llvm-gcc42/Portfile
llvm-gcc does not seem to accept the -march flag. This is the error,
I got:
cc1: error: unrecognized command line option "-march"
The port developer asked me to find out if this is a known issue.
--
Nichols
2013 Oct 10
1
Rcpp and mclapply
Dear all,
I have an R script that uses Rcpp, and I have been trying to parallelize
it using mclapply (I tried with the multicore and the parallel library)
Sometimes (not always, interestingly), the CPU use for each core drops,
usually so that the total over all cores reaches 100%, i.e., as fast as if
using just one single core fully. I tried my code directly from within
emacs, and also using a