[R] jpeg, dev.off() inside function

2008-08-19 Thread marciarr
Dear all, I am trying to plot and save the plots. I have written a small function for that in which I use the jpeg and dev.off() commands. Strangely, when these commands are inside the function, they are not working anymore. For instance: dataframe- data.frame (x=c(1:20),y=seq(0,9.5, length=20))

[R] Start preferred RGui

2008-07-11 Thread marciarr
Dear R users, I have been having a problem since I installed the new versions of TinnR and R on my computer (1.19.4.7 and 2.6.0 respectively). I used to open R by the command start preferred RGUI, on the R tab of TinnR's menu. But now, since I updated both softwares (which was necessary for some

[R] R and Vista

2008-01-16 Thread marciarr
Hello R users, I have been using R for a while on xp and have just updated my system to vista. Have encountered some problems... First and main problem is that i cannot make R recognize my own written functions by coping them into the Rprofile.site on the etc folder. For some reason, this very

Re: [R] Rprofile.site not executed?

2008-01-16 Thread marciarr
I have exactly the same problem, just made the same question to the list 2 hours after you (your message was still not posted). Hope someone answers us! Fernando Saldanha wrote: It seems that my Rprofile.site file is not executed when I start R. To test this I included the following code

[R] simple problems

2007-12-06 Thread marciarr
Hello R users, I have been looking through Help files and Nabble list for the answers for these simple questions, but it seems to be fruitless. 1- in a data frame with two columns, x and y, how do I get the corresponding value of x to, let's say, the minimum value of the y column (min (data$y)) ?

Re: [R] main plot title

2007-11-29 Thread marciarr
(let's say Chl and A, with different data sets), I would like to obtain each time on the title of my plot for pgram(x), Raw periodogram of x or for pgram(A), Raw periodogram of A. Hope it is clearer now, Cheers, Marcia Rocha Rolf Turner-3 wrote: On 30/11/2007, at 3:53 PM, marciarr wrote: Hi

Re: [R] main plot title

2007-11-29 Thread marciarr
=', deparse(substitute(x my.plot(mydata) On Nov 29, 2007 9:05 PM, marciarr [EMAIL PROTECTED] wrote: Dear R users, I am having a problem with the main title of a plot. I have written a function returning a plot and I would like that the main title of this plot shows actually the name