similar to: How call method of root "class" directly?

Displaying 20 results from an estimated 2000 matches similar to: "How call method of root "class" directly?"

2002 Oct 13
1
The class attribute on an environment seems buggy (PR#2159)
Full_Name: Henrik Bengtsson Version: 1.6.0, 1.5.1 OS: WinXP Pro Submission from: (NULL) (128.250.252.82) The following example, which I tested on both R v1.5.1 and R v1.6.0 on WinXP Pro, shows the problem I encountered when trying to use the class attribute of an environment: # Define method print() for class Environment C print(e) # gives: # [1] "An Environment!" # Exit [R]
2002 Nov 11
1
library() - Error: Package foo was built for Win32
>From R v1.6.0 there has been a new test added to the library() code. This test is performed when library() is ran on a "unix" system and it verifies that the "Built" platform (from the DESCRIPTION file) is "compatible" with the current platform. Here is the code extract from the local function testRversion() of library() that I am talking about: if
2003 Apr 24
3
R TclTk Examples
Hi, I've been learning how to use R TclTk in Windows over the last few months. I have recently put together a collection of examples of some common widgets and their corresponding R code, at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/ I would be interested in any feedback - Is it useful? Does it contain any significant errors or bad coding style? Does anyone else want to
2003 Mar 27
0
R TclTk iwidgets::combobox
Thanks Peter, I've started a new R session (in Windows) and managed to get both ways working now : ### THIS WORKS !!! ### library(tcltk) tclRequire("IWidgets") tt<-tktoplevel() combo <- tkwidget(tt,"iwidgets::combobox") tkpack(combo) ### AND THIS WORKS TOO !!! ### tt<-tktoplevel() win <- .Tk.subwin(tt)
2003 Mar 26
0
R TclTk iwidgets::comboboc
Hi, I am trying to create a drop-down combobox in R TclTk. The following works fine for a ListBox but fails for a combobox: ################# THIS WORKS FINE - CREATES AN EMPTY LISTBOX ## tt<-tktoplevel() win <- .Tk.subwin(tt) .Tcl(paste("listbox",.Tk.ID(win),.Tcl.args())) tkpack(win) ################## THIS FAILS - ATTEMPTS TO CREATE A COMBOBOX ## tt<-tktoplevel() win
2003 Apr 23
1
iwidgets in tcltk in R 1.7.0
Hi, I have successfully installed R 1.7.0 and ActiveTcl 8.4.2.0 in Windows 2000. Yes, I know that Tcl is already bundled with R 1.7.0, but I want to use the iwidgets package to create a drop-down listbox, and I don't think iwidgets is included in the bundled R 1.7.0/TclTk installation package. I have set the environment variables TCL_LIBRARY and MY_TCLTK to the directory where I
2003 Feb 20
2
Who to decide what a generic function should look like?
I am not sure if what I am asking below should be discussed under r-help or r-devel, so please feel free to move over to r-devel. This is a spin off from Gordon Smyth's question about generic functions and Robert Gentleman's reply. I have tried to raise the question before and I am sure this has been discussed by others, but never on the r-help list what I can see. My concern is that
2003 Feb 20
2
Who to decide what a generic function should look like?
I am not sure if what I am asking below should be discussed under r-help or r-devel, so please feel free to move over to r-devel. This is a spin off from Gordon Smyth's question about generic functions and Robert Gentleman's reply. I have tried to raise the question before and I am sure this has been discussed by others, but never on the r-help list what I can see. My concern is that
2020 Apr 28
0
mclapply returns NULLs on MacOS when running GAM
Hi, a few comments below. First, from my experience and troubleshooting similar reports from others, a returned NULL from parallel::mclapply() is often because the corresponding child process crashed/died. However, when this happens you should see a warning, e.g. > y <- parallel::mclapply(1:2, FUN = function(x) if (x == 2) quit("no") else x) Warning message: In
2003 Jan 28
1
Name spaces and behavior of overloaded functions?
First of all, I haven't followed the discussion about the new/upcoming name space support in R so I do not know the purposes or requirements for it, neither its design, and I can only guess. I found the (initial?) notes by Luke Tierney on the Developers Page. Are there any other references? Since it seems that the current implementation (R v1.6.2) of name spaces is a "trial" version
2005 Jul 19
2
Free Music for MOH from Digium?
Hi All... I installed the Debian Sarge Asterisk package and in the docs it had the licensing terms for the MOH, explaing that Digium (or someone) had licensed the mucic for distribution as MOH only. That's fine, but I can't find the music! Does anyone know where it can be found? Is there another source of free MOH that sounds good with Asterisk? Thanks...
2024 Jul 17
1
grDevices segfault when building R4.4.0 on RHEL 9.1.
Hi Ivan, An apology, I was away for quite a bit. To reproduce the setup: I have been using the default GCC in RHEL 9.1. gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-host-pie
2020 Apr 29
0
mclapply returns NULLs on MacOS when running GAM
Do NOT use mcparallel() in packages except as a non-default option that user can set for the reasons Henrik explained. Multicore is intended for HPC applications that need to use many cores for computing-heavy jobs, but it does not play well with RStudio and more importantly you don't know the resource available so only the user can tell you when it's safe to use. Multi-core machines are
2004 Dec 15
3
codec order in SIP doesn't work
hi using the following in sip.conf, codec preferences aren't set, and asterisk uses alaw whatever I do, except force it to one specific in the [user] [general] disallow=all allow=g726 allow=g729 allow=gsm allow=alaw then, from 'sip show peer something' it tells me Codecs : 0x11a (gsm|alaw|g726|g729) Codec Order : (none) can someone please explaing why? this is
2011 Mar 16
1
Standardized Pearson residuals (and score tests)
Hi Peter and others, If it helps, I wrote a small function glm.scoretest() for the statmod package on CRAN to compute score tests from glm fits. The score test for adding a covariate, or any set of covariates, can be extracted very neatly from the standard glm output, although you probably already know that. Regards Gordon --------------------------------------------- Professor Gordon K
2020 Apr 28
0
mclapply returns NULLs on MacOS when running GAM
Sorry, the code works perfectly fine for me in R even for 1e6 observations (but I was testing with R 4.0.0). Are you using some kind of GUI? Cheers, Simon > On 28/04/2020, at 8:11 PM, Shian Su <su.s at wehi.edu.au> wrote: > > Dear R-devel, > > I am experiencing issues with running GAM models using mclapply, it fails to return any values if the data input becomes large.
2003 Mar 27
2
Problem with xcopy /d & samba
A problem has arisen with the way samba handles file creation dates compared to NT/win2k, which prevents xcopy /d from working correctly. On NT/Win2k, files copied from another NT machine using xcopy end up with the modified dates equal to the original modified date of the file, and the created and accessed dates become the date of the xcopy operation. On Samba, files copied from an NT
2024 May 03
1
grDevices segfault when building R4.4.0 on RHEL 9.1.
Hi all, I seem to be getting segfaults when attempting to build R 4.4.0 on RHEL 9.1 (5.14.0-162.23.1.el9_1.x86_64). Interestingly, it seems to build ok on Rocky 9.1 and 9.3. This is the trace: make[3]: Entering directory '/home/esteva.m/R/R-4.4.0/src/library/grDevices' building package 'grDevices' make[4]: Entering directory
2005 Apr 22
1
Infinite degrees of freedom for F-distribution
This is just a suggestion/wish that it would be nice for the F-distribution functions to recognize limiting cases for infinite degrees of freedom, as the t-distribution functions already do. The t-distribution functions recognize that df=Inf is equivalent to the standard normal distribution: > pt(1,df=Inf) [1] 0.8413447 > pnorm(1) [1] 0.8413447 On the other hand, pf() will accept Inf
1998 Aug 19
0
xcopy failures; SAMBA digest 1784
I had a simular problem in a single server (unix) environment with PC clients although we were using NFS stack for drive maps. The issue is came down to this: a MS-DOS pathspec cannot exceed 64 characters, with the pathspec looking something like 'server_name:\directory\dir...\...\filename.ext". Your NT and Samba systems are probably selected a SMB protocol like Core Plus or LAN Man 1.0,