[R] gfortran Makefile for cygwin

2005-09-28 Thread Joel Bremson
-L/sw/lib -L/usr/local/lib -o $@ $^ \ -L$(RLIB_LOC)/lib -lR ###EOF The -L lib dirs are not correct. On a *nix platform I would do something like this sh -x R CMD SHLIB ... to get at the R internal link information but I can't get that to work on Cygwin. Regards, Joel -- Joel Bremson

[R] S3 class question

2005-08-25 Thread Joel Bremson
the function, but only matSummary.spss(ret) will work. What am I doing wrong here? This seems like a simple problem yet I've been able to find nothing in the archives about this. Joel -- Joel Bremson Graduate Student Institute for Transportation Studies - UC Davis http://etrans.blogspot.com

[R] spss.read factor reversal

2005-07-26 Thread Joel Bremson
= sapply(m,function(x){ x + 2*(median(unique(m))-x)}) (m is composed of sequential integers starting at one) ,but it seems as though something wrong is happening with read.spss. Any ideas? Joel Bremson Graduate Student UC Davis [[alternative HTML version deleted

[R] mac osx, g95 package port problem

2005-06-22 Thread Joel Bremson
for all functions are present. How can I get R to see the symbols for the package? Regards, Joel Bremson Graduate Student UC Davis [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] segmentation fault - debugging

2005-06-05 Thread Joel Bremson
some more clues about what is going on, but no luck. I'm relatively new to fortran programming and have never used gdb before, although I'm familiar with other debuggers. Any tips on how to proceed from this point would be appreciated. Regards, Joel Bremson Statistics Graduate Student UC Davis

[R] using src/Makevars file

2005-05-19 Thread Joel Bremson
, irequest, ierror double precision beta(nxrows), xmat(nxrows,nxcols) integer i i = 0 c fortran 95 version forall (i = 1:nxrows) beta(i) = i * 2 ierror = 0 end Regards, Joel Bremson UC Davis [[alternative HTML version deleted]] __ R-help

[R] Fortran 95 in R ?

2005-05-18 Thread Joel Bremson
: _g95_filename Is there any way to deal with this? Is it somehow possible to reach the fortran 95 through C and avoid this whole problem? Regards, Joel Bremson UC Davis [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] simple addition in R, now fast easy!

2005-04-28 Thread Joel Bremson
code into R might be of use.) Joel Bremson [EMAIL PROTECTED] Statistics Graduate Student UC Davis [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] 3d scatter plot with drop line

2004-11-17 Thread Joel Bremson
This is a follow up to my question from yesterday. I want to do in R what is called a 3d scatter plot with drop lines in S-PLUS. Basically, it's a 3dscatterplot with lines connecting the x-y grid to the z points. The lines give a better perspective on the shape of the data surface. How to? Joel

[R] persp grid

2004-11-16 Thread Joel Bremson
I've got a 4x4 matrix of points from a 2-way ANOVA I'd like to plot. The x,y correspond to the treatment groups and look like this ((1,1),(1,2),(1,3),(1,4),(2,1),...). The z is the 4x4 matrix. How can I get persp to grid the x,y axis with only the numbers 1-4 on both? Regards, Joel Bremson UC

[R] why should you set the mode in a vector?

2004-10-29 Thread Joel Bremson
Hi all, If I write v = vector(mode=numeric,length=10) I'm still allowed to assign non-numerics to v. Furthermore, R figures out what kind of vector I've got anyway when I use the mode() function. So what is it that assigning a mode does? Joel __