,
x - c(1,2)
a - NULL
a[1] - list(c(4,5))
a[2] - list(c(8,9,10)
Any suggestions to write such a table to file would be appreciated.
Thanks,
Zhu Wang
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Yes, the code does the job. Thanks, Zhu Wang
Rolf Turner wrote:
What about
x - 1:2
a - list(c(4,5),c(8,9,10)) # Which is the way you *should*
# have constructed a!
ddd - data.frame(x=x,a=I(unlist(lapply(a,paste,collapse
Apparently I missed cat. Thanks. Zhu Wang
Gabor Grothendieck wrote:
A simple for loop would do it:
x - 1:2; a - list(4:5, 8:10) # test data
cat(x a\n, file = ) # only if you want a header
for(i in seq(along = x)) cat(x[i], a[[i]], \n, file = )
On 9/1/06, Zhu Wang [EMAIL PROTECTED] wrote
Dear helpers:
I am trying to call some Fortran 95 code with R-2.3.0 but had problem as
below. Any pointers would be appreciated. Thanks, Zhu Wang
On Linux,
R CMD SHLIB rfh.f
R
dyn.load(rfh.so)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
Dear all,
I was trying to build my own R package cts on LINUX but got the following
checking package dependencies error and a warning message. What were wrong?
Thanks,
Zhu
# R CMD check cts
* checking for working latex ... OK
* using log directory '/home/zwang/R/pkg/cts.Rcheck'
* using
Dear all,
Does anybody happen to have written some GEE source code in Fortran to
solve a Generalized Estimation Equation Model? Or kindly point out me a
good starting point. Thanks.
Zhu Wang
SCHARP
__
R-help@stat.math.ethz.ch mailing list
https
',as.double(a))
But the R system crashed. I know I can only define the function type in C
as void to be called by R. But what if I want to call another C function
in the main C function? Thank you for your help!
Sincerely,
Lei Liu
--
Zhu Wang
Statistical Science Department
Southern
On Thu, 2004-06-10 at 06:40, Prof Brian Ripley wrote:
On Wed, 9 Jun 2004, Zhu Wang wrote:
I have a problem to build a package on Windows XP while there is no
problem on Linux. The Makefile is something like:
There would be a problem on Linux, if that Makefile were used. I suspect
in \src\gnuwin32, but I did not
find
what I needed.
Thanks for any advice.
Zhu Wang
Statistical Science Department
Southern Methodist University
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read
question is how do I set up my Makefile, or maybe other files, such that I have
the same result as I did to compile and run these Fortran files directly.
Thanks in advance.
--
Zhu Wang
Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
Phone:(214)768-2453 Fax:(214
to improve later.
--
Zhu Wang
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
to link Lapack and Blas was not correct, even
though it worked fine when I used for running Fortran code before.
Thanks for any advice.
Zhu Wang
Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
__
[EMAIL PROTECTED
To solve my own problem, it seems better to follow instructions in
Writing R Extensions to build a library. I am making progress.
Thanks,
Zhu Wang
Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
On Fri, 2004-05-28 at 13:11, Zhu Wang wrote:
I am having
Thanks. I was able to use na.omit to remove NAs. But it seems to me this
kills one of the advantages of the original algorithm for handling
missing values.
On Tue, 2004-04-06 at 11:54, Uwe Ligges wrote:
zhu wang wrote:
Dear helpers,
I am trying to use the mda package downloaded from
it.
Please forgive me if I ignore something obvious.
Thanks,
Zhu Wang
Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
Phone: (214)768-2453
Fax: (214)768-4035
Email: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
Hello,
Does anybody have butterworth filter code in R?
Thanks,
--
Zhu Wang
Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
Phone: (214)768-2453
Fax: (214)768-4035
Email: [EMAIL PROTECTED]
__
[EMAIL PROTECTED
Sorry, it is my bad.
I mean genetic algorithm. It seems genoud {rgenoud} is the one I am
looking for.
On Thu, 2003-10-23 at 09:51, zhu wang wrote:
Dear all,
Is there any generic algorithm code for optimization implemented in R? I
searched without success.
Thanks,
--
Zhu Wang
at the help
file without success.
Thanks for any ideas.
--
Zhu Wang
Statistical Science Department
Southern Methodist University
Phone: (214)768-2453
Fax: (214)768-4035
Email: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https
in the book. But the figures of the book display the real
sampling time using the same codes. It seems there is no argument for
the time scale for 'cgt'. Is this a bug or my misunderstanding?
Hope somebody can help me.
Thanks,
Zhu Wang
Statistical Science Department
Southern Methodist University
are you fitting an AR model to a series with apparently no
correlation?
The data are from simulation. Thanks for pointing out to me no
correlation.
On 19 Jun 2003, zhu wang wrote:
Dear helpers,
When I use ar to fit the data with length 180, I have the following
error:
ar(x,method
Obviously I missed some points for using ar.
This is R 1.7.0 under Redhat Linux 9.0
Thanks in advance.
Zhu Wang
Statistical Science Department
Southern Methodist University
--
zhu wang [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https
.
On 9 Jun 2003, zhu wang wrote:
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
the package help:
data(sunspot)
(sunspot.ar - ar(sunspot.year))
# why not just sunspot.ar - ar(sunspot.year) ?
predict(sunspot.ar, n.ahead=25)
Thanks in advance.
Zhu Wang
Statistical Science Department
Southern Methodist University
(214)768-2453
--
zhu wang [EMAIL PROTECTED]
# time series
Thanks to Brian D. Ripley and Uwe Ligges. It works now.
Zhu Wang
Statistical Science Department
Southern Methodist University
3225 Daniel Avenue, Heroy 123
Dallas, TX 75275
Tel: (214)768-2453
Fax: (214)768-4035
-Original Message-
From: Uwe Ligges [mailto:[EMAIL
success. It works for other
libraries though.
Any suggestions? Thanks.
Zhu Wang
Statistical Science Department
Southern Methodist University
3225 Daniel Avenue, Heroy 123
Dallas, TX 75275
Tel: (214)768-2453
Fax: (214)768-4035
[[alternate HTML version deleted
25 matches
Mail list logo