similar to: Error non-numeric argument to binary operator

Displaying 20 results from an estimated 10000 matches similar to: "Error non-numeric argument to binary operator"

2011 Aug 22
3
automatic file input
Dear all, I have 100 files which are used as input.and I have to input the name of my files again and again.the name of the files are 1.out, 2.out......100.out. I want to know if there is anything like perl so that i can use something like this- for($f = 1; $f <= 100; $f++) { $file = $f.".out"; I have tried this thing in R but it does not work.Can somebody please help me.
2011 Jul 14
5
Adding rows based on column value
Dear all, I have one problem and did not find any solution.(I have also attached the problem in text file because sometimes column spacing is not good in mail) I have a file(file.txt) attached with this mail.I am reading it using this code to make a data frame (file)- file=read.table("file.txt",fill=T,colClasses = "character",header=T) file looks like this- Chr Pos
2011 Aug 07
3
Printing data frame with million rows
Dear all, I was working on number of files and at the end I got a data frame with approx. million rows.To prin this data frame in output, I used capture.output(print.data.frame(end,row.names=F), file = "summary", append = FALSE) where end is the name of my data frame and summary is the name of my output file. but when I checked the output there were only 10000 rows and at the last it
2011 Jul 05
3
Output data frame using write.table
Dear all, I have a data frame whose name is m1. I want to write this data frame in text file as output.I am using this code- write.table(m1, file = "kas.txt", append = FALSE,row.names=F,quote=F,sep="\t") When I am opening my kas.txt file,the column names are not coming exactly above the column. What should I do.Please help me. Thanking you, Warm Regards Vikas Bansal Msc
2011 Oct 31
3
Plot two matrices and keeping the record of row names
Dear all, I have two data frames- x1 and y1 with same row names and column names(actually the names of the patients). x1 a b c d e a 1.0000000 0.4730679 0.6226994 0.6036036 0.6433333 b 0.4730679 1.0000000 0.6227273 0.6303855 0.5730858 c 0.6226994 0.6227273 1.0000000 0.7290503 0.6900585 d 0.6036036 0.6303855 0.7290503 1.0000000
2011 Jul 01
13
For help in R coding
Dear all, I am doing a project on variant calling using R.I am working on pileup file.There are 10 columns in my data frame and I want to count the number of A,C,G and T in each row for column 9.example of column 9 is given below- .a,g,, .t,t,, .,c,c, .,a,,, .,t,t,t .c,,g,^!. .g,ggg.^!, .$,,,,,.,
2011 Aug 07
1
Removing funny characters from a column of a data frame
Dear all, The 5th column of my data frame is like this- .$.$.$.$.$,$,$...,,,,,.,,.,,...,,,,.,,....,,,T...,,,,,,,,,,,.,,,,,....,,...,, ,..,,....,,,,,...,,,..,,......,,,,,,,....,,,.,,,,....,,...G.,,,,,,,,...,,,,,,.,, ,t.,,c,,.a.,,,.A,,,,....,,,.....,,,,..........,,,,,..,,,.,,,....,,,,,...,,,$.... .,,,,..,,,...,,,,,..,,,,,,.............$..,,,,,,...,,..,,$,...,,,,,,,....,,,,,,.
2011 Jul 24
2
Deleting rows and store the deleted rows in new data frame
Dear all, I am using grep but I did not understand the problem as I am doing something wrong.Please help me. I am using this code- sf=data.frame(sapply(df[],function(x) grep('\\.&\\,', df[,9]))) the thing is i have a data frame(df) like this- 10 135349467 g G 4 0 0 5 ,,,., 10 135349468 t T 2 0 0 5 ,,c., 10 135349469 g G 7 0 0 5 ,,a., 10 135349470 c C 8 0 0 5 ,,,., 10 135349471
2011 Jul 21
2
User input(unknown name and number of files)
Dear all, I need your help as I was not able to find out the solution. The thing is- I am having a code which is reading file with this code- df=read.table("Case2.pileup",fill=T,sep="\t",colClasses="character") but as am making a tool so that user can use it and can do analysis on his file.But the name of the file will not be Case2.pileup and I want to use this
2011 Aug 01
1
Inserting column in between -- "better" way?
Folks: I consider my reply below rather clumsy: One has to keep track of index numbers other than that which is inserted and must separately change column names. Is there as "essentially better" way to do this, either via base R or via an R package. I leave it to you to define "essentially better." Thanks. Cheers, Bert On Mon, Aug 1, 2011 at 10:17 AM, Bert Gunter
2007 Apr 02
2
(Newbie)Basic Basic global vs. local variables
My R code has got too complex to have a non-modular approach. Ive done some coding in other languages before, but I somehow cant figure out R's general rules for global and local variables. I have put a simple code below, if anyone can show me what i need to add to make this work, i would greatly appreciate it! #---------------------------------------- g_Means<-numeric()
2007 Apr 01
2
Reading user input
Hi there, this is a very easy question, i just cant seem to find a straight answer- i need this one thing, then i can finish my project for this term. I am making an interactive application with R where I get the user to input numbers that the program then uses in the analysis. I have figured out a lot of stuff, yet this is somehow hard to find the answer to:
2009 Nov 16
1
No Visible Binding for global variable
While building a package, I see the following: * checking R code for possible problems ... NOTE cheat.fit: no visible binding for global variable 'Zobs' plot.jml: no visible binding for global variable 'Var1' I see the issue has come up before, but I'm having a hard time discerning how solutions applied elsewhere would apply here. The entire code for both functions is below,
2016 Sep 27
4
VoIP monitoring tools
Hello, you can have a look on Homer http://sipcapture.org/ regards On 27/09/2016 10:39, Gholamreza Sabery wrote: > Hello, > > For service monitoring you can use tools like sipsak in combination > with Zabix or Zenoss. Also using Zenoss or Zabix you can monitor the > health of your servers. This way you have both top-down and bottom-up > monitoring. For monitoring call
2020 Mar 22
2
GSoC Interested Student:Encode Analysis results in MachineInstr IR, Slimmer project
Hello All, My name is Prakhar Bansal and I am a graduate student in computer engineering at Iowa State University. In my research work, I have worked on Memory access monitoring of an application using the LLVM static analysis framework, where I developed a tracing tool using an LLVM module pass to perform tracing across multiple functions using call graph analysis and also implemented static
2016 Apr 18
3
Sum of Numeric Values in a DF Column
Hi, I request help with the following: INPUT: A data frame where column "Lower" is a character containing numeric values (different count or occurrences of numeric values in each row, mostly 2) > dput(dd) structure(list(State = c("Alabama", "Alaska", "Arizona", "Arkansas", "California"), Lower = c("R 72?33",
2019 Oct 20
2
IMAP4 extensions for Visual Voicemail (VVM)
Hi Team, I need to develop Visual VoiceMail solution. In this solution I need a IMAP4 server, from which I can get a hit for each mail retrieval. Can anyone help me if dovecot can be used for this purpose. BR, Rajesh Bansal -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Sep 27
4
VoIP monitoring tools
Hello all, The question isn't directly related to Asterisk, but I'm looking for recommendations for a monitoring tool to monitor the health of Asterisk instances running in Production. Ideally, the tool should be able to generate monitoring traffic (OPTIONS ping or INVITE), use the response/no response from Asterisk to store the health of an Asterisk instance running somewhere in the DB.
2016 Apr 18
0
Sum of Numeric Values in a DF Column
## Continuing with your data AA <- stringr::str_extract_all(dd[[2]],"[[:digit:]]+") BB <- lapply(AA, as.numeric) ## I think you are looking for one of the following two expressions sum(unlist(BB)) sapply(BB, sum) On Mon, Apr 18, 2016 at 12:48 PM, Burhan ul haq <ulhaqz at gmail.com> wrote: > Hi, > > I request help with the following: > > INPUT: A data frame
2019 Oct 20
2
IMAP4 extensions for Visual Voicemail (VVM)
> Le 20 oct. 2019 ? 22:24, Mauricio Tavares via dovecot <dovecot at dovecot.org> a ?crit : > > On Sun, Oct 20, 2019 at 10:43 AM Rajesh Bansal via dovecot > <dovecot at dovecot.org> wrote: >> >> Hi Team, >> >> >> >> I need to develop Visual VoiceMail solution. In this solution I need a IMAP4 server, from which I can get a hit for each