similar to: Rscript and default packages

Displaying 20 results from an estimated 7000 matches similar to: "Rscript and default packages"

2009 Sep 08
0
R meets apache ant
Hello, This is to announce the first release of the "ant" R package, which has been pushed to CRAN yesterday, and should reach your mirror and your platform soon. The package provides an R-aware version of the famous build tool from the apache project. http://ant.apache.org/ The package ships an R script that can be used to invoke ant with enough plumbing so that it can use R
2009 Sep 08
0
R meets apache ant
Hello, This is to announce the first release of the "ant" R package, which has been pushed to CRAN yesterday, and should reach your mirror and your platform soon. The package provides an R-aware version of the famous build tool from the apache project. http://ant.apache.org/ The package ships an R script that can be used to invoke ant with enough plumbing so that it can use R
2009 Sep 07
0
R CMD INSTALL --clean
Hello, I am using "R CMD INSTALL --clean" so that when my package is finished installed, a cleanup script is executed to post-process the generated html index file and add some more information. The cleanup (or cleanup.win script eventually calls the R code below) This works well, but it depends on the --clean switch. Is there another way, or can I force --clean (for example from
2009 Sep 02
1
How to ship R scripts with R packages ?
Hello, (This is a remix of this previous thread: https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html , but with a concrete example) I am developing some packages that contain scripts (for Rscript) and would like to know what is the best/recommended way to ship these scripts. An example is the "ant" package (R capable version of apache ant, see http://tr.im/xHLs). The
2009 Aug 21
2
more special completions
Hi, Would it be possible to add the capability for functions to register how they would like to complete themselves. Currently, there is the .addFunctionInfo, but it allows only functions to register a static list of potential completions, I was thinking of a way to register not a fixed list of possible completions, but a __function__ that would calculate completions dynamically. This could
2009 Sep 07
2
Andrews plot
Dear all Colleague of mine ask me if R is capable of Andrews plot like andrewsplot(x) in Matlab. Quick search did not reveal anything but before I start to write any routine I would like to ask this ingenious audience if there is any implementation of Andrews plots somewhere. I know about parallel coordinate plots in lattice (although I do not use them as I am not sure what the plot tells
2009 Aug 05
1
exec subdirectory of a package
Hello, WRE contains the following information about the "exec" subdirectory of a package : "Subdirectory exec could contain additional executables the package needs, typically scripts for interpreters such as the shell, Perl, or Tcl. This mechanism is currently used only by a very few packages, and still experimental." I think it would be useful to expand "very
2009 Dec 15
1
S4 dispatch and S3 "connection" objects
Hello, I'm trying to get S4 dispatch on S3 "connection" objects. So I do : setOldClass( "connection" ) and then : setGeneric( "bling", function(object) standardGeneric( "bling" ) ) setMethod( "bling", "connection", function(object) cat( "gotcha ", as.integer(object), "\n" ) ) but I get : f <- file(
2009 Oct 10
1
isFALSE
Hello, Just wondering why there is "isTRUE" and not "isFALSE". Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://tr.im/BcPw : celebrating R commit #50000 |- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc `- http://tr.im/yw8E : New R package : sos -------------- next part -------------- An
2009 Dec 15
2
split.data.frame
Hello, I very much enjoy "with" and "subset" semantics for data frames and was wondering if we could have something similar with split, basically by evaluating the second argument "with" the data frame : split.data.frame function(x, f, drop = FALSE, ...){ call <- match.call( ) fcall <- call( "with", data = call[["x"]],
2009 Nov 05
1
combine UserDefinedDatabase and regular environments
Hello, Is it possible to have the effect of UserDefinedDatabase outside of "attached" environments ? Can I disguise an environment of the sys.frames() as a UserDefinedDatabase ? This seems to suggest that it might be possible : > f <- function(){ e <- environment(); class(e) <- "UserDefinedDatabase"; ff } > f() *** caught segfault *** address (nil),
2010 Feb 11
2
LinkingTo and C++
Hello, I've been trying to make LinkingTo work when the package linked to has c++ code. I've put dumb packages to illustrate this emails here ; http://addictedtor.free.fr/misc/linkingto Package A defines this C++ class: class A { public: A() ; ~A() ; SEXP hello() ; } ; Package B has this function : SEXP say_hello(){ A a ; return a.hello() ; } headers of package A are copied
2009 Sep 04
5
< 0 x 0 matrix >
Hi, Does anybody know, what is going on here? > diag(sqrt(1)) [,1] [1,] 1 > diag(sqrt(0.3333)) <0 x 0 matrix> > sqrt(1) [1] 1 > sqrt(0.3333) [1] 0.5773214 BR, Markku Karhunen researcher University of Helsinki
2009 Sep 04
3
Load a package without installing it
Hi all, When developing a package, it's often useful to be able to reload it, without re-installing, re-starting R and re-loading. To do this I've written a little script that inspects the package description and loads dependencies, data and code - http://gist.github.com/180883. It's obviously not very general (being tailored to my description files) and won't work for packages
2009 Sep 03
2
Calling R from a Perl script: much slower?
Hello list, I use R for microarray analysis. One procedure I use takes a large matrix, and loops through it looking for specific rows, does an operation with them, and outputs a result (single row) as a row of another matrix. The loop goes on about 25000 times. When I run the loop directly from the R console itself, it takes about 3 minutes in my computer. I'm ok with that. Now,
2009 Sep 22
2
cannot build R-devel (>= r49747)
Hello, I've tried several times yesterday to build R-devel and I consistently get this error when I "make" : mkdir -p -- ../../../library/base/R make[3]: Leaving directory `/tmp/R-devel/src/library/profile' make[3]: Entering directory `/tmp/R-devel/src/library/base' building package 'base' make[4]: Entering directory `/tmp/R-devel/src/library/base' mkdir -p --
2011 May 31
1
assignInNamespace and new bindings
Hello, assignInNamespace refuses to assign an object to a name that is not already used in the namespace. Something like this would make it possible: --- src/library/utils/R/objects.R (revision 56024) +++ src/library/utils/R/objects.R (working copy) @@ -252,8 +252,9 @@ stop("environment specified is not a package") ns <- asNamespace(substring(nm, 9L))
2009 Oct 09
1
celebrating revision 50000
Hello, Today, Brian Ripley commited the revision 50000 of R's svn repository. I took this as an opportunity to do some data analysis of the log and posted some code and graphics on my blog: http://romainfrancois.blog.free.fr/index.php?post/2009/10/09/celebrating-R-commit-50000 The plots of the number of commits per day (and per month) indicates a peak in 2002. Here are the top 20
2010 Jun 18
2
nchar( NA )
Hello, Is this expected ? > nchar( c( "", NA ) ) [1] 0 2 Should not the second one be NA ? Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/98Uf7u : Rcpp 0.8.1 |- http://bit.ly/c6YnCi : graph gallery collage `- http://bit.ly/bZ7ltC : inline 0.3.5
2010 Mar 07
1
duplicate STRSXP : shallow copy ?
Hello, As this little program illustrates, duplicating a STRSXP does not seem deep enough. require( inline ) fx <- cfunction( signature( x = "character"), ' SEXP y = PROTECT( duplicate( x ) ); int n = LENGTH(x); int nc = 0 ; char* p = 0 ; for( int i=0; i<n; i++){ p = (char*)( CHAR( STRING_ELT( y , i ) ) ); nc = strlen( p ) ; for( int j=0; j<nc; j++){ p[j] =