similar to: break function execution

Displaying 20 results from an estimated 20000 matches similar to: "break function execution"

2010 Sep 08
3
adding list to data.frame iteratively
Hi, I have a preallocated dataframe to which I have to add a list whose vectors will become rows in the dataframe. This is done iteratively. How can I do this? I'm dealing with very large numbers...list of 1000 vectors to a dataframe of 200000 iteratively for e.g. my list is as follows ll<-list(c("1","2","3"),c("2","3","4")) I
2010 Sep 06
3
representing NULL values in a vector
Hi, I have a vector who contents should look like this, "c" "d" NULL "e" "f" etc or 4 5 6 NULL 7 8 9 how can I represent the null value? [[alternative HTML version deleted]]
2010 Sep 15
3
characters in a string
Hi, I need to check if a string "<rh>a,b,c,d<rh>" is delimited by two "<rh>" 's as efficiently as possible(I need to do this a lot of times) and return TRUE. Can someone suggest a good technique? [[alternative HTML version deleted]]
2010 Oct 01
3
Converting a dataframe column from string to datetime
Hi, I have a dataframe column of the form v<-c("Fri Feb 05 20:00:01.43000 2010","Fri Feb 05 20:00:02.274000 2010","Fri Feb 05 20:00:02.274000 2010","Fri Feb 05 20:00:06.34000 2010") I need to convert this to datetime form. I did the following.. lapply(v,function(x){strptime(x, "%a %b %d %H:%M:%OS %Y")}) This gives me a list that looks like
2010 Sep 08
1
bigmemory doubt
Hi, Is it possible for me to read data from shared memory created by a vc++ program into R using bigmemory? [[alternative HTML version deleted]]
2010 Oct 04
2
Issue with match.call
Hi, I have a function that I'm writing. The arguments in the function are as follows RFF<-function(qtype, qOpt,...){} i.e., I have two args that are compulsary and the rest are optional. Now when my user passes the function call, I need to see what optional args are defined and process accordingly...what I have so far is.. RFF<-function(qtype, qOpt,...){ mc <-
2010 Sep 03
1
running an exe in the background
Hi, I'd like to be able to run a .exe in the background whenever library(package-x) is called. Is this possible? ~Aks [[alternative HTML version deleted]]
2010 Sep 04
1
return from .Call()
Hi, I have a .Call in my R function in a loop that repeats a certain number of times. Each time, the .Call returns a list. So, when I say something like, y<-func() would y be a list of lists?(as many as the number of loops?) [[alternative HTML version deleted]]
2010 Sep 06
1
max limit of list size and vector size?
Hi, Is it possible for me to store a list of vectors of 1 million entries? like, cc<-list(c(1,2,........1million),c(1,2,........1million)....) also what is the length of the longest string in R? I keep getting info from a socket and keep pasting on a string...when will this start becoming a problem? [[alternative HTML version deleted]]
2010 Sep 06
1
size limit of string/parse a string and convert to vector
Hi, I have a loop as follows, dataStr <- character(0) repeat{ fstr<-read.socket(sockfd) if(fstr=="") break dataStr<-paste(dataStr,fstr) } at what point does dataStr stop accepting(gets full)? I'm sending millions of records over the socket and need to know if all of it can go into dataStr. Also, Incase all of it cannot go into dataStr, I need to parse each
2010 Sep 07
1
queue implementation?
Hi, is there a queue implementation in R? [[alternative HTML version deleted]]
2010 Sep 08
2
Uncompressing data from read.socket
Hi, Is it possible to uncompress gzipped data coming over a socket? [[alternative HTML version deleted]]
2010 Sep 06
2
dataframe row names from list
Hi, I have a list which looks like this... > str(y) List of 10 $ : chr [1:4] "ABCD" "5" "0" "1" $ : chr [1:4] "DEF" "15" "1" "16" $ : chr [1:4] "AAA" "2" "17" "8" $ : chr [1:4] "SSS" "15" "25" "1" $ : chr [1:4] "III"
2010 Aug 31
1
binary package build error:target 'xf->>' is not a directory
Hi, I built a package in linux and generated its binary using R CMD build --binary testpack. This generated testpack.tar.gz. I tried to install this package in windows using R CMD INSTALL package.tar.gz and I got the error *installing to library 'H:/R-2.11.1/library' *installing *binary* package 'testpack' ... /cygdrive/RTools/bin/cp: target 'xf->>' is not
2010 Sep 04
1
limit on read.socket?
Hi, I have the following piece of code, repeat{ ss<-read.socket(sockfd); if(ss=="") break output<-paste(output,ss) } but somehow, output is not receiving all the data that is coming through the socket.My suspicion is on the if statement. what happens if a white space occurs in between the string arriving over the socket? [[alternative HTML version deleted]]
2010 Sep 14
1
dataframe of dataframes?
Hi, I create several dataframes in a nested loop and would like to maintain them in a matrix form with each dataframe represented by the row and the column. How can I do this? [[alternative HTML version deleted]]
2010 Sep 02
1
R CMD check Package(Windows): Error in inDL(x, as.logical(local), as.logical(now), ...) :
Hi, I've built my own package in windows and when I run R CMD check Package-Name I get, * install options are ' --no-html' * installing *source* package 'AceTest' ... ** libs making DLL ... g++ ...etc. installing to <PATH> ... done ** R ** preparing package for lazy loading ** help Warning: ./man/AceTest-package.Rd:34: All text must be in a section Warning:
2009 Jul 02
2
Warning when trying to access a variable out of scope?
Hi, I was wondering if I could get R to warn me, or give me a rude awakening somehow, if I'm accessing a variable that is out of my function's scope. For example, often times I'm creating a function as I'm testing it in the REPL, copying and pasting between both. As a simple example, I might end up with a function like: f <- function(a, b) { a + b.test } Where
2014 Feb 01
2
[LLVMdev] Eliminate SSA Virtual registers
Hi Ben, That did help. I continue to notice the virtual register in the program. I use LLVM 3.4. The program i am looking at is a very simple one. Listed below int global_var; int *global_ptr; int32_t main(int32_t argc, char ** argv){ int p = 10; int k = 20; int *pp; char *c_pp; pp = &k; global_ptr = pp; pp = &p; global_ptr = &global_var; return 0; } BR/Nizam
2014 Feb 01
3
[LLVMdev] Eliminate SSA Virtual registers
Hi, is there a opt pass that replaces the SSA virtual registers to stack-variables? I want to eliminate the SSA virtual register from my IR. Kindly suggest BR/Nizam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140201/bdc3909a/attachment.html>