similar to: Testing memory limits in R??

Displaying 20 results from an estimated 2000 matches similar to: "Testing memory limits in R??"

2008 Mar 06
1
build options for R
Hello Everyone, Recently I was given a Java servlet based web calculator that will call R (libR.so to be exact) but I am having trouble trying to disable R from requiring --save, --no-save or --vanilla... Is there any way to build R on linux and disable R from asking --save, --no-save or --vanilla?? Thanks! -scz
2008 Mar 07
1
Build options for R
Hello Everyone, I had posted the message below to the r-help listserv... >Recently I was given a Java servlet based web calculator that will >call R (libR.so to be exact) but I am having trouble trying to disable R >from requiring --save, --no-save or --vanilla... Is there any way to >build R on linux and disable R from asking --save, --no-save or --vanilla?? I received this
2009 Jul 01
3
"Error: cannot allocate vector of size 332.3 Mb"
Dear R-helpers, I am running R version 2.9.1 on a Mac Quad with 32Gb of RAM running Mac OS X version 10.5.6. With over 20Gb of RAM "free" (according to the Activity Monitor) the following happens. > x <- matrix(rep(0, 6600^2), ncol = 6600) # So far so good. But I need 3 matrices of this size. > y <- matrix(rep(0, 6600^2), ncol = 6600) R(3219) malloc: ***
2019 Dec 21
3
Downsized R configuration for flat deployment
Dear folks, I'm testing a downsized R build - in features and obviously sizes - for a "modern" flat deployment (eg. like python virtualenv, just to name one). Questions: 1) Is flat style possible? 2) With this setup, R and packages can be installed/updated? 3) The directory can be easy renamed or moved? ------------------------------------------------------------------- I
2011 Aug 23
5
Easier ways to create .Rd files?
R-helpers: Are there any ways to auto-generate R-friendly (e.g. will pass a compilation check) .Rd files given a set of .R code? How about GUIs that help properly format the .Rd files? Thanks! I want a basic set of .Rd files that I can update as I go, but as with most things my documentation typically lags behind my coding by a few days. --j -- Jonathan A. Greenberg, PhD Assistant Project
2013 Apr 16
4
Singular design matrix in rq
Quantreggers: I'm trying to run rq() on a dataset I posted at: https://docs.google.com/file/d/0B8Kij67bij_ASUpfcmJ4LTFEUUk/edit?usp=sharing (it's a 1500kb csv file named "singular.csv") and am getting the following error: mydata <- read.csv("singular.csv") fit_spl <- rq(raw_data[,1] ~ bs(raw_data[,i],df=15),tau=1) > Error in rq.fit.br(x, y, tau = tau, ...) :
2013 Jul 12
2
"Proper" way to use a "hidden" function in an R-package?
R-developers: I'm working on updating my R package "spatial.tools", and one thing I was wondering was the proper way to have hidden functions -- should I simply not export them to the namespace and use the ::: operator to call them (which is what I currently do)? --j -- Jonathan A. Greenberg, PhD Assistant Professor Global Environmental Analysis and Remote Sensing (GEARS)
2012 May 02
6
Quickest way to make a large "empty" file on disk?
R-helpers: What would be the absolute fastest way to make a large "empty" file (e.g. filled with all zeroes) on disk, given a byte size and a given number number of empty values. I know I can use writeBin, but the "object" in this case may be far too large to store in main memory. I'm asking because I'm going to use this file in conjunction with mmap to do parallel
2007 Aug 29
5
Ringing sound doesn't work
Hi, I have these extensions: exten => 101,1,Dial(SIP/101,15) exten => 102,1,Dial(SIP/102,15) exten => 0,1,Dial(SIP/101&SIP/102,15,r) They work fine and I get the ringing sound if I dial them directly. However, I also have this extension: exten => s,1,Answer() exten => s,2,Background(viagenie) exten => s,3,WaitExten() The ringing sound doesn't work for any extension
2006 Aug 10
1
installing rimage
dear list while installing the package rimage, i get the error message checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no configure: error: Sorry, can't find jpeglib header ERROR: configuration failed for package 'rimage' although i have installed jpeglib as required. does R not find this library? but why did it find the fftw library
2013 Sep 27
2
Error: C stack usage is too close to the limit when using list.files()
R-helpers: I'm running a file search on my entire drive (Mac OS X) using: files_found <- list.files(dir="/",pattern=somepattern,recursive=TRUE,full.names=TRUE) where somepattern is a search pattern (which I have confirmed via a unix "find / -name somepattern" only returns ~ 3 results). I keep getting an error: Error: C stack usage is too close to the limit when
2009 Aug 27
19
Best R text editors?
Quick informal poll: what is everyone's favorite text editor for working with R? I'd like to hear from people who are using editors that have some level of direct R interface (e.g. Tinn-R, Komodo+SciViews). Thanks! --j -- Jonathan A. Greenberg, PhD Postdoctoral Scholar Center for Spatial Technologies and Remote Sensing (CSTARS) University of California, Davis One Shields Avenue The
2003 Mar 14
2
grasper installation
Hello R user, I downloaded grasper_0.3-2.tar.gz and installed it as described. $ su $ R CMD INSTALL grasper_0.3-2.tar.gz $ R that seems to work, but > grasp.GUI() doesn't work. I read the note, that graspeR need mgcv (downloaded), MASS, modreg and tcktk . I haven't found the last 3 packetages in the Suse 8.1 contrib list. Where can I find them? Or what could be the problem? thanks in
2013 Jan 22
2
Adding a line to barchart
R-helpers: I need a quick help with the following graph (I'm a lattice newbie): require("lattice") npp=1:5 names(npp)=c("A","B","C","D","E") barchart(npp,origin=0,box.width=1) # What I want to do, is add a single vertical line positioned at x = 2 that lays over the bars (say, using a dotted line). How do I go about doing this?
2011 Nov 21
3
How do I query "..." in a function call?
This is probably a very noobish question, but if I want to create a function that allows an undetermined number of, say, numeric vectors to be fed to it, I would use: myfunction = function(...) { # Do something } Right? If so, how do I a) count the number of vectors "fed" to the function, and b) how do I treat those vectors as variables, e.g. for the call:
2009 Mar 18
2
How do I set the Windows temporary directory in R?
I'm trying to redirect where temporary files go under R to D:\temp\somerandomname from its default (C:\Documents and Settings\username\Temp\somerandomname) -- how do I go about doing this? --j -- Jonathan A. Greenberg, PhD Postdoctoral Scholar Center for Spatial Technologies and Remote Sensing (CSTARS) University of California, Davis One Shields Avenue The Barn, Room 250N Davis, CA 95616
2009 Mar 13
2
Using format to add leading zeroes
I have a numerical vector which contains a (poorly) formatted time column, which, in theory, should be HHMM, but was distributed as an integer, so, for 12:15 am, it is saved as "15" (e.g. HHMM = 0015 with the zeroes stripped). I'm trying to use this in conjunction with strptime, but I'm thinking because each time is an integer ranging from 1 to 4 digits, I probably need to
2012 Apr 05
4
Best way to search r- functions and mailing list?
R-helpers: It looks like http://finzi.psych.upenn.edu/search.html has stopped spidering the mailing lists -- this used to be my go-to site for searching for R solutions. Are there any good replacements for this? I want to be able to search both functions and mailing lists at the same time. Cheers! --j -- Jonathan A. Greenberg, PhD Assistant Professor Department of Geography University of
2009 Oct 23
2
splitting a vector of strings...
Quick question -- if I have a vector of strings that I'd like to split into two new vectors based on a substring that is inside of each string, what is the most efficient way to do this? The substring that I want to split on is multiple characters, if that matters, and it is contained in every element of the character vector. --j -- Jonathan A. Greenberg, PhD Postdoctoral Scholar
2006 Feb 24
2
R script autoload at startup
Hello; I'm now using mainly R for windows, mainly because I'm writing a tcl/Tk interface for some people, and I've got two questions. I'm an absolute beginner with tctk or tcktk use under the R GUI. 1) Is it posible to create a shorcut that launchs the R GUI and automatically reads the "source code" of the tcl/tk script to also launch the tcltk interface? 2) Is the