Re: [R] Help! What does this R command mean?

2006-01-31 Thread Ionut Florescu
] [1,]47 [2,]58 [3,]69 you see that -1 eliminates the first column. I found the R manual useless myself. The only thing useful is the search function in the html help. That has examples. Ionut Florescu Michael wrote: Hi all, R is so difficult. I am so desperate. What

[R] Integer bit size and the modulus operator

2006-01-30 Thread Ionut Florescu
of integers in cryptography). Thank you, any help would be greatly appreciated. Ionut Florescu __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] Integer bit size and the modulus operator

2006-01-30 Thread Ionut Florescu
Z_p. If you try this function for p = 41 and x various increasing values eventually it will crash R. That is what I meant by random, at first I started x=2,3 so on, when I got to 8, R crashed. Now apparently I can get to 15. When I tried again I got to 20. Ionut Florescu Duncan Murdoch wrote

Re: [R] Integer bit size and the modulus operator

2006-01-30 Thread Ionut Florescu
1.4411518807585588e+17 1.1529215046068471e+18 On 1/30/06, *Ionut Florescu* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am a statistician and I come up to an interesting problem in cryptography. I would like to use R since there are some statistical procedures that I

Re: [R] how to get the row name?

2006-01-30 Thread Ionut Florescu
I don't know about rownames but x = 0 gives you a vector of logical values True and false. If then you do c(1:length(x)) [x=0] this gives the positions where the true happened, meaning your vector of values. Chuck Cleland wrote: rownames(subset(mydata, X =0)) ?rownames Leaf Sun wrote:

Re: [R] Integer bit size and the modulus operator

2006-01-30 Thread Ionut Florescu
Actually it does that in my 2.2.1 version as well: options(digits=20) 8^(1:20) [1] 8.e+00 6.4004e+01 5.1201e+02 [4] 4.0961e+03 3.27680002e+04 2.62144002e+05 [7] 2.09715199e+06 1.67772159e+07