Displaying 19 results from an estimated 19 matches for "whuber".
Did you mean:
huber
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
2018 Sep 20
0
A different error in sample()
...334483
> table(sample.int(2.01, 1e6, replace = TRUE))
1 2 3
497173 497866 4961
> sessionInfo()
R Under development (unstable) (2018-09-17 r75319)
Platform: x86_64-apple-darwin17.7.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS: /Users/whuber/R/lib/libRblas.dylib
LAPACK: /Users/whuber/R/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] fortunes_1.5-4
loaded via a namespace (...
2002 Sep 19
0
Pixmap package for Windows
...n; charset=iso-8859-1' length 7505 bytes
opened URL
downloaded 7505 bytes
trying URL `http://cran.r-project.org/bin/windows/contrib/pixmap.zip'
Content type `application/zip' length 62184 bytes
opened URL
downloaded 60Kb
Delete downloaded files (y/N)? N
The packages are in C:\DOKUME~1\whuber\LOCALS~1\Temp\Rinstdir19169
updating HTML package descriptions
Warning message:
error -1 in extracting from zip file
### When trying to "Install Package from local zip file"
### (which I downloaded today from CRAN)
> install.packages("D:/temp/pixmap.zip", .libPaths()[1], CR...
2018 Sep 20
2
A different error in sample()
...E))
>
> ???? 1????? 2????? 3
> 497173 497866?? 4961
>
> > sessionInfo()
> R Under development (unstable) (2018-09-17 r75319)
> Platform: x86_64-apple-darwin17.7.0 (64-bit)
> Running under: macOS High Sierra 10.13.6
>
> Matrix products: default
> BLAS: /Users/whuber/R/lib/libRblas.dylib
> LAPACK: /Users/whuber/R/lib/libRlapack.dylib
>
> locale:
> [1] en_US.UTF-8/UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats???? graphics? grDevices utils???? datasets? methods?? base
>
> other attached packages:...
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 closing all other
> applications before running this script. You could try on a server with more
> RAM.
>
> I tried downloading the file whose URL who give below, but gave up after...
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
2016 Apr 11
1
R not responding (must force quit) when saving graphic to PDF (bug?)
...nowledgable about it's
inner workings.
To be frank, I really don't care if this is resolved. I was just trying to
help the R development group after receiving advice that it might be
important.
Again, thanks for your help.
Cheers
Neil
On Mon, Apr 11, 2016 at 6:41 PM, Wolfgang Huber <whuber at embl.de> wrote:
> 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 b...
2004 Jun 16
2
is.integer() (PR#6984)
Hello!
I'm not sure if is it a BUG or not...
I'm using R 1.9.0, and I used the command below:
> is.integer(9)
[1] FALSE
R manual contains this words about the is.integer() function:
"is.integer returns TRUE or FALSE depending on whether its argument is of
integer type or not."
What's the problem? Am I wrong about the BUG report?
Thank you very much.
M?rcio de
2003 Dec 17
2
negative numbers from object.size() on 64 bit systems
Has anyone running R 1.8.1 on a 64 bit system gotten negative numbers
from object.size() on objects > 2GB or so? For example, on
Solaris/Sparc I get
> b <- numeric(131072 * 2800)
> object.size(b)
[1] -1358954440
I get similar behavior on the Opteron (SuSE Linux). I'm not sure if
this is an R problem or something wrong with the way it was compiled on
either system.
I
2004 Aug 12
3
The Depends: field of a package is now used by library()
In R-devel, the Depends: field in the DESCRIPTION file is now used by
library() to load the named packages before the current package, and also
to set up the environment to save images and prepare for lazy loading.
Would authors please use a minimally necessary set of packages in Depends,
and put others in Suggests: -- the distinction is made in `Writing R
Extensions'. On the other hand,
2003 Sep 13
5
bug or feature? (PR#4150)
Full_Name: Axel Benz
Version: 1.7.1
OS: Windows
Submission from: (NULL) (137.251.33.43)
This feature seems to be a basic bug:
> 1=="1"
[1] TRUE
> as.numeric(1)=="1"
[1] TRUE
> as.numeric(1)==as.character("1")
[1] TRUE
isn't it necessary to distinguish beteen numbers and characters??
Best Regards,
Axel
2004 Oct 31
2
(no subject)
Dear all,
I have several questions regarding fisher.test() in
R, and I'd highly appreciate any help with it.
I have a group of observations, each having people's
income, and an indicator of whether selected in or out
a program. I want to test the difference between
income of people who are in and out.
Because the distribution is far from normal, I decide
to use the fisher's exact
2004 Oct 31
2
(no subject)
Dear all,
I have several questions regarding fisher.test() in
R, and I'd highly appreciate any help with it.
I have a group of observations, each having people's
income, and an indicator of whether selected in or out
a program. I want to test the difference between
income of people who are in and out.
Because the distribution is far from normal, I decide
to use the fisher's exact
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
2004 Mar 30
5
optim-Bug (PR#6720)
Full_Name: Dr. Hans A. Kestler
Version: 1.8.1.
OS: Linux, Win, Mac OSX
Submission from: (NULL) (134.60.73.116)
The code below produces after a different number of iterations i the following
error:
Error in optim(par = rep(0.5, length(edges)), loglik, method = "L-BFGS-B", :
non-finite value supplied by optim
This was reproducible on different machines (Mac G4 OSX, AMD Opteron
2003 Mar 07
24
Hello,
I am trying to use 'R' for K-means simulatio, could you please advise me how I can read my data into a two dimesional array? Or is there any method which directly reads the excell file? Please let me know asap.
Regards
Skanda Kallur
Cogito, Ergo Sum! Rene Descartes
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,
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
2010 Feb 12
2
Unexpected behaviour of x[i] when i is a matrix, on Windows
Hi,
when running the following on different instances of R (Linux and
Windows), I get different results. The one for Linux seems to be the
intended / documented one. When using numeric indices rather than
characters, Windows seemed to behave as expected.
-----------On Windows--------------
x = matrix(FALSE, nrow=3, ncol=3)
colnames(x) = LETTERS[1:3]
rownames(x) = letters[1:3]
x
# A