similar to: rbind wastes memory

Displaying 20 results from an estimated 6000 matches similar to: "rbind wastes memory"

2005 Jul 21
3
Rprof fails in combination with RMySQL
Dear R community, I tried to optimized my R code by using Rprof. In my R code I'm using MySQL database connections intensively. After a bunch of queries R fails with the following error message: Error in .Call("RS_MySQL_newConnection", drvId, con.params, groups, PACKAGE = .MySQLPkgName) : RS-DBI driver: (could not connect mylogin@mydatabase on dbname "myDB"
2003 Jul 17
1
line length limitation in ROracle
Hello everybody, I found that queries (send by "dbExecStatement" ) with more than 4000 characters length produces an error in ROracle (ver 0.3-3). Maybe there is a limitation of 4kB.... Is this a bug? If yes, is this problem solved in the latest version of ROracle (ver 0.5-0)? My system information: platform sparc-sun-solaris2.8 arch sparc os solaris2.8
2002 Apr 11
2
"CTRL-C" and "try"
Hello everybody, if I'm running a R-script on a command line R-session which uses the function "try" and I'd like to interrupt the execution of my R-script pressing "CTRL-C" than R ignores the first "CTRL-C" key stroke and after I pressed "CTRL-C" second time R by itself is interrupted and I fall back to the (UNIX-) command prompt. Without using
2003 Aug 12
2
who to rbind of a list of data.frames
Hello everybody, could anybody give me a hint, who I can use rbind on a list of data.frames, please? I have a list with a large number of data.frames of the same structure, like: LIST <- list(X1=data.frame(a=1,b=2), X2=data.frame(a=3,b=4), X3=data.frame(a=5,b=6), ...., XN=data.frame(a=i,b=k)) I would like to bind all data.frames very fast to a single data.frame, something like that: DF <-
2002 Apr 18
1
grid lines outside plot region in version R1.4.1
Hello everybody, if I'm using par(xpd=NA) gridlines will plotted outside the plotting region. This is "new" (and, in my opinion, unaesthetic) in version 1.4 - compared to version 1.3. Is this a bug or a feature? Example: ------------------ par(xpd=NA) plot(1:11) grid() ------------------ platform sparc-sun-solaris2.6 arch sparc os solaris2.6
2003 Sep 25
1
multiple plot layout and filled contour
Hello everybody, Could anybody give me a hint how I can use "layout" and "filled.contour" (or "image" plot with a color legend) together, please? What I want to do is something like the following example (Two or more plots with a legend for each at one page): data(volcano) layout(matrix(1:2, 1, 2, byrow = TRUE)) for (i in 1:2) { filled.contour(i*volcano, color =
2004 May 04
1
How to use multiple versions of a R library?
Hello everybody, is there a possibility to install and use multiple versions of a R library at the same time? A few words regarding the background of this question: If I change functions of an already developed package, I have to verify complex functions in a lot of R applications. So it would be useful to use different versions of a function/library and switch to the newer function/library
2002 Feb 04
1
converting string to float
Hello everybody, I have following string type and try to convert it to float: > a<-"20020104.123456" > str(as.numeric(a)) num 20020104 > str(as.real(a)) num 20020104 > str(as.double(a)) num 20020104 How can I get an float instead of an integer? How can I set the desired precision? Thanks in advance Lutz Thieme Lutz Thieme AMD Saxony Manfacturing GmbH Product
2002 Aug 13
1
getting source file name
Hello everybody, is there a way to get the file name of the source file from which I read and execute my R code? In other words: If I'm executing "source('myRfile.r')" I'd like to have a statement inside myRfile.r like "src.file<-$0" (in unix csh style) which assigns th variable src.file to 'myRfile.r' . Thanks in advance! Best regards, Lutz
2002 May 06
4
Subtitle?
Hi, Is it possible to add a subtitle that appears directly below the main title? I tried the "sub" parameter, but it adds sub-title to the bottom of the plot. Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage:
2004 Feb 10
0
name space conflict using RMySQL and ROracle
Hello everybody, could anybody give me a hint how to to use RMySQL and ROracle libraries at the same time without getting conflict with name spaces? Because it needs to much time, unloading and reloading the libraries is no solution... Example: ----------- snip ----------------- library(ROracle) library(RMySQL) mysql <- MySQL() con <- dbConnect(mysql, user=MySQL.name, password=MySQL.pwd,
2006 Sep 04
9
RMagick Image.read doesn't... read!
I''ve a controller with an action that should read an image file from a specified path and do some operations on it (mainly, resize it). I try to read the image through this line of code (the image is placed in applicationname\public\images. img = Magick::Image.read("world.jpg") The fact is that whenever I open that page, the browser freezes and I have to restart my
2003 Jun 12
9
Programcode and data in the same textfile
I have the following problem. It is not of earthshaking importance, but still I have spent a considerable amount of time thinking about it. PROBLEM: Is there any way I can have a single textfile that contains both a) data b) programcode The program should act on the data, if the textfile is source()'ed into R. BOUNDARY CONDITION: I want the data written in the textfile in exactly
2019 Nov 27
2
Error while trying to manage file share
Hello, according to documentation: https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs User is required to setup the file share using ms windows (Computer Management->Connect to another computer). That I am trying without success. When I connect with Windows 7 client I get error message: "Event Viewer cannot connect to computer 'SAMDOM.EXAMPLE.COM. The error ported
2004 Mar 26
4
cbind/rbind fail on matrixes containing lists (PR#6702)
Today's R 1.9.0 beta: > m1 [,1] [,2] [,3] [,4] [1,] NA NA NA NA [2,] NA NA NA NA [3,] NA NA NA NA [4,] NA NA NA NA > class(m1[1,1]) [1] "list" > cbind(m1,m1) Error in cbind(...) : cannot create a matrix from these types > rbind(m1,m1) Error in rbind(...) : cannot create a matrix from these types > version _
2019 Nov 27
4
Error while trying to manage file share
I checked my entire setup again and again. Now I can see the my share. The most relevant change I did (afaik - ofcourse): - since I am using ad backend I created dedicated unix admin groups (as recommended in the docs) - I removed the $ from the share section/defnition ([projects$] -> [projects]) - I changed browseable switch from 'no' to 'yes' Iam still getting the "event
2006 Oct 17
2
CTRL-C behaviour with RODBC on Solaris2.8
After loading the RODBC package version 1.1-7, Ctrl-C changes its behaviour and is quitting R and returning to the (unix-)command prompt on the solaris2.8 platform here. Here's what happened before and after loading RODBC > for (i in 1:10^5) rnorm(10) ^C > library(RODBC) > for (i in 1:10^5) rnorm(10) ^C bash-3.00$ platform sparc-sun-solaris2.8 arch
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University
2007 Jan 18
4
Reading contingency tables
I am trying to read an ftable using read.ftable, but I get the following error message: > jobSatTable <- read.ftable("http://definetti.uark.edu/~gpetris/stat5333/jobSatisfaction.dat",skip=2) Error in seek(file, where = 0) : no applicable method for "seek" In addition: Warning messages: 1: no non-missing arguments to max; returning -Inf 2: no non-missing arguments to
2001 Nov 15
3
pdf() behavior (PR#1174)
--0__=88256B050063F04C8f9e8a93df938690918c88256B050063F04C Content-type: text/plain; charset=us-ascii The attached script produces "Error in plot.xy ... negative length vectors are not allowed" when using pdf() but not when using postscript (). platform sparc-sun-solaris2.8 arch sparc os solaris2.8 system sparc, solaris2.8 status major 1 minor 3.1 year 2001 month