Hi
This seems to work:
spdata$color <- ifelse(spdata$change < 0, "red", "green")
plot(spdata$date, log(spdata$close), col = spdata$color)
Regards
Mikkel
On Friday, October 11, 2013 5:14 PM, Mubar
wrote:
Hi
I have a question regarding plots in R. I have data from the S&P 500 in the
format:
d
On 10/11/2013 11:45 PM, Mubar wrote:
Hi
I have a question regarding plots in R. I have data from the S&P 500 in the
format:
date close change
1980-01-07 109.92 3.4
I plotted the data with plot(spdata$date, log(spdata$close), type="p")
Now I want to ad the colors green and red
Hi
I have a question regarding plots in R. I have data from the S&P 500 in the
format:
date close change
1980-01-07 109.92 3.4
I plotted the data with plot(spdata$date, log(spdata$close), type="p")
Now I want to ad the colors green and red to the data frame. if the change
is po
On Jun 4, 2010, at 3:26 PM, vaneet wrote:
>
> So just so I understand properly, if there are multiple users connecting to
> this remote linux machine in which I installed R and lets just say they all
> have Windows machines. To view plots they would all need to have an SSH
> client and an X ser
Thanks for explaining it in detail, that really helps.
--
View this message in context:
http://r.789695.n4.nabble.com/R-plotting-on-linux-regardless-of-architecture-of-local-machine-tp2243391p2243757.html
Sent from the R help mailing list archive at Nabble.com.
_
On 04-Jun-10 20:26:50, vaneet wrote:
> So just so I understand properly, if there are multiple users
> connecting to this remote linux machine in which I installed R
> and lets just say they all have Windows machines. To view plots
> they would all need to have an SSH client and an X server instal
vaneet wrote:
So just so I understand properly, if there are multiple users connecting to
this remote linux machine in which I installed R and lets just say they all
have Windows machines. To view plots they would all need to have an SSH
client and an X server installed on their local machine
So just so I understand properly, if there are multiple users connecting to
this remote linux machine in which I installed R and lets just say they all
have Windows machines. To view plots they would all need to have an SSH
client and an X server installed on their local machine to do this? You
On Jun 4, 2010, at 1:53 PM, vaneet wrote:
>
> I can try having an X server locally, but what are the other options? Isn't
> there anything that can be installed on Linux to be able to display graph
> windows in R without too much trouble? As I said I was looking for a
> solution to benefit many
I can try having an X server locally, but what are the other options? Isn't
there anything that can be installed on Linux to be able to display graph
windows in R without too much trouble? As I said I was looking for a
solution to benefit many users not just me as I can't assume or expect
everyo
Hi,
If one wants to see an X GUI from a remote application, there's no other
way than to run an X server locally (the easiest way to do that on
Windows is with Xming IMHO).
So if you don't want an X server locally, you should not use an X GUI. R
can of course also be installed on Windows, in
Hello,
I just installed R 2.11.0 on a 64 bit Linux machine:
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
I am still in the learning process in terms of handling Unix and have used R
on both windows and Unix before. I am wondering when running R in this
linux machine is there a way to
12 matches
Mail list logo