Displaying 20 results from an estimated 700 matches similar to: "Implementing streams in R"
2004 Feb 03
3
Implementating streams in R
Dear all,
I have an implementation of streams in R. The current implementation of
delay() and force() is
inspired from the LISP implementation found in Part VI "Languages for AI
problem solving" of
"Artificial Intelligence" by G. Luger.
I have tested it with the Fibonacci example in the same book (see examples
below). It works
but I do run into a problem when I try to
2004 Feb 12
1
Porting let* from Common LISP to R
In porting some Common LISP code to R, I am trying to found out whether special
care must be taken for the let* function. In Common LISP, "the let* block
is like
let except it is guaranteed to evaluate the initialization of its local
variables in sequentially nested scopes, i.e. it provides an order to the
binding and visibility of preceding variables.".
I have included the recursive
2003 Oct 14
1
"Turtle world" graphics in R
I would greatly appreciate some idea about the best approach to make a
graphical interface of for a turtle world in R.
In the turtle environment, the user controls movements of a turtle
through the command line (e.g. forward(10), turn(5), etc.). The turtle should
be displayed in the new position and heading after each command.
Also, the turtle's path and, possibly, objects (squares,
2003 Oct 15
0
tkcanvas/bitmap for Turtle World
To represent a turtle inside a canvas (tcltk package), I have a serie of
bitmaps
representing the turtle heading in different directions and I would like
to display the one that corresponds to the current direction of the turtle
(function below).
I have created with Paint a bitmap representing the turtle in BMP format
and succeeded displaying it on canvas after converting it into XBM format
2003 Oct 27
1
Difficulties with R.oo (static fields, etc.)
I would like to use R.oo and tcltk to implement a Turtle World. I have
encountered
many problems because:
1) I am not sure how to implement static fields with R.oo
2) I am not sure how to implement a constructor that would
call a function only for the first instance of a class (i.e., to
initialize
value of static fields only once)
3) I am not sure how to remove/delete cleanly existing
2005 May 10
1
Fwd: Re: Implementation of the names attribute of attribute lists
Hi Martin,
Thanks for your reply. I am responding on r-devel to
provide some examples of outputs of the function that
I had list in the post-scriptum of my previous
email (BTW, did my post went through the list? I
subscribed only after mailing it).
You wrote:
>Just to ask the obvious:
>
> Why is using str() not sufficient for you and instead,
> you use 'print.object'
2006 Dec 16
2
how to adjust link function in logistic regression to predict the proportion of correct responses in 2AFC task?
I have would like to use logistic regression to analyze the
percentage of correct responses in a 2 alternative forced
choice task. The question is whether one needs to take into
account the fact expected probabilities for the percentage of
correct responses ranges between 0.5 and 1 in this case and
how to adjust the link function accordingly in R (see details below).
Gabriel
Subjects were asked
2005 May 10
0
Implementation of the names attribute of attribute lists
Dear all,
Internally, the attribute list appears to be implemented as an generic
list vector with a names attributes (i.e., the attribute slot in the object's
SEXPREC structure would point toward a VECTOR_SEXPREC representing
a generic vector).
> attributes(c(a=1))
$names
[1] "a"
> typeof(attributes(c(a=1)))
[1] "list"
From R, it appears as if the named list had
2006 Dec 18
1
Applying variable labels across a data frame
Hi All,
I'm working on a class example that demonstrates one way to deal with
factors and their labels. I create a function called myLabeler and apply
it with lapply. It works on the whole data frame when I subscript it as
in lapply( myQFvars[ ,myQFnames ], myLabeler ) but does not work if I
leave the [] subscripts off. I would appreciate it if anyone could tell
me why. The program below
2005 May 07
1
help for bootstrap of backward stepwise logistic regression
I would like to perform a bootstrap validation of a backward stepwise
logistic regression analysis, but I am a beginner with R and I am not
sure of how to do it.
Is there anyone that can send me a sample file in tab format (that I
can modify in Excel by pasting my data) and the pertinent R algorithm?
Many thanks
Giuseppe
--
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dr. Giuseppe Biondi
2012 Jul 25
1
[LLVMdev] Inneffiecient code produced by reg2mem?
Is there a pass I can use after reg2mem to get rid of occurances like this?:
store i32 %cond, i32* %cond.reg2mem
%cond.reload = load i32* %cond.reg2mem
store i32 %cond.reload, i32* %cond4.reg2mem
Essentially, in this case, reg2mem creates an extra memory space to store
and load a value from just here, and never uses the value again; since this
isn't efficient code, I'm wondering if
2013 Nov 02
1
Cent OS 6.3 and free-nx
Folks,
I found free-nx in the repositories and tried to install/use it
I could not figure out how to get it working.
I tried following directions on the wiki
But I still could not get it working
Feel free to contact me at
stephen.bovy at teradata.com
I am currenly using the official ns server on sles 11 sp3
Is their any direction on how to install free nx on sles ??
2003 Sep 28
0
Turtle world
Dear all,
I am trying to do a "loose" implementation in R of the Turtle World (LOGO) and
need some advices on graphical issues.
In its current very simple implementation, the user can give order to the
the turtle to
move through the console. The current position and movements are displayed
graphically (see below). In the future, I would like to permit the turtle
to interact
with
2004 Apr 22
2
[PATCH] --timelimit and --stopat
Greetings,
Upon a suggestion to improve the --timelimit patch, I have also added a --stopat option.
You can get the patch from this URL and/or cut/paste it from below.
http://www.terry.uga.edu/~jft/rsync-timelimit-stopat.patch.gz
Here are the details...
--timelimit=T
This option allows you to specify the maximum number of minutes
rsync will run for. This time starts when
2002 Nov 15
2
SPAM on List...
Re: Per the discussions about spam on this list.
Sending a confirming message to an unregistered poster is not a good
idea. The return/reply-to addresses in spam is forged, and that is just
adding to some victims e-mail.
Filtering runs the risk that a legitimate message gets lost, and the
sender does not realize it.
Filtering is also the most expensive and innefficient way to deal with
2005 Sep 07
0
innefficient -c
when i do -c the program seems to wait until the local file list is
done before starting the remote file list....how can i make it start
on both at the same time
2018 May 30
2
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
>
> is in the business of deciding, but it does score it as a difference
> because it now, at no point, sees the expression "first" evaluate to a
> value of 5, or "total" to a value of 8 which it did previously. From the
> source-level debugging experience, the variables now just get updated
> between iterations.
>
Obviously should've been 7 for that
2018 May 30
0
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
>
>
> `SROA' is an early stage pass running at the very beginning of the
> pipeline in `-O{1,2,3}'. Greg Bedwell's report from his DExTer tool
> shows SROA on function as one of the major culprits of Debug Info
> loss.
>
>
The methodology I used is with the opt-bisect-limit option on clang, so
it's not strictly the case that the results presented
2006 Jan 31
1
what with privileges
Hello samba,
I try add machine into domain. If i run smbldap-useradd manually, all
ok. But from samba i get errors:
Jan 29 22:47:04 sstand net: smbldap_open: cannot access LDAP when not root..
Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] lib/smbldap.c:smbldap_search_suffix(1246)
Jan 29 22:47:04 sstand net: smbldap_search_suffix: Problem during the LDAP search: (unknown) (Time limit
2011 Aug 15
0
[LLVMdev] LLVM 2.9 64bits on Visual Studio 9
FYI, I have confirmed it works on VS10SP1 with x64|Release.
E:\llvm\build\cmake-x64-vs10>bin\Release\Fibonacci.exe 24
verifying... OK
We just constructed this LLVM module:
---------
; ModuleID = 'test'
(snip)
---------
starting fibonacci(24) with JIT...
Result: 46368
...Takumi
2011/8/11 <gleizesd at gmail.com>:
> Hello everybody,
>
> I have sucessfully compiled LLVM