Displaying 20 results from an estimated 900 matches similar to: "FW: unable to open connection"
2003 Feb 02
1
unable to open connection
Dear list members,
I have problem to load data of the library waveslim.
After I load the library waveslim and tried to load data ibm
data(ibm)
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `ibm.txt''
I also tried other data sets without success. It works for other
libraries though.
Any suggestions? Thanks.
Zhu Wang
2004 Apr 06
4
missing values for mda package
Dear helpers,
I am trying to use the mda package downloaded from the R website, but
the data set has missing values so I got an error message. Should I
manually handle these missing values? I was trying to read the documents
to specify any option related to missing values, but I did not find it.
Please forgive me if I ignore something obvious.
Thanks,
Zhu Wang
Statistical Science Department
2003 Oct 23
7
generic algorithm
Dear all,
Is there any generic algorithm code for optimization implemented in R? I
searched without success.
Thanks,
--
Zhu Wang
Statistical Science Department
Southern Methodist University
Phone: (214)768-2453
Fax: (214)768-4035
Email: zhuw at mail.smu.edu
2004 May 31
1
Question about building library and BLAS
Dear helpers,
I am trying to create a library which uses some Fortran source files and Lapack and Blas
subroutines. The Fortran source files from the original author contain subroutines
isamax.f, sgefa.f and sgesl.f, which are part of BLAS subroutines on my Linux computer,
but maybe different (old) versions. So in addition to these subroutines, there are other
Lapack and Blas subroutines
2003 Jun 09
1
Questions for package ts prediction
Dear helpers,
I am trying to write a function to return prediction values using
package ts. I have written three different versions since I am not sure
what's wrong with my func2. func and func1 return the same results.But
func1 and func2 don't. In particular, the only difference between
"func1" and "func2" is the function variable name being y and data,
respectively.
2003 Jun 19
1
What's wrong with ar for my data?
Dear helpers,
When I use ar to fit the data with length 180, I have the following
error:
ar(x,method="burg")
Error in acf(x, type = "covariance",lag.max=order,plot=FALSE):
lag.max must be at least 1
If I use
ar(x), then I have
Call (x=x)
order selected 0 sigma^2 estimated as 5374
Obviously I missed some points for using ar.
This is R 1.7.0 under Redhat Linux
2004 Nov 01
0
updated package waveslim 1.4
waveslim 1.4 has recently been uploaded to CRAN and is fully compatible
with Rv2.0. Besides ensuring usability with the most recent version of R,
two additional "flavors" of wavelet methodology have been added to the
package: (1) Hilbert wavelet pairs and (2) the dual-tree complex wavelet
transform [only 1D and 2D ported from Matlab code by Selesnick]. The
dual-tree CWT code has
2004 Nov 01
0
updated package waveslim 1.4
waveslim 1.4 has recently been uploaded to CRAN and is fully compatible
with Rv2.0. Besides ensuring usability with the most recent version of R,
two additional "flavors" of wavelet methodology have been added to the
package: (1) Hilbert wavelet pairs and (2) the dual-tree complex wavelet
transform [only 1D and 2D ported from Matlab code by Selesnick]. The
dual-tree CWT code has
2007 Oct 31
2
survey weights in sample with replacement
>> Hi,
I am trying to draw a random sample from an household survey with sample weight. Is there any function in R or Splus which allows this.
Regards,
*******************************************************
Mehtabul Azam
Department of Economics
Southern Methodist University
Dallas TX 75275-0496
Tel: (214) 214 938 3906
Email: mazam at smu.edu <mailto:mazam at smu.edu>
2019 Aug 04
1
iconv: embedded nulls when converting to UTF-16
R-devel community:
I have encountered some unexpected behavior using iconv, which may be the source of errors I am getting when connecting to a UTF-16 -encoded SQL Server database. A simple example is below.
When researching this problem, I found r-devel reports of the same problem in threads from June 2010 and February, 2016, and that bug #16738 was posted to Bugzilla as a result. However, I
2015 Aug 27
0
Column name expansion in data.frame()
Dear R developers:
I am trying to add a column to a data.frame. The following does the
trick by expanding the name of the first data frame with the prefix foo:
> data.frame(foo = as.list(data.frame(items = 1:3, bar=1:3)), items =
1:3) foo.items foo.bar items
1 1 1 1
2 2 2 2
3 3 3 3
However, the following special case produces an
2014 Nov 30
1
Using FPP preprocessor for Fortran Code
Dear R Developers,
For package seriation I use Fortran code. I recently got a request to add
#if defined(__ICC) || defined(__INTEL_COMPILER)
USE IFPORT
#endif
to the code since the Intel Fortran compiler otherwise has problems with
rand(). However, to enable the FPP preprocessor I have to either add a
compiler flag (-cpp for gFortran) which is possibly not portable or
change the
2005 Jun 30
0
R-Aqua can't open history file
Dear List,
I am running R-Aqua 2.1.0 on a powerbook with Mac OS/X 10.3.9. Here is what I get when I type "version" at the R-prompt.
platform powerpc-apple-darwin7.9.0
arch powerpc
os darwin7.9.0
system powerpc, darwin7.9.0
status Patched
major 2
minor 1.0
year
2004 Jun 09
2
Building package on Windows: No rule to make target '-llapack'
Dear all,
I have a problem to build a package on Windows XP while there is no problem on Linux. The Makefile is something like:
###########
LIBNAME=cts
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
OBJS=file1.o ... file20.o -llapack -lblas
$(LIBNAME)$(SHLIB_EXT): $(OBJS)
$(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS)
clean:
@rm -f *.o *.$(SHLIB_EXT)
realclean: clean
2004 Jun 27
1
Re: help in R calling C function (Lei Liu)
> Message: 4
> Date: Sun, 27 Jun 2004 03:18:43 -0400
> From: Lei Liu <liulei at l.imap.itd.umich.edu>
> Subject: [R] help in R calling C function
> To: r-help at stat.math.ethz.ch
> Message-ID: <5.1.0.14.1.20040627030746.014936b8 at l.imap.itd.umich.edu>
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> Hi there,
>
> I want
2012 Jan 16
0
Package: Waveslim Error: The object is this type is not subsettable
Hi everyone
I am using the wavelet and waveslim package in R to find the wave
variance.Here is the code
return.modwt<-modwt(X, filter="la8", n.levels=5, boundary="periodic",
fast=TRUE)
return.modwt.var<- wave.variance(return.modwt, type="nongaussian")
Where X is a uni-variate time series.
I am expecting a matrix with 5 rows(no. of levels) and 3
2006 Nov 14
1
??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
Airon,
I used R2.4.0 on a Windows XP (SP2) (not Chinese :-))
and it still works:
> data = read.csv("u:/airon.csv")
> xdata = data$Adj..Close
> modwt.la8 = modwt(xdata, "la8", n.level=6)
> summary(modwt.la8)
Length Class Mode
d1 1467 -none- numeric
d2 1467 -none- numeric
d3 1467 -none- numeric
d4 1467 -none- numeric
d5 1467 -none- numeric
d6 1467
2015 Mar 20
0
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
Hi Martin,
package arules heavily relies on ngCMatrix and uses multiplication and
addition for logical operations. I think it makes sense that in a mixed
operation with one dgCMatrix and one ngCMatrix the ngCMatrix should be
"promoted" to a dgCMatrix.
The current behavior of %*% and friends is in deed confusing:
> m <- matrix(sample(c(0,1), 5*5, replace=TRUE), nrow=5)
>
2001 Nov 09
1
Installing packages
Hello,
I have upgraded from Mandrake Linux 8.0 to Mandrake 8.1 and try to reinstall
my favourite R... Everything is OK for the base software but I have trouble
to get some packages installed.
Specifically, for some packages, a "collect2" binary seems to be necessary
during the compilation/linking process of the library, and LD complains about
not finding it :
Installing source
2001 Jul 26
0
tree and rpart
There have been various messages about packages tree and rpart whilst
I have been travelling, and I have now prepared updates.
tree
====
Tree is one of the oldest packages on CRAN (Feb 2000 apart from adding
the maintainer field), and I had been hoping that it would fade away
in favour of rpart.
1) sys.parent needed to be replaced by parent.frame in all but the
most recent R (post 1.3.0).