search for: littler

Displaying 20 results from an estimated 164 matches for "littler".

Did you mean: little
2006 Sep 26
4
New project: littler for GNU R
What ? ====== littler - Provides hash-bang (#!) capability for R (www.r-project.org) Why ? ===== GNU R, a language and environment for statistical computing and graphics, provides a wonderful system for 'programming with data' as well as interactive exploratory analysis, often involving graphs. S...
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...
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 <- c(argv[2]) | print(ff * ss) `----- Cheers, -- Seb
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(). > */ > if (setenv("R_DEFAULT_PACKAGES","NU...
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=...
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: auswert...
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 = DLLpat...
2009 Jun 01
1
piping to littler
...lasses=c(rep("character", 2), "numeric", "character", rep("numeric", 2), rep("character", 4), rep("numeric", 3), rep("logical", 4))) EOF > > > > > Loading required package: methods littler: Incomplete Line! Need more code! ---<--------------------cut here---------------end--------------------->--- It seems like a quoting issue but I can't pinpoint it. Thanks. Cheers, -- Seb
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/en...
2014 Aug 14
1
littler autoloader issue
...------------->--- $ r -e 'quantile(rnorm(1e5))' Error in (function (name, package, ...) : autoloader did not find 'quantile.default' in 'stats' ---<--------------------cut here---------------end--------------------->--- I'm using the latest Debian sid R and littler packages. Any ideas? Cheers, -- Seb
2011 Jul 29
4
scripting/littler: How to call function named iteratively (`f1`, `f2`, …)?
...[1] 5 > print(f2(2,3)) [1] 10 > for (i in 1:2) { print( fi(2, 3) ) } Fehler in print(fi(2, 3)) : konnte Funktion "fi" nicht finden Can I compose a command from values of variables? Going on I tried to script that using the `r` from the package `littler` [1]. Unfortunately because of the required quotes "" for the command `source()` I am not able to expand the variable. $ for i in $(seq 2); do r -e "print($i)" ; done [1] 1 [1] 2 $ for i in $(seq 2); do r -e 'source("/tmp/iterf.r");...
2007 Apr 01
2
commandArgs usage and --args invokation
Dear R experts: I am a bit stymied by how the argument picking-off works in R batch file usage. $ cat commandArgs.R cat(" Command Line Arguments were ", commandArgs(), "\n"); $ /usr/bin/R CMD BATCH commandArgs.R --args 1 2 3 $ /usr/bin/R --args 1 CMD BATCH commandArgs.R ... I am now getting into interactive mode ?! I guess it really is skipping the rest of the command line
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 support for these packages may remain somewhat of a moving target for some time. The maintainers are not necessarily users of these packages themselves, so posit...
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 support for these packages may remain somewhat of a moving target for some time. The maintainers are not necessarily users of these packages themselves, so posit...
2012 Sep 11
2
R equivalent of python module structure and functionality?
summary: how to structure an R file such that it can be both 1. used as a script via, e.g., (from OS commandline) $ Rscript foo.r bar=baz 2. imported and called as a function via, e.g. (from R commandline) > source('./foo.r) > foo(bar='baz') ? I'm looking for the 'R equivalent' of how python supports this usecase. details: As discussed in the thread beginning
2008 Apr 24
2
r won't start: "r: symbol lookup error: r: undefined symbol: R_Visible" (PR#11265)
...ULL) (137.248.74.38) Hi! I hope, it is justified to write this email... I'm relatively new to linux, and haven't worked with r, yet, so please pardon any things I do not know... I tried installing r on my computer, and didn't manage to get the program running. After having installed littler, typing r into the bash results in following message: r: symbol lookup error: r: undefined symbol: R_Visible I found a bugreport here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418686 I'm not sure, if this has anything to do with it, as it concerns rkward... Anyway, this information m...
2007 Jan 08
1
scripts with littler / subroutines
Hi (again), Another difficulty I'm having is creating a common function (foo, say) to share between two scripts. I've tried making a third file containing the function and then sourcing it with source ("foo.R"), but that only works if you run the script in the directory where "foo.R" is. (or if the scripts know where they're installed) The other solutions that
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 Apr 25
0
r won't start: "r: symbol lookup error: r: undefined symbol: (PR#11274)
...| | Hi! | | I hope, it is justified to write this email... | I'm relatively new to linux, and haven't worked with r, yet, so please pardon | any things I do not know... | | I tried installing r on my computer, and didn't manage to get the program | running. | After having installed littler, typing r into the bash results in following | message: | | r: symbol lookup error: r: undefined symbol: R_Visible You need to rebuild littler ('r') against the new version of R ('R'). I did that for Debian, looks like Ubuntu could do with it too. Your R version was provided by...
2007 Mar 12
1
Problem with installation of littler-0.0.10. under Free BSD 6.2
...ting Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands MyBSD% make R_HOME= /usr/local/bin/R --silent --vanilla --slave < > autoloads.h Syntax error: redirection unexpected *** Error code 2 Stop in /home/ronggui/software/littler-0.0.10. Anyone knows why and any hints to the solution? Thanks in advance. -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China ?????? ????????????????