Displaying 20 results from an estimated 600 matches similar to: "question about output of files copied/deleted"
2008 May 05
7
extract and assign xml values to variable
hi,
how can we assign an xml element value to some variable in
controller? e.g. if we have
<order>
<id>1</id>
<name>abc</name>
<location>xyz</location>
</order>
and if we want value of name i.e. ''abc'' to be assigned in a variable
declared in a controller, say order_controller, like this- temp = "value
of xml element
2007 Sep 24
3
CallerID problem Asterisk 1.4.2
When receiving inbound calls from a Vonage Softphone extension, I'm unable
to view/maniupulate calledid data. but it shows up in the CDR records and on
called handsets.. any ideas?
exten => asda,n,NoOp(callerID is ${CALLERID})
exten => asda,n,NoOp(CallerID is ${CALLERIDNAME})
exten => asda,n,NoOp(CallerID is ${CALLERIDNUM})
-- Executing [asd at pstn-in:2]
2010 Aug 20
2
Determining the length of unique items in a vector
Dear all, let suppose I have following vector:
> dat1 <- c(rep("asd", 5), rep("xyz", 12), rep("erd", 17))
> dat1 <- dat1[sample(1:length(dat1), length(dat1), replace=F)]
> dat1
[1] "erd" "xyz" "erd" "asd" "asd" "erd" "xyz" "asd" "erd" "erd"
2011 Jan 10
1
Using combn
Dear list,
I want to apply the "table" function to every pair of variables in df
and the return should be a list.
setwd(123)
asd <- data.frame(a1=sample(1:4, 20, replace=TRUE),
a2=sample(1:4, 20, replace=TRUE),
a3=sample(1:4, 20, replace=TRUE),
a4=sample(1:4, 20, replace=TRUE))
with(asd, table(a1, a2))
with(asd, table(a1,
2004 Mar 09
1
More factor names in x axis, how?
I have some data which records, amongst other things,
age (recoded by me to be in months), and
drug group (a factor).
The drug group is a 2 digit number,
but there is no numeric relationship, and only 50 of the possible
groups occur
So
> asd <- read.table("asd.dat", header=TRUE)
> asd$group <- as.factor(asd$group)
> plot(age ~ group, data=asd)
gives me a series of
2009 Oct 29
1
Question about is.na for missing data
Greetings,
I am trying to a simple mean imputation using the following command
(yes, I know it is not an ideal way to impute missing data)
asd[is.na(asd)] <- mean(asd,na.rm=TRUE)
This has worked quite well in the past. Now, however, I am getting the
following error messsage.
Error in `[<-.data.frame`(`*tmp*`, is.na(asd), value =
c(2433.64150943396, :
rhs is the wrong length for
2012 Dec 26
3
Working with date
Hi,
Let say I have a date variable:
> ?asd <- as.Date("2012-01-03")
> asd
[1] "2012-01-03"
Now, I want to express this date like 3/1/2012.
can somebody help me how to achieve that?
Thanks,
2012 Mar 22
3
[LLVMdev] SPEC CPU2006 bitcode files
Hello,
I'm trying to generate bitcode files from the SPEC CPU2006 benchmark suites.
First I installed the benchmarks into ~/llvm/projects/test-suite/External/speccpu2006 and then I tried
~/mysandbox/bin/lnt runtest nt --sandbox=sandbox --cc=/Users/asd/llvm/Release/bin/clang --test-suite=/Users/asd/llvm/projects/test-suite --test-externals=/Users/asd/llvm/projects/test-suite/External -j 4
2010 Jul 13
2
how to extract information from anova results
Hi,
I have used the instruction aov in the following manner:
res <- aov(qwe ~ asd)
when I typed "res" I get:
_________
Call:
aov(formula = qwe ~ asd)
Terms:
asd Residuals
Sum of Squares 0.0708704 0.5255957
Deg. of Freedom 1 8
Residual standard error: 0.2563191
Estimated effects may be unbalanced
_________
I need to access the value of
2011 Jun 17
1
[LLVMdev] Problem regarding llc command line option
Hi,
I was trying to port a Target from llvm-2.6 to llvm-2.9 and have got stuck
to a very strange problem.
There was an option defined in the target Asm Printer file with signature as
-
static cl::opt<bool> AsdPri("asd-pri", cl::Hidden, cl::desc("Print ASD
format"));
How after compiling the target, I dont see the option enabled in
$ llc -help-hidden
Also it gives error
2013 Feb 28
1
header brakage on sieve redirect ?
Hi all,
In the sieve file
require ["copy"];
redirect :copy "asdf at asd.pl";
emails with headers containing \n in non terminated " field
like
Cc: xxx <xxx at plus.pl>, "asd,
Grzegorz " <xxxxx at nsn.com>
Subject: RE: RF
after redirecting them
Cc: xxx <xxx at plus.pl>, "asd,\
\
Grzegorz " <xxxxx at nsn.com>
Subject:
2010 Jan 12
2
setfacl:operation not supported
Hi all
from last few days i got struct in problem.when i try to use setfacl command
"setfacl -m u:himmat:r-- /ide2/asd"
i get the error setfacl : /ide2/asd : operation not supported
i also has mounted acl using -:
"mount -f -o remount,acl / " Note: -f option is for force
i am using red hat kernel 2.4.20-8 and acl-2.2.3-1
One more thing i have to ask whether acl utility
2008 Nov 21
3
list of list objects
hi there,
I have a list of list objects i need to remove the top layer
[[1]]
[1].0
"ABC" "DEF""LMN"
[1].1
"WER" "ERT" "TRY"
[[2]]
[2].0
"ASD","wer""qwe"
[2].1
"wdv""ghj""ggj"
I wanna avoid the top layer...that is [[1]] [[2]] shouldnt be there
just a simple list is wat i need.
2004 Sep 25
2
Strange behavior of is.na() on lists
Hello R-users,
I have observed that is.na() behaves strange on some lists. Here is a
simple example:
> a = list(list('asd'))
> a
[[1]]
[[1]][[1]]
[1] "asd"
> for(i in 1:5)
+ print(is.na(a))
[1] TRUE
[1] FALSE
[1] TRUE
[1] TRUE
[1] TRUE
>
> for(i in 1:10)
+ print(as.integer(is.na(a)))
[1] 0
[1] 10
[1] 1
[1] 0
[1] 140897024
[1] 134567568
[1] 1
[1] 1953720684
2004 Nov 19
2
accessing the attributes of a list inside lapply()
Hello R-users,
I have the following problem, that I want to solve efficiently:
I have a named list, for example:
> l <- list(a = 1, b = 3, c = 'asd')
> l
$a
[1] 1
$b
[1] 3
$c
[1] "asd"
I know that I can iterate through it using lapply() function, but I
would also like to able to get the list names or some attributes of l
in the lapply(). For example if I use
2008 Sep 25
3
[LLVMdev] Kaleidoscope doesn't work properly
Hi
I hope this is a proper place to put my question.
I've compiled Kaleidoscope from "Adding JIT and Optimizer Support" tutorial.
Basically it works just fine but when I try to run extern'ed putchard
function it aborts.
Please, tell me what am I doing wrong?
Here is more information:
My PC runs FreeBSD.
I've copied the toy source code exactly and didn't change it.
2006 Mar 13
4
Trouble Using AR Object based on a Piggyback Query?
Hi,
I''m new to Rails and Ruby and can''t access methods/columns from an
ActiveRecord object that is a "piggy-back" row as described by David
here: http://www.loudthinking.com/arc/000235.html
Via Console I can create the piggyback object but reading attributes
gives "TypeError: cannot convert String into Integer" (this is in
Console and the browser).
2004 Sep 23
3
Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000
Hi,
I have a share:
[share]
path = /appl/md/data
valid users = +asd
write list = +asd
read only = No
create mask = 0664
directory mask = 0775
And it has directories that have 3000 files in them, but when I look
at the same directory thru a Windows 2000, I only see 1360 files, no more.
If I type the path a file that isn't shown in the
2012 Dec 10
1
Can somebody suggest how to achieve following data manipulation?
Dear all,
Let say I have following data:
RawData <- matrix(1:101, nr = 1); colnames(RawData) <- c("ASD",
as.character(as.yearmon(seq(as.Date("2012-03-01"), length.out = 100, by
= "1 month")))); rownames(RawData) <- "XYZ"
CutOffDate <- as.Date("2012-09-01")
NewDateSeries <- as.character(as.yearmon(seq(CutOffDate, to =
2012 Feb 08
2
Problems reading tab-delim files using read.table and read.delim
Hello,
I used read.xlsx to read in Excel files but for large files it turned out to
be not very efficient.
For that reason I use a programme which writes each sheet in an Excel file
into tab-delim txt files.
After that I tried using read.table and read.delim to read in those txt
files. Unfortunately, the results
are not as expected. To show you what I mean I created a tiny Excel sheet
with some