[R] opinion poll: do you need interactive 3D histogram into a pdf?

2007-08-31 Thread Bruno C\.
Hy, Couple of month ago I asked if there was a way to export 3D plots in U3D format ( these format allows to include the 3D plot , even via latex, into pdfs so the reader of the pdf can turn the plot and examine it from any viewpoint). The answer is NO! Sorry, The answer WAS, NO I managed to

[R] Submatrices Extraction

2007-07-26 Thread Bruno C\.
Hello, Given a submatrix containing 0 or 1 I need to extract the indexes of all the diagonal submatrices so one of the two diagonals must contains only 1 for each submatrix ... Any help? Thanks in advance Bruno -- Scegli infostrada: ADSL

[R] Diagonal Submatrices Extraction

2007-07-26 Thread Bruno C\.
won't respond. The list is great But people don't want to spend time trying to figure out what you want. An example and possibly code is really helpful in getting responses. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno C. Sent: Thursday

[R] 3D plot and interactive PDFs

2007-07-11 Thread Bruno C\.
With version 8 of acrobat reader, it is now possible to have 3D in PDf documents. Does it exist already an R package who manage to produce 3D plots which can be saved as interactive 3D graphs in a PDF file? Best Regards Bruno Cavestro --

Re: [R] 3D plot and interactive PDFs

2007-07-11 Thread Bruno C\.
in order to convert them in VRLM :D This does not answer exactly to your question, anyway..: If you are planning to use latex, the package movie15 allows to include media files in your document (to be processed via pdflatex) vito Bruno C. wrote: With version 8 of acrobat reader

Re: [R] LASSO coefficients for a specific s

2007-06-12 Thread Bruno C\.
Hy, no need to find the best s value. CV does it for you: cvres-cv.lars(X,Y,K=10,type='lasso') sAtBest-cvres$fraction[which.min(cvres$cv)] fits - predict.lars(object, type=coefficients, s=sAtBest, mode=fraction) ... Ciao Bruno Hello, I have a question about the lars package. I am using this

Re: [R] Query about RODBC to access MySQL from Windows

2007-05-03 Thread Bruno C\.
First, try this kind of connection string channel - odbcConnect(mysqldsn,uname;Password=pwd;Database=default_db) If it doesn't work, in order to understand if it's a permission issue, try to connect with another client (still using the RODBC!!if you use the mysql client, you

[R] sequences extraction

2007-04-20 Thread Bruno C\.
Hello, I need to extract sequences from an ordered vector. For example, if a-c(1,2,3,6,10,11,13) I need to get the followings 4 vectors (1,2,3),(6),(10,11),(13) Thank You -Bruno -- Leggi GRATIS le tue mail con il telefonino i-modeĀ™ di Wind

Re: [R] RODBC connections w/o specific database

2007-04-16 Thread Bruno C\.
Hello, If it is not a problem for ODBC, you can use an SQL statemente to change the DB: use NAME_OF_DB Folks, I'm writing a gui wrapper around RODBC (having abandoned RMySQL) and some custom analysis scripts. I'm hoping that I could get some advice. All of my users will have access to a

[R] Duplicated non contiguous element in a list

2007-03-16 Thread Bruno C\.
Hello, Given a vector I would like to rapidly identify duplicated non contiguous elements. Given for example c(1,1,2, 3,2, 4, 5, 6,4) I would like to get: FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE In fact I need to check this on the columns of a matrix! I can do

Re: [R] Duplicated non contiguous element in a list

2007-03-16 Thread Bruno C\.
Many thanks for the fast reply of Leeds Here's all the anwer I got: Here's the winner: Patrick Burns with: * any(duplicated(rle(x)$values)) followed by: Peter McMahan: non.contig.dupes - function(x){ is.dup - x %in% x[duplicated(x)] is.con - c(x[-length(x)]==x[-1],F) | c(F,x[-length(x)]==x[-1])

[R] Duplicate rows of matrix

2007-03-09 Thread Bruno C\.
Hello my problem is the following: I have a matrix A and a vector B which contains as many rows as A. I need to build a matrix C which contains B[i]-times the row A[i,] and this for each line of A. if for example A is [1][2] [1] 8 9.4 [2] 4.21.1 and B is (3,1). Then C will

[R] Reformulated matrices dimensions limitation problem

2007-03-02 Thread Bruno C\.
First I wanted to thank both Marc Schwartz Greg Snow and for their reply. Then I needed to add a level of complexity to the problem. I would be able to create the biggest possible matrix. In other way does it exist a method to ask smthing like the following : max number of rows for a matrix if

Re: [R] Reformulated matrices dimensions limitation problem

2007-03-02 Thread Bruno C\.
not automaticaly mean you can do some computation with it. So the size will depend partly on what you want to do with it. I presume that you do not want only to create a matrix just for pleasure to be able to. Cheers Petr On 2 Mar 2007 at 10:15, Bruno C. wrote: Date sent:Fri

Re: [R] Reformulated matrices dimensions limitation problem

2007-03-02 Thread Bruno C\.
On 2 Mar 2007 at 13:12, Bruno C. wrote: Date sent:Fri, 2 Mar 2007 13:12:07 +0100 From: Bruno C. [EMAIL PROTECTED] To: petr.pikal [EMAIL PROTECTED] Copies to:r-help [EMAIL PROTECTED] Subject: Re: [R] Reformulated

[R] matrices dimensions limitation

2007-03-01 Thread Bruno C\.
Hello, I have several questions around matrices size limitation: can i create a matrix with 70 rows? does it depends on the number of columns? if so can Is there a way to ask to R, given the number of columns, the max number of rows I can have? I need in fact to do regression