[R] Vector and String

2004-10-22 Thread pbrouilly
Hi everybody, I'm using a vector to strore some strings. I create a vector named seq2 : seq2-vector(length=0) I have a string named b b [1] CATGGTAGGAATAC I put b in the vector seq2-c(seq2,b) Finally I edit seq2 seq2 [1] 14760 My question is why I obtained a number (14760) when I add a

[R] Interface between R and Perl

2004-09-30 Thread pbrouilly
Hi, I have made a GUI in PerlTk and I would use R within perl. I actually try to install RSPerl but I have some problems during the compilation In order to call R from perl I use actually an other system based on the OPEN command in perl. It works fine but when I tried to call the fonction

[R] replacing values in vector

2004-09-28 Thread pbrouilly
Hi everybody !! I have a vector named v1 with a lot of values from 0 to 10. Is there a solution to replace all 0 by 1 ?? I have tried with a 'FOR' loop... Thank you very much __ [EMAIL PROTECTED] mailing list

[R]

2004-09-22 Thread pbrouilly
Dear Any, Is there a fonction in R to change a string to uppercase ? Thanks for all your help __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] R and perl on solaris

2004-09-13 Thread pbrouilly
Dear all, I am developing a GUI in perl-Tk and I would use R engine to make some analysis and some plots. I have seen that the package RSPerl allows R from perl exchanges but this package is developed on and for intel based computers. When I try to install the package on solaris I have some