Displaying 20 results from an estimated 600 matches similar to: "Plotting multiple vectors in one window?"
2010 Sep 07
5
Module availability, loading order
Hi,
I have create the following module:
modules/foo
`-- manifests
|-- definitions
| `-- line.pp
`-- init.pp
$ cat modules/foo/manifests/init.pp
import "definitions/*.pp"
$ cat modules/foo/manifests/definitions/line.pp
define myline($file, $line, $ensure = ''present'') {
....
}
I try to use the definition in a class:
class testfile {
file {
2009 Apr 12
1
looking for one-liner for strsplit and regex
Hi,
I have a line such as:
myline <- " 0.100000 1.5000 0.6000 538
0.369404"
and I would like to put the numbers into a vector. Some combination of
tabs and spaces occur between the numbers.
I tried:
try1 <- strsplit(myline,"[[:blank:]]+")
> try1
[[1]]
[1] "" "0.100000" "1.5000"
2013 Nov 05
1
How to enable T.38 between SPA3102 PSTN Line port and ReceiveFAX app ?
Hello,
I've got an analog phone which is currently receiving unsollicited FAX
calls from PSTN.
For learning purpose, I'm preparing an Asterisk/SPA3102 setup that would
let voice calls come in and out and translate incoming FAX calls to TIF
files (forwarded through email)).
My target setup is :
PSTN <-- analog--> SPA3102 Line Port <-- SIP --> Asterisk <-- SIP -->
2010 Feb 05
13
[PATCH 01/14] hivexsh: Document some peculiarities of the "cd" command.
---
hivex/hivexsh.pod | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/hivex/hivexsh.pod b/hivex/hivexsh.pod
index 277e3ae..9336798 100644
--- a/hivex/hivexsh.pod
+++ b/hivex/hivexsh.pod
@@ -100,7 +100,14 @@ or even:
Path elements (node names) are matched case insensitively, and
characters like space, C<*>, and C<?> have I<no> special
2005 Jul 25
2
alaska map?
Hello,
I've installed the Becker and Wilks maps, mapdata, and mapproj packages
so I can begin to try these out for some work I need to do on a map of
Alaska but I don't know where to find a map of Alaska. Has anyone solved
this already and could help?
Thanks very much in advance,
Caitlin
2011 May 03
2
Constructing a histogram with words as labels as height as frequency?
Hi all.
I need to construct a plot showing words on the x-axis and how many times
each word was given as a verbal response on the y-axis as solid bar
(frequency). Is there a convenient function to do this in R? I considered
hist(), but I'm not sure how to construct the text file. Example:
apple, 2
pear, 14
house, 1
beach, 5
computer, 15
Thanks,
~Caitlin
[[alternative HTML version
2016 Apr 05
2
a few questions about OpenGL and nouveau
Hi... I know... glBegin/glEnd is deprecated but I have an old computer
32bit CPU,
running fedora 19, mesa-9.2.4, NV63... any help are welcomed.
Please forgive if I misuderstood everything.
So I have a simple OpenGL program that draws a black background and a white
line... I will write the code of myline() inside of main() so as I can
learn.
main (..) {
X and glX stuff...
/* at this moment I
2011 Aug 08
2
Creating a scatterplot with sequential dates on x-axis?
Hi all.
I need to plot 30 values and I'd like the x-axis to have 30 dates values,
e.g., 5/1/2011, 5/2/2011, etc. so an observer could see how the values
correspond as the month progresses.
Is there a convenient function I could use? I considered creating two
vectors, x and y, then simply plotting those.
Thanks,
~Caitlin
[[alternative HTML version deleted]]
2012 Mar 30
2
Problem loading package 'JGR' using R-2.15.0 (Win32).
Hi all.
Upon attempting to load the 'JGR' package, on a Win32 machine (SP3), a
pop-up message appeared stating that R had encountered a problem and needs
to close. Has anyone else encountered this?
Thanks.
~Caitlin
[[alternative HTML version deleted]]
2011 Mar 18
1
Help with setting the y-axis in a plot.
Hi all.
I'm working on an assignment for a psychology class and I am not sure how to
adjust the y-axis so it displays the range: 0, 5, 10, 15
The code below is almost ideal:
lsd = c(3, 5, 13)
mar = c(1, 2, 3)
g_range <- range(0, lsd, mar)
plot(lsd, type="o", col="blue", ylim=g_range,
axes=FALSE, ann=FALSE)
axis(1, at=1:3,
2015 Aug 19
3
[RFC] Improving integer divide optimization (related to D12082)
Hello LLVM, A recent commit creates the isIntDivCheap() target query.
http://reviews.llvm.org/D12082
The current approach has a couple shortcomings.
First, when targets decide divide is cheap, the DAGCombiner ignores
obvious power-of-2 optimizations. In the targets I know, shifts are
cheaper than divides in both speed and size. The target cannot see
the value in the isIntDivCheap() call, so
2010 Apr 27
1
Unable to connect to 'cran.r-project.org' on port 80.
Hi.
I recently upgraded my R installation to 2.11.0 on Windows XP (SP3) without
changing any firewall settings. When I attempted to update my package list,
the 'Select a mirror' took much longer than it normally did, and after I
finally selected the site, I saw:
--- Please select a CRAN mirror for use in this session ---
Warning message:
In open.connection(con, "r") :
unable to
2015 Oct 25
2
Isohybrid wiki page and UEFI
Thomas Schmitt via Syslinux said on Sat, Oct 24, 2015 at 12:56:49AM +0200:
>Needed is a EFI FAT image > 32 MiB and a new xorriso (available
>on demand).
My test script on RHEL 7.1 creates that even if I could make it smaller
as the kernel + initrd fits in less than 32 MB. So let me make that try
first !
o I changed myline in the script to dd a 30 MB image file, burt the ISO
with it, and
1999 Jan 14
2
Compiling R under Solaris
I am trying to compile R for Solaris 2.6 and am having problems. I
understand from the INSTALL file that I am not the first to struggle
with this and that the problem probably relates to the version of make
(or gmake) that I have. Unfortunately, I don't know a) how to check
which version I have or b) where to find other versions.
Can anyone help?
Many thanks
Caitlin Buck
Lecturer in
2010 Jul 07
2
R2 function from PLS to use a model on test data
Hello,
I am having some trouble using a model I created from plsr (of train) to
analyze each invididual R^2 of the 10 components against the test data. For
example:
mice1 <- plsr(response ~factors, ncomp=10 data=MiceTrain)
R2(mice1) ##this provides the correct R2 for the Train data for 10
components
## Now my next objective is to calculate my model's R2 for each component on
the
2006 Jul 10
2
Setting the colors of lines in a trellis plot...
With some help from those with expertise on this list, I managed to
produce a plot using trellis that looked like I wanted it to look.
Now, I need to take the same plot and make the lines on it color, but
I want to specify the color for the lines myself.
I've managed to make the key use the colors I want. I've managed to
make the symbols of the actual plot use the colors I want. But I
2013 Jun 25
2
Re: [PATCH] Add read support for "big data" blocks to hivex
* Richard W.M. Jones:
> diff --git a/lib/hivex.c b/lib/hivex.c
> index e3c1e05..9351ac5 100644
> --- a/lib/hivex.c
> +++ b/lib/hivex.c
> @@ -1471,7 +1471,7 @@ hivex_value_value (hive_h *h, hive_value_h value,
> if (h->msglvl >= 2)
> fprintf (stderr, "hivex_value_value: warning: big data block is not "
> "valid
2023 Nov 18
1
combine barchart and xyplot in lattice
In below graph, I would like to add two vertical lines using
panel.abline(). ?Is this possible?
Thanks,
Naresh
mydf <- data.frame(hour = rep(6:20, 2),
traffic = c(round(dnorm(6:20, 9, 3) * 10000), round(dnorm(6:20, 17, 4) *
10000)),
direction = rep(c("inbound", "outbound"), c(15, 15)))
vehicles <- data.frame(hour = 6:20,
count = c(100, 120, 140, 125, 105, 80, 70, 75,
2012 Jun 28
6
How can I make a list using aggregate function?
Hi friends,
I need to generate a list, that should contain the quantile value of one
column in a data frame. while I am compiling this one i am facing one bug,,
Really I cannot find out that where the problem has occurred? Could any one
help me to come out from this bug??
Here is the code,
data <- lapply(comb.data$zFE, function(x) aggregate(x,
2005 Mar 05
2
maptools, filename writing shapefiles
Hi,
I meet a strange trouble writing shapefiles with write.pointShape() from
maptools.
> write.pointShape(mylines[,5:9], file="Sxtplinshp", mycoordspt)
Error in write.pointShape(mylines[, 5:9], file = "Sxtplinshp", mycoordspt) :
shapefile names must conform to the 8.3 format
It seems that the function request a special shapefile name spelling
(conformed to 8.3