search for: var_

Displaying 18 results from an estimated 18 matches for "var_".

Did you mean: var
2018 Apr 10
1
Fail to save an object using name as string
Dear list member, I think that I have detected a strange behavior of the save() command: > year <- "2000" > assign(paste0("Var_", year), list(A=10, B=20)) > get(paste0("Var_", year)) $A [1] 10 $B [1] 20 # At this point all is ok, I have created a list of name Var_2000 > save(paste0("Var_", year), file=paste0("Var_", year, ".Rdata")) Error in save(paste0("Var_&quot...
2012 Nov 30
2
Nombres de variables variables
Hola, ¿Como estas?, la siguiente tal vez sea una pregunta simple. Quiero crear nombres de variables pero que el nombre lleve el valor de un objeto. Ej: tengo estos dos valores x1<-10 x2<-20 Quiero crear las variables: var_10 <- var_20 <- Pero usando los objetos x1 y x2 como referencia. Solo como referencia, en stata esto lo hacia de la siguiente forma local x1 = 10 local x2 = 20 gen var_`x1''= gen var_`x2''= Espero sugerencias. Muchas gracias. Abrazo Pablo A. Guzzi guzzipa@gmail.com [...
2011 Feb 12
8
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...s a screenshot of what it looks like: [image: llbrowse.png] And here's what the node class for displaying variables looks like, as an example: class VariableItem : public TreeItemBase { public: VariableItem(const llvm::Module* module, const llvm::GlobalVariable* var) : module_(module), var_(var) {} // Overrides int GetIcon() const; wxString GetCaption() const; void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); bool CanCreateChildren() const; void ShowDetails(DetailsView* detailsView); private: const llvm::Module* const module_; const llvm::GlobalVari...
2011 Feb 12
0
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...; > [image: llbrowse.png] > > And here's what the node class for displaying variables looks like, as an > example: > > class VariableItem : public TreeItemBase { > public: > VariableItem(const llvm::Module* module, const llvm::GlobalVariable* var) > : module_(module), var_(var) {} > > // Overrides > > int GetIcon() const; > wxString GetCaption() const; > void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); > bool CanCreateChildren() const; > void ShowDetails(DetailsView* detailsView); > > private: > const llvm::Module* c...
2011 Feb 12
1
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...image: llbrowse.png] > > And here's what the node class for displaying variables looks like, as an > example: > > class VariableItem : public TreeItemBase { > public: > VariableItem(const llvm::Module* module, const llvm::GlobalVariable* var) > : module_(module), var_(var) {} > > // Overrides > > int GetIcon() const; > wxString GetCaption() const; > void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); > bool CanCreateChildren() const; > void ShowDetails(DetailsView* detailsView); > > private: > const llvm...
2011 Feb 12
0
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...> <llbrowse.png> > > And here's what the node class for displaying variables looks like, as an example: > > class VariableItem : public TreeItemBase { > public: > VariableItem(const llvm::Module* module, const llvm::GlobalVariable* var) > : module_(module), var_(var) {} > > // Overrides > > int GetIcon() const; > wxString GetCaption() const; > void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); > bool CanCreateChildren() const; > void ShowDetails(DetailsView* detailsView); > > private: > cons...
2011 Feb 13
0
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...[image: llbrowse.png] > > And here's what the node class for displaying variables looks like, as an > example: > > class VariableItem : public TreeItemBase { > public: > VariableItem(const llvm::Module* module, const llvm::GlobalVariable* var) > : module_(module), var_(var) {} > > // Overrides > > int GetIcon() const; > wxString GetCaption() const; > void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); > bool CanCreateChildren() const; > void ShowDetails(DetailsView* detailsView); > > private: > const l...
2009 Jan 22
1
looping over a string
...enzen max_int<-82 Tage<-max_int max_bob<-82 varnames<-paste("st_rendite_",seq(max_int),sep="") analyse<-rnorm(10000) for(i in 1:min(max_bob,max_int)){ assign(varnames[i],diff(log(analyse),i)*100) } #Wurzel_t - Approximation ?berpr?fen varianzen<-paste("var_",seq(Tage),sep="") for(i in 1:Tage){ #in this line is the error I cannot handle (st_rendite_i): assign(varianzen[i],var(st_rendite_i)/100^2) } Thanks for your help, Thomas
2011 Feb 14
1
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...And here's what the node class for displaying variables looks like, as an >> example: >> >> class VariableItem : public TreeItemBase { >> public: >> VariableItem(const llvm::Module* module, const llvm::GlobalVariable* >> var) >> : module_(module), var_(var) {} >> >> // Overrides >> >> int GetIcon() const; >> wxString GetCaption() const; >> void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); >> bool CanCreateChildren() const; >> void ShowDetails(DetailsView* detailsView); &...
2012 Jun 28
4
Printing a variable in a loop
Dear R Users: I'm a STATA user converting to R, and I'd like to be to do the following. #Assign var_1 and var_2 a value 10->var1 20->var2 #Now I'd like to print the values of var_1 and var_2 by looping through var_1 and var_2 in such a manner: while(y<3){ print(var_y) y+1->y } In STATA, the "y" appended to " var_" is called the local variable and the code w...
2011 Feb 12
2
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...; <llbrowse.png> > > And here's what the node class for displaying variables looks like, as an > example: > > class VariableItem : public TreeItemBase { > public: > VariableItem(const llvm::Module* module, const llvm::GlobalVariable* var) > : module_(module), var_(var) {} > > // Overrides > > int GetIcon() const; > wxString GetCaption() const; > void CreateChildren(wxTreeCtrl* tree, const wxTreeItemId& id); > bool CanCreateChildren() const; > void ShowDetails(DetailsView* detailsView); > > private: > const l...
2006 Jan 20
0
Realtime - reading values from registred family name
...from registred family name using realtime?" and not to use dbodbc or odbcexec , here's the sollution: RealTime(<family>|<colmatch>|<value>[|<prefix>]) All unique column names will be set as channel variables with optional prefix to the name. e.g. prefix of 'var_' would make the column 'name' become the variable ${var_name} eg. extensions.conf (or in a db table) (lets assume that we have in our table column names: name username password phone_nbr context table is "sip_users" connected to familyname sipusers , there is a us...
2006 Dec 18
1
RE: Best way to access MySQL data from dial plan
...s] Realtime Data Lookup [Description] Use the RealTime config handler system to read data into channel variables. RealTime(<family>|<colmatch>|<value>[|<prefix>]) All unique column names will be set as channel variables with optional prefix to the name. e.g. prefix of 'var_' would make the column 'name' become the variable ${var_name} This will not show any auth info in the asterisk cli and automatically clears connect and fetch id's, works great and decreases the number of priority routines within an extension. JR
2002 Sep 04
3
strange things with eval and parent frames
Dear mailing list, I have found some strange behaviour which I think relates to parent frames and eval. Can anyone explain what's going on here? First example: > test.parent.funcs_ function() { outer.var_ 5 subfunc1_ function() substitute( outer.var, envir=parent.frame()) print( subfunc1()) subfunc2b_ function() eval( quote( outer.var), envir=parent.frame()) print( subfunc2b()) subfunc2_ function() evalq( outer.var, envir=parent.frame()) #print( subfunc2()) } > test.parent.funcs...
2007 Feb 08
2
How to protect two jobs running on the same directory at the same time not to corrupt each other results:
Hi, I have a large group of jobs, some of them are running on the same directory. All of them in batch mode. What are the best ways to protect from corrupting the results two or more jobs running on the same directory. One, I would think can be to run each job in a separate directory, collect the results and after remove the directories. But I have thousands of jobs that will run in parallel
2010 Dec 13
7
descriptive statistics
Hi. In a data set I have a variable that takes values from 1 to 14. For each subgroup of values of this variable, I would like to obtain some descriptive statistics of other variables present in the data set. I've been trying with a "for" loop but I couldn't get nothing. Could you please suggest me some lines? -- View this message in context:
2013 Apr 07
0
Fitting distributions to financial data using volatility model to estimate VaR
...imate the VaR. So in case of a normal distribution, this would be very easy, I assume the returns to follow a normal distribution and calculate a volatility forecast for each day, so I have sigma_1,sigma_2,...,sigma_n,. I can calculate the VaR via (mu constant, z_alpha quantile of standard normal): VaR_(alpha,t)=mu+sigma_t * z_alpha. This is in case, I have losses, so I look at the right tail. So for each day I have a normal density with a constant mu but a different sigma corrensponding to the volatility model. Let's assume a very simple volatility model, e.g. (empirical) standard deviation o...
1999 Oct 08
4
Automounting
Is there a way to make samba automatically mount a home directory? That is, a user logging in (from Linux), enters its username and password(Samba), and the system automatically mounts the user's home directory from the samba server(without asking the password again). Has anyone ever tried to do this? And succedeed :-) ? -- nneves@di.fc.ul.pt Dept. Informatica, Fac.