[R] 'Split' character

2007-11-24 Thread pomchip
Dear R-users, The following code splits a very simple dataframe into a list, each element of the list being one line of the dataframe. You will see that the split function names each element of the list by using uses the content of a and b and merging them with a "." character. Is there a way to

Re: [R] 'Split' character

2007-11-25 Thread pomchip
Thanks Jim and Herinque for you reply. The substitution you are both proposing works fine, except when a or b contains decimal numbers (which is mostly my case in a real dataset). In this case, there is no distinction between the decimal point and the one introduced by the split function. If the

[R] Simulations using differential equations

2008-10-13 Thread pomchip
Dear R-users, I am trying to perform some simulations from a model defined by ordinary differential equations. I would be grateful if someone could indicate some functions/packages/examples I could look at. Thank you in advance. Sebastien __ R-help@r

[R] Strplit code

2008-12-03 Thread pomchip
Dear R-users, The strsplit function does not exist in S-plus and I would like to use it. How could I reproduce the function in Splus or access to its source code? Thank you in advance, Sebastien __ R-help@r-project.org mailing list https://stat.ethz.

[R] Scan a folder for a given type of files

2008-12-08 Thread pomchip
Dear R-users, I have found on the list several posts addressing the issue of getting data for a list of defined files. However, I found nothing about scanning a given folder and retrieving the list of, let's say, .txt files (I probably used the wrong keywords). Could someone tell me which posts

[R] Transparency and trellis device

2009-08-01 Thread pomchip
Dear R-users, I am trying to produce trellis (png, or jpeg) graphs with transparent background, but I cannot manage to make that happen. I tried to play around with themes but to no avail. Any advise on the following example will be greatly appreciated: Thank you Sebastien library(latti

Re: [R] Transparency and trellis device

2009-08-05 Thread pomchip
Just replying to bring back some attention on my post, which might have slept through on Saturday. Thank you for your help. - Mail Original - De: pomc...@free.fr À: r-h...@stat.math.ethz.ch Envoyé: Samedi 1 Août 2009 15h48:24 GMT -05:00 USA/Canada - États de l'Est Objet: Transparency an

Re: [R] Transparency and trellis device

2009-08-05 Thread pomchip
Hi Deepayan, Thank for you reply. I am a little bit confused now. In the one hand, the trellis.device function has lost his bg argument as explained in the Note section of ?trellis.device, but the background info provided by a theme does not seem to impact the background of the device. In the o

Re: [R] Transparency and trellis device

2009-08-05 Thread pomchip
One thing that I did not mention is that my themes contain additional settings (like margin definitions). By looking at the code of trellis.device, it look like the operation of this function can be simplified a device opening followed by a trellis.par.set call. Am I correct? If so, I think I co