search for: lispish

Displaying 6 results from an estimated 6 matches for "lispish".

Did you mean: lisis
2009 Aug 21
4
Where to put source code?
...;m stuck even getting started. This sounds to me like the dumbest question in the world but... how does one put R source code in files? Over the last three days I've gone front to back through the Introduction to R and the R Language Definition, and while I'm excited that the language is so Lispish, none of what I read described how to write a function, save the source code in a file, and have it be usable other than directly entering the function definition at the command prompt. How do you edit your functions, where do you put the source files that contain your functions, how do you tell R...
2010 Feb 23
3
Best style to organize code, namespaces
...r functions or would just be too big to write in one piece. Below are three ways to do this: ################### Style 1 (C-style) ############### Foo <- function(x) { .... } Foo.subf <- function(x, blah) { .... } Foo.subg <- function(x, bar) { .... } ################### Style 2 (Lispish?) ############## Foo <- function(x) { Subf <- function(blah) { .... } Subg <- function(bar) { .... } .... } ################### Object-Oriented ################# Foo <- function(x) { Subf <- function(blah) { .... } Subg <- function(bar) { .... }...
2008 Oct 10
7
How do I see that a xVM is running as paravirtualized
I have followed a combination of instructions from this post and have been able to get an Ubuntu paravirtualized instance running under snv_96. Is there a way to "list" the fact that it is paravirtualized? For example, xm list, virsh list, etc. thanks -- This message posted from opensolaris.org
2009 Feb 28
13
How to get the MAC address of a domU?
I''m creating a new domU using ''virsh create <xmlfile>'' without specifying the MAC address within the XML file, under the assumption that the dom0 or hypervisor generates the MAC address for me. Next I''d like to get the MAC address that was assigned to this new domU, and I don''t see a way to get that information from the command line via virsh
1999 Sep 17
0
"Error: incorrect number of arguments to lambda"
...f occasions. The R online help has no function called lambda, nor does one come up in a search through my environment. I don't have any contributed packages loaded, although I do have a collection of functions I use regularly, and which I've used without incident until now. Lambda sounds lispish, but I can't figure out where to find it and look for it. Needless to say, I will keep better notes next time this happens. If anyone has any ideas what it might be and how to fix it, that's great. Otherwise, I'd like to know what sort of information I ought to collect so that my repo...
2009 Jun 01
1
installing sn package
...2<-with(PseudoData,data.frame(y=y2, x1=x1, x2=x2, x3=x3)) > > # The objective function : least squares.. > # I"m lazy.... > > # Squared residuals : vector function, to be summed in objective, > # and needs data in its eval environment. > # R really needs some forme of lispish (let) or (let*)... > > e<-expression((y-(c1+x1+c2*x2+c3*x3))^2) # Least squares (needs data in env.) > > # Use expression form of deriv(), to allow easy evaluation in a constructed > # environment > > foo<-deriv(e, nam=c("c1","c2","c3")) &...