similar to: R crashes

Displaying 20 results from an estimated 900 matches similar to: "R crashes"

2009 Sep 21
9
Handling missing data
I have to remove missing data both in character and numeric datatype.I tried using NA condition but it is not working ,please help me to solve this. -- View this message in context: http://www.nabble.com/Handling-missing-data-tp25530192p25530192.html Sent from the R help mailing list archive at Nabble.com.
2009 Sep 18
4
Datetime conversion
I'm relatively new to R .I tried converting the datetime column with values like 01apr1985:00:00:00.000 using strptime(datetime,"%d%b%Y).Could anyone help me in this regard .Please reply ASAP i need . -- View this message in context: http://www.nabble.com/Datetime-conversion-tp25503138p25503138.html Sent from the R help mailing list archive at Nabble.com.
2009 Sep 22
5
use of class variable in r as in Proc means of sas
Hi,everyone i need to calculate quartile values of a variable grouped by the other variable . same as in aggregate function(only median,mean or functions is possible-i think so) Could you please help me to achieve the same for other quartile values(5,10,25,75,90) as for median using aggregate. Thanks in advance. data : zip price 60000 567000 60001 478654 60004 485647 60001
2009 Sep 25
2
Nested select
my data : library(doBy) lines<-"lo ptcl5 ptcl99 variable 430 . 8787 a 430 342 2343 m 430 . 89 mr 431 456 4774 a 431 299 2777 m 431 99 96 mr 432 333 3433 a 432 . 7377 m 432 .
2010 Jan 25
4
R Memory Problem
Is anyone could help me to resolve this problem?I'm presently an SAS user for my application and was exploring R to use it for my application.I have already posted this question on using my 32 bit machine with 2GB RAM and from what i understood was to use a 64Bit machine .I tried using 64bit machine using 4GB RAM .I'm running predictive analytics using R and to calibrate my model i used to
2008 Oct 14
3
gWidgets install
Hi, I wanted to install the gWidgets package and ran the following code: ------------------------------------------ > install.packages("gWidgets") trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.7/gWidgets_0.0-30.zip' Content type 'application/zip' length 1354268 bytes (1.3 Mb) opened URL downloaded 1.3 Mb package 'gWidgets'
2010 Jan 29
1
R on Hard drive memory
I heard form my friend there is a way to run R in system hard disk space not in the RAM .By that we may not run out of memory and have problem attached with the same.Someone could help me in this.Thanks. -- View this message in context: http://n4.nabble.com/R-on-Hard-drive-memory-tp1401528p1401528.html Sent from the R help mailing list archive at Nabble.com.
2009 Feb 06
3
Sweave and backslashes
Hello Everyone, I am an avid Sweave user and I am trying to pretty print floating point numbers for latex output. For example in my document, I would like: 4.2\cdot 10^-{8} Instead of: 4.2e-08 The Hmisc package has a nice function for doing this- but Hmisc has a ton of dependencies and has proved very unportable to the various machines I work on. So, I set out to write my own function that
2010 Feb 28
3
R help question: How can we enable useRs to contribute corrections to help files faster ?
Hello dear R users, *Here is the background for my question:* I just had a look at the help file for ? Yeast in the "HistData" package. In it, I found a small spelling mistake where the word "*c*istribution" was written instead (so I imagin) "*d*istribution". I thought maybe I should e-mail the developer. Since there is no link to contacting the developer inside
2010 Apr 27
3
Problem calculating multiple regressions on a data frame.
Hi there, I am stuck trying to solve what should be a fairly easy problem. I have a data frame that essentially consists of (ID, time as seqMonth, variable, value) and i want to find the regression coefficient of value vs time for each combination of ID and Variable. I have tried several approaches and none of them seems to work as i expected. For example, i have tried:
2010 Oct 18
1
Incorrect positioning of raster images on Windows
I am working on dumping raster data from R into PNG files using rasterImage(). I am working with a test matrix from the rasterImage() example and using it to produce a PNG image with the following code: # From the example for rasterImage(). A 3 pixel by 5 pixel b/w checkerboard. testImage <- as.raster(0:1, nrow=3, ncol=5) testImage [,1] [,2] [,3] [,4] [,5] [1,]
2010 Oct 18
1
Incorrect positioning of raster images on Windows
I am working on dumping raster data from R into PNG files using rasterImage(). I am working with a test matrix from the rasterImage() example and using it to produce a PNG image with the following code: # From the example for rasterImage(). A 3 pixel by 5 pixel b/w checkerboard. testImage <- as.raster(0:1, nrow=3, ncol=5) testImage [,1] [,2] [,3] [,4] [,5] [1,]
2007 Nov 01
3
Curry: proposed new functional programming, er, function.
Hi all (especially R-core) I suppose, With the introduction of the new functional programming functions into base I thought I'd ask for a Curry() function. I use a simple one that looks this: Curry = function(FUN,...) { .orig = list(...);function(...) do.call(FUN,c(.orig,list(...))) } This comes in really handy when using say, heatmap():
2009 Nov 16
3
Error on reading an excel file
Hello everybody, here is the code I use to read an excel file containing two rows, one of date, the other of prices: library(RODBC) z <- odbcConnectExcel("SPX_HistoricalData.xls") datas <- sqlFetch(z,"Sheet1") close(z) It works pretty well but the only thing is that the datas stop at row 7530 and I don?t know why datas is a data frame that contains 7531 rows with the
2011 Apr 07
1
R 2.13.0-beta for Windows, file.copy() throws suspicious errors due to default value of copy.mode
While checking packages against R 2.13.0-beta on Windows, I have run into a few strange error messages related to copying files. The errors all relate to file.copy() and have the form of: Error in Sys.chmod(to[okay], file.info(from[okay])$mode, TRUE) : 'mode' must be of length at least one After half a day of tinkering, the best reproducible example I can come up with involves using
2008 Oct 07
11
Creating GUIs for R
Hi all, I have looked around for help on creating GUIs for R, but haven't found anything. I would be interested in any advice or webpages that have information on the best language, tutorials etc. for creating simple GUIs. Mainly I want to do this as a heuristic exercise. Thanks for any help. Wade Wall [[alternative HTML version deleted]]
2009 Jul 19
4
space in column name
I read a table from Microsoft Access using RODBC. Some of the variables had a name with a space in it. R has no problem with it but I do. I cannot find out how to specify the space names(alltime) [1] "ID" "LVL7" "Ref Pv No" "Ref Pv Name" "DOS" "Pt Last Name" "Pt First Name" "MRN"
2010 Aug 22
1
fortune? (was: Re: How do you make a formal "feature" request?)
Dear all I was wondering whether such a long post could be fortune-ed. What do you think? Regards Liviu On Sat, Aug 21, 2010 at 9:33 PM, Sharpie <chuck at sharpsteen.net> wrote: > Well, I can think of three ways it can go down: > > > 1. ?You want a shiny new pony. > > You ask about it on the mailing list and it seems that everyone else in the > world responds
2010 Mar 26
4
Creating a vector of categories
Hi, I have a column in a data frame looking something like: $sex $language $count male english 0 male english 0 female english 32 male spanish 154 female english 11 female norweigan 7 and so on. What I want to do is to order these in to categories, for instance one category where count>=0 & count<10 and so on.. I want my data to turn out looking something like: male
2009 Sep 30
5
Rounding error in seq(...)
Hi, Today I was flabbergasted to see something that looks like a rounding error in the very basic seq function in R. > a = seq(0.1,0.9,by=0.1) > a [1] 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 > a[1] == 0.1 [1] TRUE > a[2] == 0.2 [1] TRUE > a[3] == 0.3 [1] FALSE It turns out that the alternative > a = (1:9)/10 works just fine. Are there any good guides out there on how to deal