Displaying 20 results from an estimated 100000 matches similar to: "How do i make coloured text in terminal?"
2002 Dec 17
0
Coloured label, terminal branch and bars in dendograms
Dear R-help,
I have performed a hierarchical clustering on some data that I have and
would like to know some nice ways of visualizing it. I have 2 related
questions:
i) How to color the labels AND the terminal branch of a dendogram? This
is my inelegant way of just getting the colored labels.
data(iris) # Formatting data into required format
ir <- iris[ ,-5]
ir.class <- c(
2008 Aug 28
2
coloured letters in a text
Hi
does somebody know how to plot single letters in a text in different
colours?
example 1:
I would like to add the word "ABC" to a figure. Thereby each letter should
have a different colour.
text(x,y,"ABC", col=c(1,2,3)) # this does not work
example 2:
I would like to add the name of a parameter p with an index i to a figure.
The index i should be in red, whereas the
2004 Nov 05
1
I: a coloured band within each panel of a lattice bwplot
Hi all,
I would like to add to each panel of a bwplot a coloured central band,
centered on the mean of the values, being its width +- 2% of the mean
itself.
I know how to add lines, i.e. something like
bwplot(X ~ Y|FACTOR
data=my.df,
panel= function(x, y){
panel.bwplot(x, y)
panel.abline(v = mean(x, na.rm = T) - mean(x, na.rm = T) * 0.02
panel.abline(v =
2010 Feb 23
3
colour highlighting inputs and outputs in the R terminal?
Dear all
Is it possible to get basic colour highlighting for inputs and outputs
in the R terminal? I am looking for something similar to what GUIs
provide, such as JGR and (I think) the Windows R GUI: colouring all
inputs in red, and all outputs in blue. All this in a colour-aware
console (in my case, on Linux).
I've been looking into xterm256 and highlight, but I am sofar unable
to do with
2003 Jul 13
2
Coloured 3d surface
Hello,
I created a 3d surface (persp) with some points overlaid on it, which is
fine. Now I have a second set of z-values(x,y-values same as the first
surface), which I would like to make visible on the same graph, however,
not as a surface, but rather as coloured contour on the first surface,
so that the resulting graph will consist of the original surface having
the colour of the second
2012 Jan 07
2
colouring a table, data.frame or matrix in an interactive R session
Hi everybody,
as I am dealing with complex confusion matrices, I wonder whether there
might be a way to colour text/tabular data in R. I.e. imagine
highlighting the true positive values or certain classes in a table.
I know how to colour text in graphical output as well as how to sweave
or odfWeave coloured tables. But is there a way to do it directly in an
interactive R session?
Of course I
2008 Apr 30
2
How do i issue "msiexec /i msxml3.msi" in the terminal...
I found a way to install MS Office 2007 on ubuntu but the thing is i need to run something in the terminal. (Install msxml3.msi file from the Terminal window by issuing msiexec /i msxml3.msi)
I downloaded the msxml3.msi file and saved it to my desktop.
Now when i just put in "msiexec /i msxml3.msi" it gives me the following error (in the terminal):
gogga at gogga-laptop:~$ msiexec /i
2008 Mar 04
1
Plot with two different coloured regression lines and legend
It is a trivial problem, but in the book I couln`t figure out how to put
different colours at different regression lines
plot(bif,abund,type="n", xlab= "number_bifurcations", ylab="abundances")
sbif<-split(bif,stage)
sabund<-split(abund,stage)
points(sabund[[2]],sbif[[2]],pch=16, col="red")
for(i in 1:2) abline(lm(sabund[[i]]~sbif[[i]]))
Thanks in
2001 Mar 30
0
[newbie] terminal is black - no green text...
I am starting to use wine. I installed with the RPM from codeweavers, and
got through the setup and now have icons for it on my KDE...
...but when I try to start it (as user), the terminal is black and empty,
although I know that it must have written something.
My error log, wine.log.2Qleq2 says the following:
"/opt/wine/bin/wine.bin: could not load library 'opt/wine/bin/wine.bin.so'
2005 May 06
1
text based terminal program in CentOS 4
Greetings
It has been a long time and I cannot recall the name of any text based
terminal program(s) for a bash shell.
I need to look through serial port 1 on a remote server running CentOS 4.
A blanket...
rpm -qa | grep term
did not help...
can you folks please let me know what you use or recommend please?
Regards,
- rh
2008 May 29
9
Coloured output in rspec 1.1.4
Hello.
I have lost the coloured output in autotest after updating to rspec
v1.1.4
I was already using the edge version and was ok then, before the last
update.
Anyone knows something about this?
Thank you.
--
Posted via http://www.ruby-forum.com/.
2001 Jul 02
1
text.rpart: Unwanted NA labels on terminal nodes (PR#1009)
Brian
The following (which is new to rw1030) occurs with both
Windows 98 & Windows ME. I have not tested behaviour
under Unix or Linux, but I expect it is no different.
text.rpart() prints unwanted NAs (presumably in the
splitting criterion position) on terminal nodes.
Criterion <- factor(paste("Leaf", 1:5))
Node <- factor(1:5)
2008 Jun 12
1
how do I mock the Rails Logger with should_receive?
Hey Guys,
I''m trying to mock the Rails Logger for the following code:
...
rescue TimeoutError => error
$logger.error("#{self.name} Timeout for #{path}: #{error}") and return
rescue SocketError => error
$logger.error("#{self.name} SocketError for #{path}: #{error}") and
return
rescue StandardError => error
2007 Dec 05
1
screen + mutt terminal issues.
Hi all,
I'm trying to fix a display issue when using mutt inside a screen session.
This issue came to my attention when the following posts hit my mailbox:
10723 M?rio Gamito [CentOS] Another question Wed, Dec 05, 2007 ( 2.4K
10724 nate Re: [CentOS] Anyone using sendmail?
2008 Jan 30
2
How do I get logging with rspec?
Say I''m testing a controller with rspec, and I have logger.debug and
logger.error calls.
Normally I''d like them to write to the appropriate file, but in this
case I''d like to see the output on STDOUT.
Is there an easy way to redirect logging in rspec to do this?
I''m thinking that
controller.should_receive(:logger).and_return(logger)
should start it off,
2006 Apr 28
9
Global find and replace in RADRAILS. Can you do it?
It seems as though it cannot be done. Does anyone know how to do it?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2005 Jan 27
0
How do I make the MARK target terminate in Iptables?
Hi,
I would like setting the mark to be a terminating rule in Iptables.
Is there a patch or an argument/parameter that enables this behavior?
Or exactly which line do I need to modify in the source code?
I would massively prefer not to follow each mark rule with a second rule
with the same matching criterion that simply terminates - that''s too
untidy for what I''m trying to
2014 Apr 30
1
How can I have more than one console/terminal windows when connecting to lxc
Dear all,
I use virsh command to start a container and connect to it.
When I use virsh -c lxc:/// console mycontainer, I only have one console. I wonder how to open multiple terminal windows for the same container.
Thank you in advance
Cheng Wang
2017 Sep 01
0
patch: automatically adjust width option when terminal is resized
Accidentally dropped R-devel from this reply.
On Fri, 1 Sep 2017, luke-tierney at uiowa.edu wrote:
> On Fri, 1 Sep 2017, Ralf Goertz wrote:
>
>> Am Fri, 1 Sep 2017 07:20:58 -0500 (CDT)
>> schrieb luke-tierney at uiowa.edu:
>>
>>> On Fri, 1 Sep 2017, Ralf Goertz wrote:
>>>
>>>> Many good programs like vim adjust their internal width
2013 Jan 11
1
[LLVMdev] FileCheck + Ninja coloured output
On further thought, I assume this issue actually hits everyone - it's
not just Ninja getting in the way, but lit as well. (which also means
we'd probably need to fix both Ninja and lit to resolve this issue -
but everyone should at least be a little invested in fixing lit).
On Sun, Jan 6, 2013 at 12:18 AM, Sean Silva <silvas at purdue.edu> wrote:
> Nope. An easy solution (both