Displaying 20 results from an estimated 8000 matches similar to: "Bug in recording (Windows graphical device)"
2003 Feb 03
4
Overlaying a moving average curve on top of a barplot
I''m using standard barplot (Windows version 1.6.2 of R) to represent a certain weekly metric "v" and I would like to properly overlay on top of it its moving average "mean.8" (window of 8 weeks). I must be doing something wrong since the moving average (using "lines") doesn''t overlay properly, i.e., both x-scales do not match!
...
2002 Sep 23
3
Newbie: Subsets of data frame
I feel a bit embarassed by this, but I have not managed to find out how:
I have a data frame containing measurements over time for a number of
different locations:
> str(milk)
`data.frame': 845 obs. of 3 variables:
$ date : num 1987 1987 1987 1987 1987 ...
$ value : num 5 1 2 5 1 1 2 3 2 4 ...
$ location: Factor w/ 36 levels "Alta","And?y",..: 1 1 1 1 1 1
2003 Jan 31
2
Varying texts in expression(paste())
Hi,
I am using R a lot to make plots relating to radioactivity, I am often using
expression() to label the plots with nuclide names written with
superscripts, e.g.
expression(paste("Releases of ", { }^{99},Tc," (TBq/year)"))->ywtext
But, is there any simple way to change the number and name of the nuclide
through a variable? I tried
nuccode=expression({ }^{99},Tc)
2002 Sep 17
2
grid.legend - lines
I am testing out the grid-plots, but get into a problem making a legend. I
have a line plot and some points, following the model in
grid.plot.and.legend() i manage to get the points correctly in the legend,
but what do I do with the line? (Of cource, I can just draw a line at the
right location on the plot, but I would prefer to use legend)
Morten
--
Morten Sickel
Norwegian Radiation
2004 Nov 20
1
Error with strwidth after lattice graphic drawn
In
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 2
minor 0.1
year 2004
month 11
day 15
language R
I'm getting an error when using strwidth after a lattice graphic is drawn:
library(lattice)
xyplot(runif(20) ~ runif(20))
strwidth('xxx')
Error in strwidth("xxx") : invalid graphics state
Any help
2007 Mar 15
0
[e1071] predict.svm bug ?
Hi all,
I'm using SVM to classify data (2 classes) and I get strange results :
> model = svm(x, y, probability = TRUE)
> pred = predict(model, x, decision.values = TRUE, probability = FALSE)
> table(pred,y)
y
pred ctl nuc
ctl 82 3
nuc 5 84
> pred
1 2 3 4 5 6 7 8 ....
nuc nuc nuc nuc nuc nuc nuc ctl ....
And now, with probabities computation :
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543,
height=11.69291) but strwidth() and strheight() give wrong results.
> x11(width=42/2.54, height=29.7/2.54, pointsize=12)
> plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="",
axes=FALSE)
> strwidth("Whatever")
[1] 0.08471151
> # Now resize the window and
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543,
height=11.69291) but strwidth() and strheight() give wrong results.
> x11(width=42/2.54, height=29.7/2.54, pointsize=12)
> plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="",
axes=FALSE)
> strwidth("Whatever")
[1] 0.08471151
> # Now resize the window and
2009 Jan 05
1
strwidth to lines
Dear members,
Is there a way to turn a strwidth of a string into a number of lines
that ist needed to display the string when using par(mar = c(?,4,4,2))
####
x = 1:5
names(x) = c("ZZZZZ","ZZZZZzzzzz","ZZZlllll","TTTTT","Zzhtsddfg" )
par(mfrow = c(1,2))
par(mar = c(8,4,4,2))
barplot(x, las = 3, main = "8 is to much")
par(mar =
2000 Nov 09
1
RE: [R] Graphics-Device-Size vs. Window-Size
Hi Paul,
thank you for responding. I indeed overlooked, that units="inch" gives
stable results, independent of resizing the graphics window on the screen.
And indeed I would find some way fiddling around to get my graphic done.
However I see a general problem here and I would like a general solution:
Obviously we are dealing with two coordinate systems: the graphics device
size (call
2002 Dec 13
2
A beginner's problems with plotting
Hi,
How would I go about plotting all 8 columns of a data.frame on a simple line
graph. i.e. eight lines and sets of points, differentiated by line pattern or
colour)?
An what further arguments would I need to invoke a log scale on the y-axis of
that same plot (normal x-axis)?
Cheers, Jeremy
2010 Apr 15
2
graphic question
Hello,
I have a simple question that I could not really figure out. I am plotting labels within a graph using the text function. I first plot the first label by specifying the x and y coordinates on the graph. Then to plot the second label next to it, I am using te strwidth function to get the width of the previous label in user coordinate then add the maximum width to the x value. However, this
2020 Sep 24
2
cifsacl not working
On 9/24/20 11:51 AM, Aur?lien Aptel wrote:
> The request-keys config looks right.
>
> You can check if winbind is properly configured trying to map with the
> winbind CLI client called wbinfo. For example:
>
> # wbinfo -i NUC\\administrator
> NUC\administrator:*:20501:20514::/home/NUC/administrator:/bin/bash
> ^^^^^ ^^^^^
> uid
2017 Mar 16
0
PXE vmlinuz kernel doesn't recognize memory in Intel NUC?
On 03/15/2017 06:08 PM, Locane wrote:
> Hello all! I'm hoping someone can help. I'm having 2 issues; first:
>
> When trying to load a CentOS LiveCD via PXE on an Intel NUC (NUC6CAY), I
> get:
> "Not enough memory to load specified image". The image is 1.1 gigs, and
> there is 16 gigs of memory in the NUC.
>
> To combat this, I found this forum post
>
2017 Mar 17
0
PXE vmlinuz kernel doesn't recognize memory in Intel NUC?
On 3/15/2017 6:08 PM, Locane wrote:
> Hello all! I'm hoping someone can help. I'm having 2 issues; first:
>
> When trying to load a CentOS LiveCD via PXE on an Intel NUC (NUC6CAY), I
> get:
> "Not enough memory to load specified image". The image is 1.1 gigs, and
> there is 16 gigs of memory in the NUC.
that NUC uses a Celeron J3455 "Apollo Lake"
1999 Sep 02
1
trouble with the 'exclude' parameter of factor() (PR#265)
Full_Name: Laurent Gautier
Version: 0.65.0
OS: Irix 6.5
Submission from: (NULL) (195.110.4.98)
the following doesn't give what I expect
> test _ factor(ORGMORE[[1]],exclude=c(NA,"NOM"))
Warning message:
NAs introduced by coercion
> levels(test)
[1] "CYT" "EXC" "MEM" "NOM" "NUC" "SEC"
while this works...
>
2017 Mar 16
4
PXE vmlinuz kernel doesn't recognize memory in Intel NUC?
Hello all! I'm hoping someone can help. I'm having 2 issues; first:
When trying to load a CentOS LiveCD via PXE on an Intel NUC (NUC6CAY), I
get:
"Not enough memory to load specified image". The image is 1.1 gigs, and
there is 16 gigs of memory in the NUC.
To combat this, I found this forum post
<https://www.centos.org/forums/viewtopic.php?t=1398> which suggested using
2015 Jan 08
0
Intel NUC? Any experience
On 08/01/15 02:32 PM, david wrote:
> Folks
>
> The price point of Intel's NUC unit makes it attractive to use as a
> server that doesn't have significant computational load. In my
> environment, a USB connected hard-drive could provide all the storage
> needed. I wonder if anyone has had experience with it, and can answer:
>
> 1) Does Centos6 and/or Centos7
2020 Sep 24
2
cifsacl not working
On 9/24/20 12:10 PM, Rowland penny via samba wrote:
> On 24/09/2020 16:58, Ken Bass via samba wrote:
>> On 9/24/20 11:51 AM, Aur?lien Aptel wrote:
>>> The request-keys config looks right.
>>>
>>> You can check if winbind is properly configured trying to map with the
>>> winbind CLI client called wbinfo. For example:
>>>
>>> # wbinfo -i
2007 May 31
3
Venn diagram
Hello,
I am a total beginner with ?R? and found a package ?venn? to
create a venn diagram.
The problem is, I cannot create the vectors required for the diagram.
The manual say:
"R> venn(accession, libname, main = "All samples")
where accession was a vector containing the codes identifying
the RNA sequences, and libname was a vector containing the codes
identifying the