similar to: add counter to file name + dir.create

Displaying 20 results from an estimated 9000 matches similar to: "add counter to file name + dir.create"

2008 Jun 22
1
readLines problem in iteration
Hi there My script at each iteration produces a .dat file which I save in a directory with write.table. Then I need to read each line of this file and create a directory for each line and put elements of that row in that directory. I do it with the following script which I have inserted somewhere between my outer iteration loop, it works fine for the first iteration, but the problem is that it
2008 Jun 17
1
invalid arguments RUNIF
Hi all I would be grateful you can help me with my problem. I try to run an optimization code . in one line I have runif in order to sample the PDF. I get this error while i run it. Error in runif(1, f$d[[n.of.u.vars + n.of.o.vars + j]][[2]][1], f$d[[n.of.u.vars + : invalid arguments Here is a part of that code: # initialize random numeber generator if (seed>0)
2017 Oct 12
4
comparing two strings from data
Hi, I have two columns that contain numbers along with letters (as shown below) and have different lengths. Each entry in the first column is likely to be found in the second column at most once. For each entry of the first column, if that entry is found in the second column, I would like to get the corresponding index. For instance, if the first entry of the first column is 5th entry in the
2002 Dec 16
1
help
Hi I download the R, but I dont know how to get the script (syntax) file and run it. I would be very pleased for any help. Regards. Yasin -- Yasin Al-tawarah Tel: (01782) 583652 E-mail: mad26 at keele.ac.uk
2013 Jun 21
2
an issue about removing "NA"s from an array
Hi,* *I would like to set the entries of an array that appear as "NA" to a certain integer, but did not find a way to do so. The related code is given below: A <- array(-1000 , dim=c(100) ); for(i in 1: 100 ){ A[i] =B[i,57] - B[i,5]; } A [ which( A == "NA") ] <- 900; The "NA"s still appear as the entries of the array A. Can you tell me what is
2011 Nov 30
1
s/n ratio detection etc...
Hi everybody, I' ve been following this list for a while now. Is there a way to detect the individual and cumulative s/n ratio values for the incoming calls in Asterisk or any other Call Center solution?... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111130/d0d53c1f/attachment.htm>
2010 Dec 29
5
linear regression for grouped data
Hi, I have been examining large data and need to do simple linear regression with the data which is grouped based on the values of a particular attribute. For instance, consider three columns : ID, x, y, and I need to regress x on y for each distinct value of ID. Specifically, for the set of data corresponding to each of the 4 values of ID (76,111,121,168) in the below data, I should invoke
2017 Oct 12
0
comparing two strings from data
It's generally a very good idea to examine the structure of data after you have read it in. str(data2) would have shown you that read.csv() turned your strings into factors, and that's why the == operator no longer does what you think it does. use ... data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE) ... to turn this off. Also, the %in% operator will achieve
2017 Oct 13
1
comparing two strings from data
Combining and completing the advice from Greg and Boris the complete solution is two lines: data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE) match_list <- match( data_2$data1, data_2$data2 ) The vector match_list will have the matching position when it exists and NA's otherwise. Its length will be the same as the length of data_2$data1. You should get
2013 Jul 17
2
auto answer
Hello; Is it possible to configure in the sip.conf for the Phone to be auto answer? Regards Bilal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130717/b8e0dc7f/attachment.htm>
2019 Mar 03
0
Map user home dir using GPO failing
This mailing list seems to have magical powers... Twice now I have sent emails to this list asking for help, both times I have not received the correct answer to my question, but each response has inadvertently helped me to see my problem from a new angle and thus I have been able to resolve my own issue! As neither the wiki nor any past mailing list messages (that I could find) correctly answer
2013 Sep 05
0
[LLVMdev] [ast-dump] Class template partial specializations missing from an implicit class template instantiation?
I was looking at the ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember documentation, in the included example it says: "(..) the instantiation of Outer<float>::Inner<int*> will end up instantiating the partial specialization Outer<float>::Inner<U*> (...)". To understand the concept better, I dumped the AST for the following code:
2013 Oct 31
0
[LLVMdev] loop vectorizer
>> What needs to be done (on a high level) in order to have the auto vectorizer succeed on the test function as given erlier? > Maybe you could rewrite the loop in a way that will expose contiguous memory accesses. Is this something you could do ? > Hi Nadav, the only option I see is to unroll the loop by hand. Since the array access is consecutive over 4 loop iterations I gave it a
2013 Oct 31
2
[LLVMdev] loop vectorizer
On Oct 30, 2013, at 6:10 PM, Frank Winter <fwinter at jlab.org> wrote: > the only option I see is to unroll the loop by hand. Since the array access is consecutive over 4 loop iterations I gave it a try and unrolled the loop by a factor of 4. Which gives the following array accesses: > > loop iter 0: > index_0 = 0 index_1 = 4 > index_0 = 1 index_1 = 5 > index_0 = 2
2013 Oct 31
0
[LLVMdev] loop vectorizer
I tried the following on the hand-unrolled loop: const std::uint64_t ir0 = i*8+0; // working const std::uint64_t ir0 = i%4+0; // working const std::uint64_t ir0 = (i+0)%4; // not working '+0' means +1,+2,+3 in the unrolled iterations. 'Working' means the SLP vectorizer succeeded. Thus, when working 'towards' the correct index function, auto
2020 May 05
2
Missing vectorization of loop due to load late in the loop
Hi, TL;DR: A loop doesn't get vectorized due to the interaction of loop- rotate, licm and instcombine. What to do about it? Full story: In the benchmarks for our out-of-tree target we have a case that we would like to get vectorized, but currently it isn't. I've done some digging to see why and have some kind of idea what prevents it, but I don't know what the best way to fix
2008 Jan 09
0
WG: subsetting
-----Urspr?ngliche Nachricht----- Von: Matthias Wendel [mailto:office at matthiaswendel.de] Gesendet: Mittwoch, 9. Januar 2008 13:06 An: 'r-help-bounces at r-project.org' Cc: 'Gabor Grothendieck' Betreff: AW: [R] subsetting Thank you, Gabor, for this clarificaton. This is very helpful f?r me. Matthias -----Urspr?ngliche Nachricht----- Von: Gabor Grothendieck
2012 Dec 30
2
[LLVMdev] alignment issue, getting corrupt double values
I'm having an issue where a certain set of types and insert/extractvalue are producing the incorrect values. It appears as though extractvalue getting my sub-structure is not getting the correct data. I have these types: %outer = type { i32, %inner, i1 } %inner = type { double, i32 } The trouble is that when I have a value of type %outer then proceed to extract the components of the
2004 Aug 22
1
[LLVMdev] How to handle nested procedures?
On Sat, 21 Aug 2004 20:35:35 -0500 "Patrick Meredith" <pmeredit at uiuc.edu> wrote: > > ----- Original Message ----- > From: "Jeff Cohen" <jeffc at jolt-lang.org> > To: <LLVMdev at cs.uiuc.edu> > Sent: Saturday, August 21, 2004 7:35 PM > Subject: [LLVMdev] How to handle nested procedures? > > > > How would following Pascal
2014 Nov 24
1
[LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR
Hi Reid, I've been working on the outlining code and have a prototype that produces what I want for a simple case. Now I'm thinking about the heuristics for recognizing the various logical pieces for C++ exception handling code and removing them once they’ve been cloned. I've been working from various comments you've made earlier in this thread, and I'd like to run something