similar to: New project: littler for GNU R

Displaying 20 results from an estimated 2000 matches similar to: "New project: littler for GNU R"

2006 Oct 05
1
littler release 0.0.6
What ? ------ We are pleased to announce version 0.0.6 of littler What's new ? ------------ This version includes a bug fix or two as well as a number of small enhancements to the documentation. For OS X and the r/R confusion, our recommended suggestion is to call configure using either the --program-suffix=X or --program-prefix=Y option to have the binary and manual
2012 Aug 27
2
littler and rJava
Hello list, I'm having some difficulty getting rJava to load in littler. Even after a R CMD javareconf and a reinstall of littler, I get this: jlaing at xenon:~$ r -e "require(rJava)" Loading required package: rJava Loading required package: methods Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable
2007 Nov 17
1
littler usage
Hi, I've been using r (the little, but sweet one!), and recently found out about the magic argv vector of the rest of arguments passed to it. How can we process an argument that represents elements of a vector: $ r littler_ex.R 14 '3, 2' Error in ff * ss : non-numeric argument to binary operator where: ,-----[ cat ~/scripts/R/littler_ex.R ] | ff <- as.numeric(argv[1]) | ss
2007 Jun 07
2
Use R in a pipeline as a filter
Hi, how can I use R in a pipline like this $ ./generate-data | R --script-file=Script.R | ./further-analyse-data > result.dat Assume a column based output of ./generate-data, e.g. something like: 1 1 1 2 4 8 3 9 27 4 16 64 The R commands that process the data should come from Script.R and should print to stdout (Script.R could for example calculate the square of every entry or calculate
2010 Jan 30
2
Stop packages and datasets to be loaded on startup.
Hi. I would like to know how to start an embedded R session, and avoid datasets and the standard library packages to be loaded on startup. I've been looking at littler's code (so this is partly a question to Dirk Eddelbuettel...): > /* We don't require() default packages upon startup; rather, we > * set up delayedAssign's instead. see autoloads(). >
2007 Jan 04
1
littler+dget+stdin -> segmentation fault
Hi, I'm trying to write a series of pipes using littler, and I get the following behaviour: Sorry if I'm just doing something witless, I'm new to R. I'm using the latest versions from debian testing (2.4.0 and 0.0.8). $ r -e 'a<-dget(file=stdin()); print(a)' ?list(a=2) Segmentation fault In R itself this works: > dget(file=stdin()) ?list(a=2) $a [1] 2 As do (from
2011 Dec 12
1
littler: Use for batch processing of data sets: How to pass filename?
Dear R folks, I have several data sets I want to process automatically using R. I found littler [1] and thought this will do the trick. 1. Read in data file to a data frame using `scan()`. 2. Do linear regression. 3. Write the data and the coefficients back to a file. #!/usr/bin/env r if (is.null(argv) | length(argv)!=1) { cat("Usage:
2011 Jul 29
4
scripting/littler: How to call function named iteratively (`f1`, `f2`, …)?
Dear R folks, wanting to compare different implementations of a solution I want to script it to iterate over the different implementations. Is there a way to do this in the R shell/command line? $ more /tmp/iterf.r f1 <- function(n = 100000, l = 100000) { z = n + l } f2 <- function(n = 100000,
2010 Oct 14
1
Using Rscript to read from a file
Hello, I have this script which will be invoked as Rscript a.r < a.r a.r follows #!/usr/bin/Rscript --vanilla f=file("stdin") while(TRUE){ y=readLines(f,n=1,warn=TRUE) if(length(y)==0) break else print(y) } But it only reads one line from a.r How can I read line by line from standard input? Thank you Saptarshi
2009 Jun 01
1
piping to littler
Hi, This code used to work well until a few months ago (I haven't used it since), but now it's giving this: ---<--------------------cut here---------------start------------------->--- $ cat <<EOF | r - locs <- read.csv(list.files(pattern="ds_.+_.+\\.csv"), colClasses=c(rep("character", 2), "numeric", "character",
2014 Aug 14
1
littler autoloader issue
Hi, I'm not sure when this started occurring, but now I get: ---<--------------------cut here---------------start------------------->--- $ r -e 'quantile(rnorm(1e5))' Error in (function (name, package, ...) : autoloader did not find 'quantile.default' in 'stats' ---<--------------------cut here---------------end--------------------->--- I'm using
2007 Jan 08
1
scripts with littler
Hi, I'm trying to write R scripts using littler (under Debian), and was originally using the shebang line: #!/usr/bin/env r However this picks up any .RData file that happens to be lying around, which I find a little disturbing, because it means that the script may not behave the same way on successive invocations. If you drop the /usr/bin/env trick then #!/usr/bin/r --vanilla seems to
2007 Mar 12
1
Problem with installation of littler-0.0.10. under Free BSD 6.2
MyBSD% ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking build system type... i386-unknown-freebsd6.2 checking host system type... i386-unknown-freebsd6.2 checking for a BSD-compatible install...
2009 Jan 11
2
R as a scripting engine
Those of you tracking R development will have noticed that we are moving towards using R as a scripting engine. (It is often overlooked as such.) Thus far INSTALL, REMOVE, SHLIB and massage-examples have been moved to R. Reasons: - it is platform-independent and needs no other tools installed. No need to worry about strange 'sh' variants (as on AIX and in the past on Mac OS X)
2008 May 06
0
Announcement: support of littler, rkward and rpy on Debian/Ubuntu
Dear useRs, This is to announce that the maintainers of the various distributions have decided to provide "experimental" up-to-date versions of the following R related packages on Debian stable and Ubuntu (i386 and amd64 architectures): littler rkward python-rpy (not on Ubuntu Dapper) python-rpy-doc (not on Ubuntu Dapper) By "experimental" we mostly mean that
2008 May 06
0
Announcement: support of littler, rkward and rpy on Debian/Ubuntu
Dear useRs, This is to announce that the maintainers of the various distributions have decided to provide "experimental" up-to-date versions of the following R related packages on Debian stable and Ubuntu (i386 and amd64 architectures): littler rkward python-rpy (not on Ubuntu Dapper) python-rpy-doc (not on Ubuntu Dapper) By "experimental" we mostly mean that
2013 Nov 10
1
Embedded R Fails When Run on LSF Queue System
Hi, I had a quick question I was hoping someone might be able to answer, as my journey through the source code so far has not been very profitable. I have a command line program that embeds R, and the program works just fine when run from the command line. However, when I run the program as a job in the LSF cluster at my institute, the following error occurs: Fatal error: you must specify
2005 Jul 08
2
Multiple assignments in one statement
Is this possible? For instance, I have a function that returns a vector length 3. In one statement I'd like to assign each element of the vector to different variables. Syntactically, I hoped this would work: c(x,y,z) <- myfun(); Thanks, -- Jeffrey Horner Computer Systems Analyst School of Medicine 615-322-8606 Department of Biostatistics Vanderbilt University
2014 Feb 11
2
$new cannot be accessed when running from Rscript and methods package is not loaded
Hi Accesses the $new method for a class defined in a package fails if the methods package is not loaded. I have created a test package with the following single code file: newTest <- function() { cl <- get("someClass") cl$new } someClass <- setRefClass("someClass") (This is similar to code actually used in the testthat package.) If methods is not loaded,
2019 Jan 06
4
Failed to install RQuantLib in Ubuntu machine
Hi, <This issue was previously posted in R-help, but advised to post here as a more relevant group> I was trying to install RQuantLib in my Ubuntu machine which failed with below information : *> install.packages('RQuantLib', repos='http://cran.rstudio.com/ <http://cran.rstudio.com/>', INSTALL_opts = c('--no-lock'))* *Installing package into