similar to: Scoping rules

Displaying 20 results from an estimated 4000 matches similar to: "Scoping rules"

2003 Oct 09
0
Scoping Rules: Summary
Thanks to Andy Liaw, Roger Peng, Thomas Lumley, Brian Ripley and Peter Dalgaard, all of whom addressed my questions or threads arising from them. The full messages were posted to the list so this is a brief summary: Andy Liaw explained the difference between lexical and dynamic scoping and the rationale behind the choice of lexical scoping for R. Roger Peng showed how to modify fnB. Brian
2013 Sep 13
2
[LLVMdev] [lld] Implementing the aliasing feature
On 9/13/2013 6:06 PM, Nick Kledzik wrote: > On Sep 13, 2013, at 3:35 PM, Shankar Easwaran <shankare at codeaurora.org> wrote: >> This would work only if an alias is another name for the same symbol(weak symbols). > I don’t know what that means. Can you clarify? Doesnt this imply that the alias atom is a zero sized atom ? >> If what is being aliased is another function
2013 Sep 14
0
[LLVMdev] [lld] Implementing the aliasing feature
On Sep 13, 2013, at 4:16 PM, Shankar Easwaran <shankare at codeaurora.org> wrote: > On 9/13/2013 6:06 PM, Nick Kledzik wrote: >> On Sep 13, 2013, at 3:35 PM, Shankar Easwaran <shankare at codeaurora.org> wrote: >>> This would work only if an alias is another name for the same symbol(weak symbols). >> I don’t know what that means. Can you clarify? > Doesnt
2013 Sep 16
1
[LLVMdev] [lld] Implementing the aliasing feature
On 9/13/2013 8:51 PM, Nick Kledzik wrote: >> If I alias the atom, and add a layoutBefore from fna to fnb, fnb is going to have a seperate virtualaddress from fna. > This sounds like you mean “alias” to mean take one implementation and override another implementation (that has a different name) Yes. I think ELF could treat it as a Layout-Before reference too. This way Darwin can share the
2008 Feb 05
1
Got *** caught segfault *** with Quantreg on Mac (PR#10699)
Full_Name: Edward Huang Version: 2.6.1 OS: Mac OS 10.5.1 Leopard Submission from: (NULL) (71.198.106.232) I'm trying to run quantile regression on my data. I just couldn't make it work. The same dataset ran okay on STATA 10, tho. Would you please take a look at it? Here is the error message: *** caught segfault *** address 0x3ff00008, cause 'memory not mapped' Traceback:
2013 Sep 13
0
[LLVMdev] [lld] Implementing the aliasing feature
On Sep 13, 2013, at 3:35 PM, Shankar Easwaran <shankare at codeaurora.org> wrote: > This would work only if an alias is another name for the same symbol(weak symbols). I don’t know what that means. Can you clarify? > > If what is being aliased is another function definition, which is a non zero sized atom, aliasing will not work. That is the exact scenario I think it *will* work
2013 Sep 13
2
[LLVMdev] [lld] Implementing the aliasing feature
Hi Nick, This would work only if an alias is another name for the same symbol(weak symbols). If what is being aliased is another function definition, which is a non zero sized atom, aliasing will not work. I was thinking to model this for ELF for the below functionalities :- a) __wrap For example : --wrap fn What I plan to do here is, create a undefined function fn atom create a defined
2006 Jun 20
2
Documentation issues [Was: Function hints]
I would like to follow up on another one of the documentation issues raised in the discussion on function hints. Duncan mentioned that the R core were working on preprocessing directives for .Rd files, which could possibly include some sort of include directive. I was wondering if a "includeexamples" directive might also be considered. It often makes sense to use the same example to
2011 Feb 17
2
amount of data R can handle in a single file
Dear Sir/Madam, I would like to know what is the maximum number of observations a single file must have when using R. I am asking this because am trying to do research on banking transactions and i have around 49million records. Can R handle this? Advise with regard to this. Mark Nasila Quantitative Analyst CBS Risk Management Personal Banking 7th Floor, 2 First Place, Cnr
2007 Oct 17
3
getent passwd not listing domain users, nsswitch.conf is configured
Using Samba 3.0.25c on OpenSolaris nv72. wbinfo -u lists domain users as expected. getent passwd only lists local users. nsswitch.conf has the following lines: passwd: files winbind group: files winbind My smb.conf is below. Where should I start to troubleshoot? [global] realm = FNB.LOCAL workgroup = FNB security = ADS use kerberos keytab = true ; password server =
2013 Oct 17
1
pamer.fnc y la nueva versión de R
Hola buenas noches, tengo un problema bastante gordo. ¿A alguno le ha dejado de funcionar las funciones pamer.fnc y mcp.fnc con la nueva versión de R? La semana pasada formatee el ordenador y ahora scripts antiguos no funcionan. La cuestión es que me precupa que no funcione el ejemplo de tutorial del autor. Os dejo un script que debería de funcionar y no lo hace
2008 Feb 14
4
FW: Memory Problem
I am sure this has been covered before, but I can find it in my archives. I loaded up a new server IBM x3650, 2x Intel dual core cpu's I installed additional RAM to take it up to 7 gigs according to http://www.centos.org/product.html#seven CentOS 5 x86 which I am using supports up to 16gigs of RAM. Once I boot up CentOS only see's about 3.2Gigs of Ram. I installed the kernel-PAE
2008 Nov 26
1
Problem with aovlmer.fnc in languageR
Dear R list, I have a recurring problem with the languageR package, specifically the aovlmer.fnc function. When I try to run the following code (from R. H. Baayen's textbook): # Example 1: library(languageR) latinsquare.lmer <- lmer(RT ~ SOA + (1 | Word) + (1 | Subject), data = latinsquare) x <- pvals.fnc(latinsquare.lmer,
2012 Aug 29
5
Extracting the name of a function (inverse of match.fun("myFun"))
Hi all, is there a way to extract the name of a function, i.e. do the reverse of match.fun applied to a character string? I would like to print out the name of a function supplied to another function as an argument. For example: myFunc = function(x) { x+1 } applyFunc = function(fnc, x) { fnc = match.fun(fnc) fnc(x) } Is there a way to obtain "myFunc" from the argument fnc in
2005 Feb 16
2
Positive log-likelihood in lme
Kia ora I'm a using lme (from nlme package) with data similar to the Orthodont dataset and am getting positive log-likelihoods (>100). This seems usual and I wondered if someone could offer a possible explanation. I can supply a sample dataset if requested, but I feel almost certain that this question has been asked and answered recently. However, I can find no trace of it in the mail
2011 Apr 21
1
Error running pvals.fnc in R version 2.13.0
Dear R-help: I've been trying to run pvals.fnc in the newest version of R (2.13.0). The function lmer worked fine, but when I tried to use pvals.fnc on the lmer object, I got the following error: "Error in pvals.fnc(elogr.subj.dys.sum.3x3.p, nsim = 10000) : trying to get slot "coefs" from an object (class "summaryDefault") that is not an S4 object." How can I
2008 Oct 01
1
pvals.fnc in lme4 and languageR
Hi everybody! I was using the function pvals.fnc from package 'languageR' until April. I do not know which version. Yesterday I updated all my packages and tried to run my loop again. Now I get the following error message: error in pvals.fnc(mm, nsim = 1000) : MCMC sampling is not yet implemented in lme4_0.999375-27 for models with random correlation parameters I guess it?s because of
2010 Apr 25
1
function pointer question
Hello, I have the following function that receives a "function pointer" formal parameter name "fnc": loocv <- function(data, fnc) { n <- length(data.x) score <- 0 for (i in 1:n) { x_i <- data.x[-i] y_i <- data.y[-i] yhat <- fnc(x=x_i,y=y_i) score <- score + (y_i - yhat)^2 } score <- score/n
2010 Apr 01
3
pvals.fnc() with language R does not work with R 2.10.1
Hi Everyone, I am using R 2.10.1. lmer function works properly, however pvals.fnc () does not despite the fact that I uploaded: - library(lme4) - library(coda) - library(languageR) This is the error message I get pvals.fnc(lexdec3.lmerE2, nsim=10000)$fixed Error in pvals.fnc(lexdec3.lmerE2, nsim = 10000) : MCMC sampling is not yet implemented in lme4_0.999375 for models with random
2013 Oct 20
1
Call parking issue with Cisco SPA phone
I'm trying to implement call parking with asterisk and Cisco SPA504G phones: features.conf parkext => 700 parkpos => 701-702 context => parkedcalls I defined one of the unused keys to park the calls: Key2: fnc=sd;ext=700 at 10.0.1.103;vid=1;nme=Park I also defined two other keys to pickup/unpark the calls: Key3: fnc=blf+sd+cp;sub=701 at 10.0.1.103 Key4: fnc=blf+sd+cp;sub=702 at