Displaying 20 results from an estimated 10000 matches similar to: "Syncing window plot update events during long-running evaluation"
2011 Jan 12
2
Access R Help Content From R
Have UI that simplifies running code from another (internal) package,
allowing user to set values on fields I basically grabbed from results
of calls to formals() for various functions. That works fine for the
most part. But it was requested to investigate some type of popup help
or something for each field.
Since I already wrote the information in the dot-Rd files for what
should be displayed,
2010 Aug 24
1
save() object w/o all of the loaded environment
I have two packages, one that does the actual work (SC) and the other
a Tcl/Tk UI (SCUI) that invokes methods within the former. Within the
SCUI's invocation method, I save an object returned from SC, the
results of a long-running method.
Now the object is completely described by the SC package. Unfortunately,
any attempt to load the object (in a fresh R session) fails as below.
R>
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
I'm attempting to reflect the information for use with corresponding
fields in GUI (in a different package), to provide default values,
argname as key for UI label lookups, etc.
So I want something much more like the formals of the implementation:
{
"object",
"method": c("median", "vs", "tukey"),
2010 Oct 23
2
[Wine 1.3.5] Glu error on custom 3D application
Hello,
I am trying to run a small application called Miku Desktop Mascot. a small anim character dancing on the screen (nice distraction when all day on code lines).
current system is :
Fedora 13 x64
Nvidia GTX 460 , proprietary driver 260.19.12
Wine 1.3.5 x64
I actually am a java developer (not c++) so if I can be of any help testing, compiling wine on my machine it's possible.
thanks
2015 Jan 29
0
[Q] Get formal arguments of my implemented S4 method
At this point I would just due:
formals(body(method)[[2L]])
At some point we need to figure out what to do with this .local() confusion.
On Wed, Jan 28, 2015 at 10:07 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org>
wrote:
> I'm attempting to reflect the information for use with corresponding
> fields in GUI (in a different package), to provide default values,
> argname
2014 Feb 05
1
R CMD check, NOTEs, & S4-dependent packages
As I was running "R CMD check" on one of my older packages
(matlab), I was attempting to fix one of the NOTEs which
bitches about attempting to change the search path using
require().
In my case, I am repeating a package dependency for "methods"
package in my .onLoad() function. Can this scenario (based
on something B. Ripley discussed many years ago) no longer
occur? Just
2015 Jan 29
3
[Q] Get formal arguments of my implemented S4 method
On Jan 28, 2015, at 6:37 PM, Michael Lawrence <lawrence.michael at gene.com> wrote:
> At this point I would just due:
>
> formals(body(method)[[2L]])
>
> At some point we need to figure out what to do with this .local() confusion.
Agreed, definitely. The current hack is to avoid re-matching arguments on method dispatch, so a fix would need to be fairly deep in the
2006 Apr 13
2
[R] S4 method dispatch matrixOrArray (fwd)
What a delicious example! (I'm taking the liberty of sharing it with
r-devel, since it raises some good issues.)
You have two questions, presumably:
1 - how could the order of the setMethod calls make a difference in the
results?
2 - what's causing the infinite loop & how could it be avoided, reliably?
Second question first. The danger sign is the "vector" method:
2005 Nov 12
2
sibling list element reference during list definition
Can the value of a list element be referenced from a
sibling list element during list creation without the use
of a temporary variable?
The following doesn't work but it's the general idea.
> list(value = 2, plusplus = $value+1)
such that the following would be the output from str()
List of 2
$ value : num 2
$ plusplus: num 3
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
Interrogating some (of my own) code in another package.
>norm.meth <- getMethod("normalize", "MatrixLike")
>message("str(norm.meth)")
>str(norm.meth)
>message("show(norm.meth at .Data)")
>show(norm.meth at .Data)
Last show() displays this:
function (object, ...)
{
.local <- function (object, method = c("median",
2009 Nov 25
2
DO NOT REPLY [Bug 6928] New: Warn the user to use --modify-window=1 --no-owner --no-group etc. on FAT partitions
https://bugzilla.samba.org/show_bug.cgi?id=6928
Summary: Warn the user to use --modify-window=1 --no-owner --no-
group etc. on FAT partitions
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo:
2007 Nov 10
3
Anti-aliasing?
I''m doing a graphics application and need onscreen anti-aliasing for
both lines and text. Seems like wxGraphicsContext would do that, is that
planned to be ported to wxRuby?
Best regards,
Jari Williamsson
2010 Apr 12
2
'p' in boot selector & going into single-user
On boot, when I hit the F12 key to bring up the boot menu, the screen
displays the various kernels and other boot options. In the text below
this menu it says I can hit 'p' to bring up a menu with other options.
I've done this with the last two boot-ups and no other menu or options
appear. Is something missing? (I also tried Alt-p, Shift-p, Ctrl-p and
a few other keys and
2004 Jul 07
1
NAMESPACE and tests for unexported functions
How do you get around the problem of having tests for
functions that are not exported in NAMESPACE? It seems
rather self-defeating to have to export everything so
that 'R CMD CHECK pkg' won't crash when it encounters
a test case for an internal function. I don't want
someone using the package to call the function, but the
package itself should be able to see its own contents.
2006 Mar 29
2
Recall for parent
What's the best way to simulate Recall for parent function?
Consider this one-time recursive code:
alwaysEven <- function(x) {
handleOdd <- function(x) {
alwaysEven(x-1) # use Recall-like here
}
return(if (x %% 2) handleOdd(x) else x)
}
any2even <- alwaysEven
rm(alwaysEven)
any2even(3)
----------------------------------------------------------
SIGSIG --
2006 Apr 20
0
Breakdown a number [Broadcast]
I meant to send this to R-help, but it went to Gabor instead...
This is my shot at it using diff(), assuming breaks is in non-decreasing
order:
chop <- function(x, breaks) {
s <- sign(x - breaks)
if (x <= breaks[1]) {
ans <- x
} else {
numPieces <- sum(s == 1)
ans <- diff(c(0, breaks[1:numPieces], x))
}
ans
}
Some tests:
>
2006 May 03
3
sprintf question
How would one go about getting sprintf to use the
values of a vector without having to specify each
argument individually?
> v <- c(1, 2, -1.197114, 0.1596687)
> iv <- c(3, 1, 2, 4)
> sprintf("%9.2f\t%d\t%d\t%8.3f", v[3], v[1], v[2], v[4])
[1] " -1.20\t1\t2\t 0.160"
Essentially, desired effect would be something like:
>
2013 Nov 27
1
Fwd: Isolinux 5.01 and higher not working on various Dell desktops
I recently tried using the latest GParted Live iso (0.16.2-11 i686
PAE) on a few circa-2004 Dell desktops (e.g. Dimension 8400, Precision
370, OptiPlex 170L, all with latest BIOS). However nothing would
appear onscreen after selecting cdrom boot. I managed to modify the
iso and use isolinux-debug.bin, and the output I always received was:
ISOLINUX 6.02 2013-10-13 Copyright (C) H. Peter Anvin et
2001 Apr 24
1
systray apps invisible
I have a problem with applications residing in systray. The systray is
always invisible, nowhere onscreen to be found. What the app starts I
sometimes see a window showing itself and the immediately disappearing
again. The applikation is running but I cannot access it.
I have to start the app with desktop in order to gain access to the
systray, but that surely cannot be the idea (as I do see
2005 Jun 22
1
Rgui bug in Windows: leftover download dialog (PR#7964)
In Windows, if a download is interrupted (by switching to the console
window and hitting ESC), the download status dialog can be left
onscreen, with no apparent way to get rid of it (other than stopping and
restarting R).
To duplicate:
Run this:
a <- available.packages()
download.packages(a, 'c:/temp')
Then, during a particularly long download, switch to the console window
and