Displaying 8 results from an estimated 8 matches for "test_2".
Did you mean:
test2
2010 Oct 19
2
separate elements of a character vector
Dear colleagues, this seems like an easy problem, and I found some suggestions which I've incorporated in the help list, but I can't quite get it right.
I want to add a series of years to a second x-axis category label. I generate them with test and test_2 below, format them with some spacing (which is the suggestion I took from the R-list) and concatenate them and then write them with mtext. At the end, the labels in test are bunched up together in the center of the plot window. Can anyone suggest a way to space out the elements of "test"...
2009 Oct 25
4
Multiple line commands in R scripting
...cter to let R know to expect more
input for a command on subsequent lines. Here is an example:
test_1.R:
x <- c(1,2,3,4)
/ c(1,2,3,4)
x
R CMD BATCh test_1.R produces test_1.Rout:
> x <- c(1,2,3,4)
> / c(1,2,3,4)
Error: unexpected '/' in " /"
Execution halted
test_2.R:
x <- c(1,2,3,4) /
c(1,2,3,4)
x
R CMD BATCh test_1.R produces test_2.Rout:
> x <- c(1,2,3,4) /
+ c(1,2,3,4)
> x
[1] 1 1 1 1
test_2.R works as expected but test_1.R fails because the "/" operator is at
the start of line 2 not the end of line 1.
Is the some kind of co...
2007 Nov 06
1
User keywords limit to 26
...the keywords limit ?
Or perhaps the new dbox storage format can fix that ?
By the way, the comportement of Dovecot when we try to add a new flag
while the limit is exceeded is strange :
(C: is client and S: Dovecot)
The store of the flags is ok :
C: RUBY0094 UID STORE 89 +FLAGS (test_0 test_1 test_2 test_3 test_4
test_5 test_6 test_7 test_8 test_9 test_10 test_11 test_12 test_13
test_14 test_15 test_16 test_17 test_18 test_19 test_20 test_21
test_22 test_23 test_24 test_25 test_26)
S: * 81 FETCH (UID 89 FLAGS (\Seen test_1 test_2 test_3 test_4 test_5
test_6 test_7 test_8 test_9 test_10...
2010 Jun 30
2
plain text in Chinese can not be set
...9;hello' in Chinese", font = 0) ## normal
dev.off()
pdf("test_1.pdf", fonts = c("GB1"))
plot(1:10)
text(5,4, "\u4F60\u597D", family="GB1", font = 1) ## bold
text(5,5, "is 'hello' in Chinese", font = 1) # normal
dev.off()
pdf("test_2.pdf", fonts = c("GB1"))
plot(1:10)
text(5,4, "\u4F60\u597D", family="GB1", font = 2) ## italic
text(5,5, "is 'hello' in Chinese", font = 2) # bold
dev.off()
pdf("test_3.pdf", fonts = c("GB1"))
plot(1:10)
text(5,4, "\u4F6...
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action
2007 Jun 05
1
multiple plot in odfWeave
...spread.labels(df$longitude,df$latitude,df$orgashort,0,bg="#CCFFFF",
border=TRUE, cex=0.8, xpad=0.5, ypad=0.8, font=6)
}
@
Then in the R console:
>library (odfWeave)
>inFile <- "/home/lamilhat/AQUAGENOME/PRESENTATION/RAPPORTS/test_2.odt"
>outFile <-
"/home/lamilhat/AQUAGENOME/PRESENTATION/RAPPORTS/test_2_out.odt"
>imageDefs <- getImageDefs()
>imageDefs$dispWidth <- 7
>imageDefs$dispHeight <- 6
>setImageDefs(imageDefs)
>odfWeave(inFile, outFile)
--
================...
2007 Nov 06
1
UTF-8 in dovecot-sieve ?
...with sieve plugin)
Here is my .dovecot.sieve file :
----------
require ["fileinto", "imapflags"];
if allof(header :contains "subject" "filtre") {
addflag "test_1";
}
if allof(header :contains "subject" "l?") {
addflag "test_2";
}
if allof(header :comparator "i;ascii-casemap" :contains "subject"
"h?") {
addflag "test_3";
}
----------
Only the first of the three rules do work.
When I try to match a subject string with accent encoded in ISO-8859
like "h?l?" :...
2011 Nov 21
5
R ignores number only with a nine under 10000
Hello R users,
I'm trying to replace numerical values in a datamatrix with strings. R does
this except for numbers under 10000 starting with a 9 (eg 98, 970, 9504
etc). This is really weird and I wondered whether someone had encountered
such a problem or knows the solution. I'm using the next script:
test_1 <- read.table("5+ref_151111clusters3.csv", header = TRUE, sep =