Displaying 20 results from an estimated 3000 matches similar to: "deparse substitute"
2013 Apr 25
2
How are R version types named ? Any convention (like Hurricanes etc)
With reference to R News
News:
R version 3.0.0 (Masked Marvel) has been released on 2013-04-03.
R version 2.15.3 (Security Blanket) has been released on 2013-03-01
R version 2.15.2 (Trick or Treat) ....
R version 2.15.1 ("Roasted Marshmallows") ...
R version 2.15.0 ("Easter Beagle")
R version 2.14.0 ("Great Pumpkin")
Dear R help List,
How are these version types
2012 Aug 21
1
make check fails two tests on RHEL 6 build
I am installing R 2.15.1 onto RHEL 6, using gcc 4.7.0 with Intel MKL
10.3.7 and the following environment:
export BLAS_LIBS="-Wl,--start-group
/usr/caen/intel-12.1/mkl/lib/intel64/libmkl_gf_lp64.a
/usr/caen/intel-12.1/mkl/lib/intel64/libmkl_sequential.a
/usr/caen/intel-12.1/mkl/lib/intel64/libmkl_core.a -Wl,--end-group
-lpthread"
export LAPACK_LIBS="-Wl,--start-group
2012 Jul 29
1
[BUG?] utils::prompt(name=f)
> ?prompt
[SNIP]
## Create a help file for each function in the .GlobalEnv:
for(f in ls()) if(is.function(get(f))) prompt(name = f)
> foo <- function(x) { cat(x, '\n')}
> prompt(name="foo")
Error in utils:::prompt(object, filename = filename, name = name, ...) :
argument "object" is missing, with no default
> version
platform
2012 Oct 16
2
Windows 7 R (32/64bit) running under cygwin: package not found
Hi,
Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit.
In both of them among others I have installed a package rgenoud
When I open R gui of 32bit and write library(rgenoud) it responds by
showing a functional rgenoud version 5.7-8. The same it does on Rgui
64bit.
Now I am working in cygwin (v. 1.12.4.0) with xwin. Normally before when
I had installed a package, I only had
2012 Sep 18
2
problem with vignettes when S4 classes in packages overlap
( A similar problem is also reported by Sebastian P. Luque with
library(maptools)
library(trip)
in the vignette as below ).
I am writing a vignette which loads RMySQL and RPostgreSQL. This
produces the warning:
Loading required package: DBI
Warning in .simpleDuplicateClass(def, prev) :
A specification for class ?dbObjectId? in package ?RPostgreSQL? seems
equivalent to one from package
2012 Aug 18
1
texi2dvi error "Sweave" and "exams"
I have installed Sweave as recommended. http://lifeasclay.wordpress.com/tag/sweave/. Placing a test.Rnw file, for instance, in "/Library/Frameworks/R.framework/Versions/2.15/Resources/library/utils/Sweave" generates test.tex files that generate pdf files with LaTeX. To be honest, placing Rnw files seem to make sense. The "exams" package does require not this step. It uses
2018 Sep 20
1
Bias in R's random integers?
> From: Duncan Murdoch <murdoch.duncan at gmail.com>
> Let's try it:
>
> > m <- (2/5)*2^32
> > m > 2^31
> [1] FALSE
> > x <- sample(m, 1000000, replace = TRUE)
> > table(x %% 2)
>
> 0 1
> 399850 600150
>
> Since m is an even number, the true proportions of evens and odds should
> be exactly 0.5.
2013 Feb 20
1
GC encountered a node (…) with an unknown SEXP type
Dear All,
I'm trying to track down a very erratic bug in some fortran; I have an example that
quite consistently segfaults on windoz, and more sporadically on mac, all in the
course of doing some bootstrap calculations, varying the set.seed call, but I'm now
trying to see what is going on on our redhat system:
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
2012 Sep 17
1
memory leak using XML readHTMLTable
Hi,
I'm using the XML package to scrape data and I'm trying to figure out
how to eliminate the memory leak I'm currently experiencing. In the
searches I've done, it sounds like the existence of the leak is fairly
well known. What isn't as clear is exactly how to solve it. The
general process I'm using is this:
require(XML)
myFunction <- function(URL) {
html
2012 Aug 16
1
Big Data reading subsample csv
Hello,
I'm most grateful for your time to read this.
I have a uber size 30GB file of 6 million records and 3000 (mostly
categorical data) columns in csv format. I want to bootstrap subsamples for
multinomial regression, but it's proving difficult even with my 64GB RAM
in my machine and twice that swap file , the process becomes super slow
and halts.
I'm thinking about generating
2013 Apr 18
1
Memory usage reported by gc() differs from 'top'
In help(gc) I read, "...the primary purpose of calling 'gc' is for the
report on memory usage".
What memory usage does gc() report? And more importantly, which memory
uses does it NOT report? Because I see one answer from gc():
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 14875922 794.5 21754962 1161.9 17854776 953.6
Vcells 59905567 457.1 84428913 644.2
2013 Feb 04
2
gettext weirdness
Hi,
I am trying to use the gettext() function to translate some text. I have
never used this function before, so, it's entirely possible that I am
doing something wrong. The issue that I am encountering is that
gettext() properly translates some text, but not some other.
Natural language was compiled in my R (installed from the Debian
repositories):
$ R
R version 2.15.1 (2012-06-22) --
2013 Feb 04
2
gettext weirdness
Hi,
I am trying to use the gettext() function to translate some text. I have
never used this function before, so, it's entirely possible that I am
doing something wrong. The issue that I am encountering is that
gettext() properly translates some text, but not some other.
Natural language was compiled in my R (installed from the Debian
repositories):
$ R
R version 2.15.1 (2012-06-22) --
2012 Sep 11
3
R crashes when printing a named numeric vector of a specific class - Bug?
Dear useR's,
today I stumbled over an interesting phenomenon: First, I created a
named numeric vector with a certain class and several attributes via the
structure() function. After that, I implemented a simple print method
for this class. When calling this function it produces an endless loop
of print calls until R crashes. :/
What is going on here? Is this a bug or have I done something
2012 Dec 31
3
weird bug with parallel, RSQlite and tcltk
Hello,
I spent a lot of a time on a weird bug, and I just managed to narrow it down.
In parallel code (here with parallel::mclappy, but I got it
doMC/multicore too), if the library(tcltk) is loaded, R hangs when
trying to open a DB connection.
I got the same behaviour on two different computers, one dual-core,
and one 2 xeon quad-core.
Here's the code:
library(parallel)
library(RSQLite)
2013 Jan 01
1
Behavior or as.environment in function arguments/call (and force() behaviors...)
Happy 2013!
Can someone with more knowledge of edge case scoping/eval rules explain
what is happening below? Happens in all the versions of R I have on hand.
Behavior itself is confusing, but ?as.environment also provides no clue.
The term used in that doc is 'search list', which is ambiguous, but the
see also section mentions search(), so I would *think* that is what is
intended.
2012 Nov 21
2
installing Rmpi on centos 6 with mpich
Hello everyone
im trying to install Rmpi library on centos 6. I have already installed
mpich2 1.4
[root@localhost ~]# R --version
> R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
> Copyright (C) 2012 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-redhat-linux-gnu (64-bit)
[root@localhost ~]# mpich2version
> MPICH2 Version:
2012 Nov 22
1
Optimizing nested function with nlminb()
I am trying to optimize custom likelyhood with nlminb()
Arguments h and f are meant to be fixed.
example.R:
compute.hyper.log.likelyhood <- function(a, h, f) {
a1 <- a[1]
a2 <- a[2]
l <- 0.0
for (j in 1:length(f)) {
l <- l + lbeta(a1 + f[j], a2 + h - f[j]) - lbeta(a1, a2)
}
return(l)
}
compute.optimal.hyper.params <- function(start, limits, h_, f_) {
result
2012 Dec 07
0
R CMD SHLIB
Hello r-helpers,
I am new to Rtools and would like to build dll's from fortran subroutines for use within R.
I have had no luck compiling the following simple fortran code;
c sample subroutine to include for R
subroutine multiply(ax,bx,cx)
implicit none
integer ax,bx,cx
cx=ax*bx
end
>From the directory in which the file is located I used the
2012 Aug 25
1
cyclic namespace dependency detected
I'm having trouble installing my quantreg package on
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
Seems odd since the CRAN version seems to be fine, but I'm
seeing after compiling of the i386 and x86-64 versions and
installing the