Displaying 20 results from an estimated 100 matches similar to: "showing the image"
2008 Aug 11
6
number of an element in a matrix
Hi, I wonder if there is any function which gives the number of times which
an element is repeated in the matrix. Let say there is a matrix, I would
like to find out how many times number 2 has been repeated in the matrix, or
in other words, how many elements of the matrix are equal 2.
Thanks for your help,
Rostam
[[alternative HTML version deleted]]
2008 Aug 05
2
max size of a matrix
Hi R users,
I am trying to create a matrix, but R has problem with the size of dim,
wondering if there is anything that I can do?
> a <- diag(147456)
Error in array(0, c(n, p)) : 'dim' specifies too large an array
Thanks for your help
Rostam
[[alternative HTML version deleted]]
2008 Aug 01
1
creating image using RGB values
Hi R users,
I would like to create an image using three matrices which contain the
values of Red, Green, and Blue of each pixel, i.e. one matrix which has
values of red, one which has values of green, and one which has values of
blue.
The values are between 0 and 1 instead of 0-255.
I have obtained the matrices using the getChannels of pixmap library.
I wonder if anyone knows how to create the
2008 Aug 12
1
converting rgb() output to 0-255
Hi,
I have three matrices, Red, Green and Blue. I would like to produce a matrix
which is the combined values of Red, Green and Blue matrices.
I know rgb() does the job, but the values are not between 0-255, they are in
the following format:
"#2C312C"
I would like to have the values between 0-255.
I wonder if you could tell me what I can do...
Thanks for your help,
Rostam
2008 Nov 14
1
running r script in windows command line
Hi,
I would like to run a saved script in windows command line. Some command
which takes the filename as an argument, and runs it in R.
Thanks,
Rostam
[[alternative HTML version deleted]]
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2011 Jan 31
1
str() on raster objects fails for certain dimensions
Hi,
str() on raster objects fails for certain dimensions. For example:
> str(as.raster(0, nrow=1, ncol=100))
'raster' chr [1, 1:100] "#000000" "#000000" "#000000" "#000000" ...
> str(as.raster(0, nrow=1, ncol=101))
Error in `[.raster`(object, seq_len(max.len)) : subscript out of bounds
This seems to do with how str() and
1999 Sep 11
1
legend(): adjust space between symbol and tex
Hello,
I'd like to ask, how to adjust the space between symbol/line and text in a
legend. My legend() is build like that
legend(xmax-netzdiff/11, # shouldn't matter here
ifelse(ydiff>=0, #
ymin-6.5*(netzdiff/11), #
ymax-netzdiff/11), #
c("stehender Stamm","Windwurf",
2008 May 07
2
Solaris / OpenSolaris
I'm having some difficulties pxe booting Solaris. So far I have tried
the mboot.c32, and the pxegrub shipped with Solaris. At first I had some
problems with blksize, but this disapeared when I changed from atftpd to
tftpd-hpa. The point at which I'm stuck now is, the kernel and
x86.microroot/x86.miniroot is loaded but then VMWare crashes. I might
try with real hardware, but I thought
2009 Apr 14
1
OT - snom phone question
Sorry - this is a bit off topic, but there is almost certainly someone
here who will know the answer... Perhaps even a snom employee :)
In recent snom firmware releases, the following sequence always causes
a call to be sent from line 'n'
Receive call on Line 'n' (where n > 1)
Press Hold
Dial new call
The new call originates on Line 'n'
In older firmware
2009 Apr 14
2
What means? Correct auth, but based on stale nonce received
Hi masters!
I've this Asterisk 1.4.15 running. yesterday I had to change the
firewall schema that I had before.
I use to have a FW that would be my network FW/Proxy and do the NATs
for Asterisk. This FW was receiving too many requests from my LAN and
it was making the Asterisk 'cut' the calls or reach very high latency.
Yesterday I added a new FW just for this Asterisk. The same
2005 May 06
1
CAPI on ptp with variable length digits in phonenumber: SOLUTION for EICON
Hello!
I finally found a working solution.
calling
divactrl with the parameter -n [0..20] gives the DID-length
means, if you wanna have 123-XXX in digit-wise mode, then call
divactrl load -c 1 -n 3 -f ETSI
and the card will wait for n digits.
regards,
Sebastian
-----Urspr?ngliche Nachricht-----
Von: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]
2008 Aug 14
0
bmp
Hi R users,
I already had post this question under the title of bmp header, there was a
mistake in my post. The following is the same post without the mistake.
Thanks Rostam
I have a xml file. A value of one of the nodes of the xml file is a bmp
image encoded in base64. I would like to read this image by R. I think I
should do the following steps:
1. Decoding it from base64 to binary.
2.
2006 Jun 14
3
Trouble Configuring NUT with Gamatronic USB
Hi
I am running FC5 with nut coming from the fc5 extras repositories. I
am trying to configure a Gamatronic D-Compact ups. The cable that came
with the ups has a serial connector on one end and a usb on the other.
cat /proc/bus/usb/devices produces
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P:
2006 Dec 26
4
vectorizing an iterative process.
Hi Everyone,
I am stuck with a simple problem. Suppose I have a vector x, and I want
to calculate y[i]=3Dx[i+1]-x[i], it is very easy. I just need to write
y<-x[2:length(x)]-x[1:length(x)-1].
Now if I know y, and want to know the vector x defined by
x[i]=3Dx[i-1]+y[i-1] for all i, how can I do this without a loop?
Thanks,
Geoffrey
PS. Sorry if you see a duplicate message. The previous
2011 Feb 17
1
color.scale error
Dear all
when I call color.scale like this:
require('plotrix')
colcolor<-color.scale(c(range_sr,sr),extremes=c("red","blue"))
Error in if (min(reds) < 0 || max(reds) > 1) reds <- rescale(reds, c(0, :
missing value where TRUE/FALSE needed
range_sr
[1] -10.00000000000000 44.02977813958366
str(sr)
num [1:100, 1:100] 2.54 2.71 2.89 2.95 3.03 ...
2006 May 19
1
microarray-like graph
Hi, I am beginning to learn R and have a data table that I would like to
produce a microarray-like plot. The table looks like this:
3 0 0 3 -377.61 1.94
3 0 0 3 -444.80 2.36
2 1 0 3 -519.60 2.39
1 1 1 3 -54.88 2.49
2 1 1 4 -536.55 2.53
1 0 1 2 108.29 2.62
2 0 0 2 39.56 2.62
3 0 1 4 108.32 2.63
2 0 0 2 -455.23 2.84
1 0 0 1 -432.30 2.98
...
I would like to assign colors to the first three columns
2006 Aug 12
0
Software Upgrade, Read this message
2010 Feb 05
0
Sipgate.co.uk on Asterisk 1.6.2.2
Hi all,
I have been running Asterisk for years (CVS-HEAD on 2005-08-24) with no
problems save a failed harddrive. I have decided to build a new box and have
Asterisk 1.6.2.2 playing nicely with mISDN after lots of changes to dialplan
syntax etc. I am struggling with SIP trunks to sipgate.co.uk and
dualtalk.com. Does anyone have a working examples?
When I make an outgoing call I get...
[Feb 5
2020 Apr 22
0
Recommendations on intrusion prevention/detection?
On 2020-04-22 5:29 a.m., Johannes Rohr wrote:
> Dear all,
>
> what are the key strategies for intrusion prevention and detection with
> dovecot, apart from installing fail2ban?
> It is a pity that the IMAP protocol does not support 2 factor
> authentication, which seems to stop 90% of intrusion attempts in their
> tracks. Without it, if someone has obtained your password and