Displaying 20 results from an estimated 5000 matches similar to: "library() - Error: Package foo was built for Win32"
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 13
0
How call method of root "class" directly?
Is there a way of calling the method of the root class directly? Here is
an example explaing my question. Everything relates to S3/UseMethod
classes and methods. I have an object x of class MicroarrayMatrix, which
inherits from class Matrix. The "core" object of x is a simple matrix.
In other words, I basically have
  x <- matrix(logratios, ncol=nbrOfSpots, nrow=nbrOfSlides)
 
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 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
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)
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 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 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
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
2002 Nov 18
2
library() help for Windows
Dear R users,
I have just upgraded R v1.5.0 to v1.6.1 for Windows but have trouble loading my library of R only functions (no C calls).  After examining the "library" script this difference was found:
(v1.5.0)
which.lib.loc <- dirname(pkgpath)
            descfile <- system.file("DESCRIPTION", package = package, 
                lib.loc = which.lib.loc)
            if
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
2003 Nov 20
2
netCDF, ncdf library
Dear all,
   I would like to use data in .netcdf format and for those I have to use
   the netCDF or ncdf packages.
   Problem : these packages don't seem to work :
   "Error in testRversion(descfields) : This package has not been
   installed properly
    See the Note in ?library" (with netCDF package)
   Does anybody have the same problems with these packages ?
   Is there any
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
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
2020 Apr 28
2
mclapply returns NULLs on MacOS when running GAM
Yes I am running on Rstudio 1.2.5033. I was also running this code without error on Ubuntu in Rstudio. Checking again on the terminal and it does indeed work fine even with large data.frames.
Any idea as to what interaction between Rstudio and mclapply causes this?
Thanks,
Shian
On 28 Apr 2020, at 7:29 pm, Simon Urbanek <simon.urbanek at R-project.org<mailto:simon.urbanek at
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
2004 Mar 14
2
Troubles installing RMySQL on Win2K
What do I need to do to load the RMySQL library on Win 2K using version 1.8.1
I have Mysql v4.0.16 up and running on the local machine with several 
databases running fine.
Using RGUI I have loaded RMySQL and an appropriate directory structure has 
appeared under
C:\Program Files\R\rw1081\library\RMySQL
I have added C:\Program Files\R\rw1081\library\RMySQL\inst\libs to my path 
variable so that
2005 Jul 27
2
R 2.1.1: read.table processes C-style escapes (PR#8037)
In R 2.1.1, the default behaviour of scan() was changed to process all 
C-style escapes, even when a delimiter was specified using the 'sep' 
argument. A new argument 'allowEscapes' was introduced to turn this 
processing off.
Because read.table() calls scan(), read.table() inherits the new default 
behaviour of scan() but without a way to turn it off. For example, reading 
a file