similar to: Unexpected behaviour of x[i] when i is a matrix, on Windows

Displaying 20 results from an estimated 10000 matches similar to: "Unexpected behaviour of x[i] when i is a matrix, on Windows"

2009 Dec 28
2
[BioC] make.cdf.package: Error: cannot allocate vector of size 1 Kb
My machine has 8GB memory. I had quit all other programs that might take a lot of memory when I try the script (before I post the first message in this thread). The cdf file is of only 741 MB. It is strange to me to see the error. On Mon, Dec 28, 2009 at 2:38 AM, Wolfgang Huber <whuber at embl.de> wrote: > Dear Peng Yu > > how big is the RAM of your computer? You could try with
2016 Apr 11
1
R not responding (must force quit) when saving graphic to PDF (bug?)
Dear Wolfgang, Thanks for your response. No, I haven't tried doing the complete reinstallation as you suggest. If I recall correctly, this has happened on previous occasions but like I said in my email it's not all that disruptive to my workflow. It's more like a 'first world problem'. I was encouraged to submit the query because I had correspondence with someone involved
2010 Jan 16
1
"Too many raster images" in devPS.c
Hi, I am finding the recently added [1] functionality of embedding raster images into plots on R devices very useful! Thanks to Paul Murrell and others for providing that. I noted that in https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c a macro is defined: #define MAX_RASTERS 64, and consequently, I get Error in grid.Call.graphics("L_raster", x$raster, x$x, x$y,
2010 Oct 13
2
Scripting SVG with R
Since now many browsers support (ECMA/Java-)scripted SVG, I am wondering whether there are already any examples of inserting R code into SVG documents (or a Javascript canvas?) either directly, or perhaps more likely through a JavaScript layer, to dynamically generate graphics or make them interactive? I am aware of the excellent packages gridSVG and SVGAnnotation, which facilitate making
2018 Sep 20
2
A different error in sample()
FWIW, I suspect this is related to the function R_unif_index that was introduced in src/main/RNG.c around revision 72356, or the way this function is used in do_sample in src/main/random.c. 20.9.18 08:19, Wolfgang Huber scripsit: > Besides wording of the documentation re truncating vs rounding, there is > something peculiar going on with the fractional part of n: > > >
2018 Sep 20
3
A different error in sample()
Good day, The use of "rounding" also doesn't make sense. If The number is halfway between two integers, it is rounded to the nearest even integer. > round(2.5) [1] 2 -------------------------------------- Dario Strbenac University of Sydney Camperdown NSW 2050 Australia
2009 Feb 25
1
Unexpected side effect of the ":::" operator on the value of isGeneric
Hi, when running the following on a fresh R, library("IRanges") annotation showMethods("annotation") Biobase:::annotation showMethods("annotation") I get (see the "^^^^^" marked output at the bottom): > library("IRanges") Carico il pacchetto richiesto: 'IRanges' The following object(s) are masked from package:base :
2016 Apr 11
2
R not responding (must force quit) when saving graphic to PDF (bug?)
Dear colleagues, I wish to report a problem I encounter when trying to save a graphic to file. When I produce a graphic and try to save it R becomes unresponsive and I must force quit, and then restart R. The problem occurs when I try to overwrite an existing graphic: for example when I made changes to the graphic and want to save the graphic using the original file name. It only happens when I
2018 Sep 20
0
A different error in sample()
Besides wording of the documentation re truncating vs rounding, there is something peculiar going on with the fractional part of n: > table(sample.int(2.5, 1e6, replace = TRUE)) 1 2 3 399051 401035 199914 > table(sample.int(3, 1e6, replace = TRUE)) 1 2 3 332956 332561 334483 > table(sample.int(2.01, 1e6, replace = TRUE)) 1 2 3
2016 Apr 11
0
R not responding (must force quit) when saving graphic to PDF (bug?)
Dear Neil Have you tried with completely uninstalling your R, and reinstalling a more recent version (e.g. 3.2.4 right now). And then the same with your operating system - OS X is currently at 10.11.4. There is likely not much interest (or benefit) in chasing such things in obsolete versions. And I think R-help would be the more appropriate place for this kind of question. Wolfgang > On Apr
2007 Mar 06
2
SVG and tooltips, hyperlinks
Dear all, is there a good way to create SVG plots with R whose elements have titles (tooltips) or act as hyperlinks? I am using the RSvgDevice package, which works great - but it doesn't seem to support the notion that plot objects have titles or are act as hyperlinks, so I am helping myself by giving the objects funny unique colors and then postprocessing the .svg file. I wonder
2007 Mar 06
2
bug: sticky symbol refs? (PR#9555)
Hello. What happens in the following is that I create two simple functions, f and g, on the workspace. Then I replace g. When I then call f, it uses the old version of g. Now clearly, the circumstances for this to happen must be quite special and rare. But I'd say they're not pathological. It seems to require two things: 1) masked versions of f and g on a search position lower down the
2010 Apr 19
1
Issue with aggregate.ts and/or %\% on Windows
I've stumbled across an issue with aggregate.ts that either is due to a misuse of %/% or something deeper relating to numerical precision on Windows. The test code is x <- rep(6:10, 1:5) as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5)) On Linux and Mac I get the correct answer > x <- rep(6:10, 1:5) > as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5) [1] 7.2 8.8
2010 Mar 19
3
strange behavior, adds new field by non-existent field
data: > tmp1 Date HrMn Temp Q.4 1 19450101 0900 -37.0 1 2 19450101 1000 -35.9 2 3 19450101 1100 -35.9 3 4 19450101 1200 -36.4 4 5 19450101 1300 -36.4 5 6 19450101 1400 -36.4 6 7 19450101 1500 -36.4 7 8 19450101 1600 -37.5 9 Accidentally, I did this (I meant to write Q.4 instead of Q here) > tmp1$Q[tmp1$Q!="1" & tmp1$Q!= "5"]<-NA I would
2008 Aug 21
2
data.frame() creates list?
I obviously don't know what I'm doing. I want to create "ByEBNum" as a data frame, but it comes out as a list. How do I make it a data frame? > EBNumStn <- c(673.65, 800, 1000, 1000, 800, 700, 600, 500, 400, 200, 50, 50 ) > ByEBNum <- data.frame(c(1:12),EBNumStn) > typeof(EBNumStn) [1] "double" > typeof(c(1:12)) [1]
2010 Feb 11
2
Suprising behavior of paste or cat?
I may be making a simple error, but I've looked at the str() of the resulting objects and I can't see any obvious reason I'm having the problem I am having, so I am reaching out to the R-help group. ?I am generating a string in my code. ?When I make a slight modification (add a comma at the end using my "lastcomma" function), I can no longer successfully write that string to
2010 Mar 18
1
How to read.table with “Hebrew” column names (in R)?
(I am reposting this question after a few months without a solution...) Hi all, I am trying to read a .txt file, with Hebrew column names, but without success. I uploaded an example file to: http://www.talgalili.com/files/aa.txt And tried the command: read.table("http://www.talgalili.com/files/aa.txt", header = T, sep = "\t") This returns me with: X.....ª X...ª......
2017 Apr 19
2
Crash after (wrongly) applying product operator on S4 object that derives from list
Dear Hilmar Perhaps this gives an indication of why the infinite recursion happens: ## after calling `*` on ma and a matrix: > showMethods(classes=class(ma), includeDefs=TRUE, inherited = TRUE) Function: * (package base) e1="FOOCLASS", e2="matrix" (inherited from: e1="vector", e2="structure") (definition from function "Ops")
2007 Dec 02
1
sd(NA)
Dear Prof. Ripley I noted a change in the behaviour of "cov", which is very reasonable: ## R version 2.7.0 Under development (unstable) (2007-11-30 r43565) > cov(as.numeric(NA), as.numeric(NA), use="complete.obs") Error in cov(as.numeric(NA), as.numeric(NA), use = "complete.obs") : no complete element pairs whereas earlier behavior was, for example: ## R
2010 May 28
1
require( "foo (>= 2.1)" )
Hello, I often find myself writing code like : if( require( "foo" ) && compareVersion( packageDescription( "foo")[["Version"]], "2.1" ) < 0 ){ # code that uses version 2.1 of foo } else { stop( "could not load version >= 2.1 of foo" ) } Would it make sense to include something like this in require, library, etc ... require(