similar to: Unexpected result after auto-attaching of the Matrix package

Displaying 20 results from an estimated 1000 matches similar to: "Unexpected result after auto-attaching of the Matrix package"

2025 Feb 12
1
Unexpected result after auto-attaching of the Matrix package
Why aren't you loading the package before you load the object that assumes the relevant methods for that object are available? On February 11, 2025 4:51:48 AM PST, H B via R-help <r-help at r-project.org> wrote: >Dear all, > >I just stumbled on this behavior - not sure if this is expected: > >R version 4.4.2 (2024-10-31) -- "Pile of Leaves" >Copyright (C)
2025 Feb 12
1
Unexpected result after auto-attaching of the Matrix package
? Tue, 11 Feb 2025 13:51:48 +0100 H B via R-help <r-help at r-project.org> ?????: > > class(d) > [1] "dgCMatrix" > attr(,"package") > [1] "Matrix" > > dim(d) > Loading required package: Matrix > NULL Here's what happens here: 1. .Primitive("dim") considers dispatching a dim() method:
2024 Jun 15
1
Hard crash of lme4 in R-devel
I ran across this by accident when working up an example. It uses a data set from the survival package, but nothing else from there. Fails on the Intel machine shown below, and on a virtual linux instance on a newer Mac. Terry > library(survival) > library(lme4) Loading required package: Matrix > sessionInfo() R Under development (unstable) (2024-06-14 r86747) Platform:
2008 Mar 27
1
snow, stopping cluster
Hello, is there any function in the package snow to check for a really running cluster? The function checkCluster only checks the variable cl. And the variable is still available after stopping the cluster! ( a simple solution would be deleting the cluster variable cl in the function stopCluster) > library(snow) > cl <- makeCluster(5) 5 slaves are spawned successfully. 0
2010 Dec 17
2
installing package from source with Linux
Dear list, this may not be related to R but rather to my OS, but I do not understand the issue of compiling R packages deeply enough to figure out the exact cause of the problem. I am trying to install a R package from source as it is not yet available under Cran (Rssa, downloaded here: https://github.com/asl/rssa). Running sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz from the console
2007 Mar 31
1
add confidence intervales to xyplot for ANCOVA and extracting info
Hi, I would like to add confidence intervales to an ANCOVA with 2 covariates when using xyplot. What would be a good way of accomplishing this? --8<---------------cut here---------------start------------->8--- rm(list = ls(all = TRUE)) rm(list = c(ls())) library(lattice) ## 1. generate data random <- rnorm(200) y <- abs(random) x1.cont <- abs(random) x2.fac <-
2011 Mar 01
2
can't open Cairo device
Dear list, in R under wheezy the following error occurs: > library(cairoDevice) > Cairo() Error in Cairo() : Graphics API version mismatch It seems to be Debian-specific, as I tried the same under OpenSUSE 11.3 and it worked. I tried installing cairoDevice via `apt-get install r-cran-cairodevice' and with `install.packages("cairoDevice")' in R (without any
2008 Feb 27
1
d_fontdb.d, g_her_glyph.d
Dear Developers, I'm updating my R installation via svn (currently: Revision 44626). For some time now (sorry don't know the exact revision number) make for R devel yields the following error make[4]: *** Keine Regel vorhanden, um das Target ?../../../src/include/R_ext/GraphicsBase.h?, ben?tigt von ?g_fontdb.o?, zu erstellen. Schluss. (translation: no rule to make target ...
2008 May 23
1
Evaluation "conflict" in combination of replicate() and rexp()as variable inside a function
Dear userRs, "playing around" with combinations of replicate() and random number generating functions inside a self-defined "wrapper" function I encounterd a puzzling behaviour. The following are intentionally simple (and rather nonsense-) examples to isolate the relevant aspects. Please, note the seemingly "inconsistent" behaviour for the second call of
2012 Jan 11
2
lubridate does not install on FreeBSD any more
With newest R devel #sessionInfo() R Under development (unstable) (2012-01-10 r58085) Platform: amd64-portbld-freebsd10.0 (64-bit) locale: [1] de_DE.ISO8859-15/de_DE.ISO8859-15/de_DE.ISO8859-15/C/de_DE.ISO8859-15/de_DE.ISO8859-15 attached base packages: [1] stats graphics grDevices utils datasets methods base I get the following error when I try to build and install lubridate from
2011 Feb 25
1
Error: address 0x6951c20, cause 'memory not mapped'
Dear R list, I get a strange error in R: *** caught segfault *** address 0x6951c20, cause 'memory not mapped' Traceback: 1: .C("spline_eval", z$method, nu = as.integer(n), x = as.double(xout), y = double(n), z$n, z$x, z$y, z$b, z$c, z$d, PACKAGE = "stats") 2: spline(gam.data$x[, col.data], gam.smooths.all$fit[, m], xout = gam.results.global[m, ,
2007 Nov 01
1
Matrix package problem: dsyMatrix %*% vector gives error
Dear UseRs, here is an example scenario presenting my problem: Multiplying a dsyMatrix with a numeric vector results in an error (unfortunately in German due to my locale): > (M1 <- Matrix( c( 1, 2, 2, 2, 1, 2, 2, 2, 1), nrow = 3)) 3 x 3 Matrix of class "dsyMatrix" [,1] [,2] [,3] [1,] 1 2 2 [2,] 2 1 2 [3,] 2 2 1 > M1 %*% 1:3 Fehler in x %*%
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I don''t want to enable different languages per user/request because there are very few users who all speak german). Therefore I have config.i18n.default_locale = :de in config/ application.rb. I have no code whatsoever to set/change I18n.locale in my app. In development environment, it works as expected: the
2010 Nov 12
1
unexpected behaviour of rbind with dataframe containing POSIXct
Hello list, here is what I stumbled upon: 1> test <- data.frame(time=as.POSIXct((1:2),origin="2000-1-1")) 1> test time 1 2000-01-01 00:00:01 2 2000-01-01 00:00:02 1> rbind(test,b=1:2) Fehler in as.POSIXct.numeric(value) : 'origin' muss angegeben werden When I try to attach an additional row to a dataframe with a row containing dates I get the
2012 Apr 17
5
loss of information in pdf plots
Hi there is it possible that pdfs generated using the pdf() function with default settings leads to loss of information? I was plotting copy number changes from Agilent 180k data in form of rectangles (rect()) while each rectangle represents one region of copy number change. When plotting into a pdf I noticed that some very small rectangles do not appear (even after extensive zooming) in the pdf
2024 Jun 15
1
Hard crash of lme4 in R-devel
? Sat, 15 Jun 2024 02:04:31 +0000 "Therneau, Terry M., Ph.D. via R-devel" <r-devel at r-project.org> ?????: > other attached packages: > [1] lme4_1.1-35.1 Matrix_1.7-0 I see you have a new Matrix (1.7-0 from 2024-04-26 with a new ABI) but an older lme4 (1.1-35.1 from 2023-11-05). I reproduced the crash and the giant backtrace by first installing latest lme4 and then
2009 Dec 29
1
problem reading from serial connection since 2.10.0
Dear list, I have a balance connected to the serial port of a windows machine ("COM1") and I read the text output of the balance with scan("COM1", what="character", sep="\n", n=1) after calling the previous line I press the print key on the balance which triggers sending one line of text to the serial connection and with R 2.9.2 I get something like Read
2017 Aug 27
2
asterisk13: no voicemail prompt in German
According to the instructions given at https://www.asterisksounds.org/de I converted and installed German prompts successfully and for numbers, I can successfully listen to a German female voice counting or telling the date/time. But unlikily, somehow the voicemail prompt is still English, although my general language settings are "de". I use pjsip.conf, not sip.conf. In
2011 Jul 22
1
Problem with creating default NAMESPACE on FreeBSD
After building and installing R-devel from 21/07/2011 on FreeBSD 9.0-CURRENT (amd64), starting R gives the following warning: [..snip..] Beim Start - Warnmeldung: package 'datasets' in options("defaultPackages") was not found This happens with all versions after 14/07/2011. I think it is related to NEWS Sat, 16 Jul 2011 CHANGES IN R-devel PACKAGE INSTALLATION Packages without
2010 Feb 12
1
Problems with savePlot() and postscript under Snow Leopard
Dear all, I tried: > iris > species.n <- as.numeric(Species) > plot(iris, col = species.n) > savePlot(filename="IrisTestPlot", type="png") and got the error message: Fehler in savePlot(filename = "IrisTestPlot", type = "png") : kann nur aus 'X11(type="*cairo")' Devices kopieren (sorry, I have a german version of R). I