Displaying 4 results from an estimated 4 matches for "fisler".
Did you mean:
filer
2005 Jan 06
1
Using the Rprofile file to automatically plot data on Sta rtup of R version 2.0.1.
...ion or action taken is prohibited. SARDI, The
South Australian Research and Development Institute, is the research
division of Primary Industries and Resources (SA)
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of John Fisler
Sent: Thursday, 6 January 2005 09:21
To: r-help at lists.R-project.org; John Fisler
Subject: [R] Using the Rprofile file to automatically plot data on
Startup of R version 2.0.1.
Dear R Help Members,
I have some R functions that plot semiconductor data. I would like to
automate these plots for...
2004 Oct 19
2
Changing the Y graph scale Maximum value.
...o change the maximum Y scale to 6 as in
the following code segment, I get the following error:
plot(0:10, 0:6, type = "n" )# setting up coord. system
Error in xy.coords(x, y, xlabel, ylabel, log) :
x and y lengths differ
How do I change the maximum Y scale to 6?
Thanks,
John Fisler
______________________________________________
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-guide.html
[[alternative HTML version deleted]]
2005 Jan 05
1
Using the Rprofile file to automatically plot data on Startup of R version 2.0.1.
...39;plot(x,y)' into the R Console Window
the scatter plot appears in the R Graphics Device window as expected.
I have also tried putting the above code in a 'R' script file and using
the source command but I get the same error message.
Any help would be appreciated.
Thank you.
John Fisler
2005 Jan 06
0
Rprofile file to automatically plot data, tried using the .First command.
No. You put the _whole_ thing into .First(), not just the plot statement.
One possibility is to have the code in a script file (say myscript.R) and
define .First as follows:
.First <- function() source("myscript.R")
Haven't try it myself, though.
Andy
> From: John Fisler
>
> Dear Dr. Andreas Kiermeier and the R help Community,
>
> Thank you for your idea on putting the plot command in a
> .First statement.
>
> I tried putting the plot comamnd in a '.First' statement like
> the following:
>
> x <- c(1,2,3,4,5)
> y &l...