Displaying 20 results from an estimated 8000 matches similar to: "Building Windows package .zip files"
2014 Mar 30
2
CXX_STD and configure.ac in packages
In C++ code for use in a R-3.1.0 package, my specific problem is that I would
like to use <unordered_map> if it is available, or <tr1/unordered_map> if not,
or <map> if all else fails.
I (think I) can accomplish this with configure.ac as
AC_INIT("DESCRIPTION")
CXX=`"${R_HOME}/bin/R" CMD config CXX`
CXXFLAGS=`"${R_HOME}/bin/R" CMD config
2017 Jul 03
0
Patch for R-exts.texi
Attached is a patch for R-exts.texi against r72880.
Here are some of the changes I made:
- Fix a broken link:
https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Introduction/Introduction.html
->
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/index.html
- Changed a few http
2004 Aug 23
0
corrections for R-intro.texi (PR#7192)
Hello,
Here are some patches for R-intro.texi, to correct various typos,
missing words, and minor inconsistencies in formatting.
Each patch is preceeded by its corresponding 'wdiff' output to make it
easier to see which words have changed.
--
Brian Gough
Network Theory Ltd,
Publishing the R Reference Manuals --- http://www.network-theory.co.uk/R/
2004 Aug 24
0
additional examples for R-intro.texi (PR#7195)
Here are some patches to expand some of the examples in R-intro.texi.
--
Brian Gough
Network Theory Ltd,
Publishing the R Reference Manuals --- http://www.network-theory.co.uk/R/
--- R-intro.texi~ Tue Aug 24 11:21:37 2004
+++ R-intro.texi Tue Aug 24 11:21:37 2004
@@ -6288,6 +6288,21 @@
use
@example
+> help(package = "@var{name}")
+@end example
+
+A complete list of the
2009 Apr 07
1
typo in R-ints.texi's description of P_ macro
I think there are some missing words in "R Internals"'s description of
the P_ macro.
It currently has "A macro as a wrapper for ngettext", which I think
ought to be
something like "The macro P_ may be used as a wrapper for ngettext".
The following patch also makes the 2 alternate definitions of P_ have
the same argument names,
StringS and StringP. Expanding the
2010 Mar 31
0
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Gabor,
I just used your R code below and the code worked properly
without any error messages. Attached is the output graph, which
may be the one you expected.
library("Rgraphviz")
set.seed(123)
V <- letters[1:10]
M <- 1:4
g1 <- randomGraph(V, M, 0.2)
g1
plot(g1)
Thanks.
Howard
On Wed Mar 31 11:18:25 EDT 2010, Gabor Grothendieck
<ggrothendieck at
2015 Aug 25
0
Issues with libcurl + HTTP status codes (eg. 403, 404)
On 08/25/2015 01:30 PM, Kevin Ushey wrote:
> Hi Martin,
>
> Indeed it does (and I should have confirmed myself with R-patched and R-devel
> before posting...)
actually I don't know that it does -- it addresses the symptom but I think there
should be an error from libcurl on the 403 / 404 rather than from read.dcf on
error page...
Martin
>
> Thanks, and sorry for the
2010 Mar 31
1
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Martin,
It is really a 'PATH' problem. After adding C:\Program
Files\Graphviz2.20\bin to the 'PATH' environment variable, the
Rgraphviz package can be loaded without any error messages.
Sorry that I ONLY set my 'PATH' environment variable correctly
for R but not for Graphviz.
Thank you and Duncan so much for your great help.
Howard
On Tue Mar 30 18:12:54
2003 Jul 21
2
missing permissions in reference manual copyright page (PR#3528)
Hi,
I noticed that the R reference manual seems to be missing the license
permissions on the copyright page. Below is a patch to "refman.top"
which adds the same permissions as the @permission{} macro in
"R-defs.texi".
I'm filing this bug as I have been preparing to publish the R
Reference Manual (in several volumes). I plan to donate 5 EUR to the
R-foundation for each
2014 Feb 21
0
instantiating a reference class with an initialize() method from .onLoad fails
PkgA has a single R/binding.R file containing
.A <- setRefClass("A", methods=list(initialize=function(...) {}))
.onLoad <- function(...) .A()
A NAMESPACE with
import(methods)
exportClasses("A")
and DESCRIPTION
Package: PkgA
Type: Package
Title: Documenting reference classes
Version: 0.0.1
Date: 2012-08-05
Author: Martin
2015 Aug 25
1
Issues with libcurl + HTTP status codes (eg. 403, 404)
In fact, this does reproduce on R-devel:
> options(download.file.method = "libcurl")
> options(repos = c(CRAN = "https://cran.rstudio.com/", CRANextra =
+ "http://www.stats.ox.ac.uk/pub/RWin"))
> install.packages("lattice") ## could be any package
Installing package into ?/Users/kevinushey/Library/R/3.3/library?
(as ?lib? is
2012 Oct 26
0
parallel::pvec FUN types differ when v is a list; code simplifications?
In pvec(list(1, 2), FUN, mc.cores=2) FUN sees integer() arguments whereas
pvec(list(1, 2, 3), FUN, mc.cores=2) FUN sees list() arguments; the latter seems
consistent with pvec's description.
This came up in a complicated Bioconductor thread about generics and parallel
evaluation
https://stat.ethz.ch/pipermail/bioc-devel/2012-October/003745.html
One relevant point is that a
2010 Nov 15
1
SEXP and slots
Hello,
Since people have whisperred about Rcpp, I'd like to play too.
> On 11/15/2010 07:45 AM, Patrick Leyshock wrote:
>> Very helpful, thank you.
>>
>> A couple other questions, please:
>>
>> 1. I've got a function written in C, named "my_c_function". In my R
>> code I call this function, passing to it an INTSXP and a STRSXP,
>>
2024 Jul 04
1
R FAQ 2.6, 7.21
Hello R-devel,
I would like to suggest a couple of updates for the R FAQ.
https://CRAN.R-project.org/bin/linux/suse is currently empty and the
directory has mtime from 2012, so it probably doesn't help to reference
it in FAQ 2.6.
There seems to be increased interest in using variables as variable
names [1,2], so it might be useful to expand 7.21 a little. Can an R
FAQ entry link to R-intro
2009 May 20
1
install.packages now intentionally references .Rprofile?
A post on the Bioconductor mailing list
https://stat.ethz.ch/pipermail/bioconductor/2009-May/027700.html
suggests that install.packages now references .Rprofile (?), whereas
in R-2-8 it did not. Is this intentional?
The example is, in .Rprofile
library(utils)
install.packages("Biobase",
repos="http://bioconductor.org/packages/2.4/bioc")
then
2011 Jul 19
1
requiring NAMESPACE re-installation marked as old.packages?
It would be convenient if, under R-devel r56422, packages that require
re-installation because they do not have a NAMESPACE were marked as
old.packages, so their lack of functionality can be discovered more easily.
> "snow" %in% row.names(old.packages())
[1] FALSE
> library(snow)
Error in library(snow) :
package 'snow' does not have a NAMESPACE and should be
2011 Feb 12
0
Fw: Re: Linked List in R
--- On Sun, 13/2/11, Shing Hing Man <matmsh at yahoo.com> wrote:
> From: Shing Hing Man <matmsh at yahoo.com>
> Subject: Re: [R] Linked List in R
> To: "Martin Morgan" <mtmorgan at fhcrc.org>
> Date: Sunday, 13 February, 2011, 4:49
> Hi Martin,
> ? Thanks for the pointer ! It seems quite involved to
> create a
> a linked list in the oo way. I
2011 Apr 20
3
Make as.factor an S3 generic?
as.factor / as.ordered is not written as a generic. This differs from
as.numeric, as.matrix, and other as.*. The following seems to address
this and does not break make check-all.
FWIW, the patch is against r55563, because with r55564 I see
/home/mtmorgan/src/R-devel/src/main/dounzip.c:75:15: error: storage size
of ?dt? isn?t known
/home/mtmorgan/src/R-devel/src/main/dounzip.c:88:5: warning:
2015 May 12
1
S4 method dispatch sometimes leads to incorrect when object loaded from file?
>>>>> Martin Morgan <mtmorgan at fredhutch.org>
>>>>> on Mon, 11 May 2015 10:18:07 -0700 writes:
> On 05/10/2015 08:19 AM, Martin Morgan wrote:
>> Loading an S4 object from a file without first loading the library sometimes (?,
>> the example below and actual example involves a virtual base class and the show
>> generic)
2011 Dec 08
1
Reference class finalize() fails with 'attempt to apply non-function'
This bug appears intermittently in R CMD check when reference classes
have finalize methods. The problem is that garbage collection can be run
after the methods package is no longer available. It affects
(periodically) the Bioconductor AnnotationDbi package as well as
packages that contain Rcpp classes. To reproduce:
library(methods)
a = setRefClass("A",