Re: [Rd] Why can't I "unclass" an array?

2012-12-21 Thread Martin Maechler
> Terry Therneau > on Fri, 21 Dec 2012 08:05:21 -0600 writes: > In a real example I was trying to remove the class from the result of table, just because > it was to be used as a building block for other things and a simple integer vector seemed > likely to be most eff

[Rd] Why can't I "unclass" an array?

2012-12-21 Thread Terry Therneau
In a real example I was trying to remove the class from the result of table, just because it was to be used as a building block for other things and a simple integer vector seemed likely to be most efficient. I'm puzzled as to why unclass doesn't work. > zed <- table(1:5) > class(zed) [1] "ta

[Rd] rJava is not working in Solaris through java

2012-12-21 Thread Praveen Kumar
Hi, we have installed R in solaris 10 sparc machine. After installing R we have installed rJava package and we did a sample test using R prompt it worked well. We have written sample Java class to calculate GLM and LM functions. When we execute the sample java class it returns null for both the fu