similar to: Memory use

Displaying 20 results from an estimated 120 matches similar to: "Memory use"

2009 Jun 25
1
error: compiling R package
Hello, I tried to build an own R package on Windows XP but get an error which I can't solve. I called my package "pack". It works to creat the file "pack" with package.skeleton(). But when I try to compile it with Rcmd build --binary pack I obtain the following error: IO::Seekable::seek missing at C:/R/R-2.9.0/share/perl/FileHandle.pm line 59. Compilation failed in
2005 Sep 30
0
Easy cut & paste from Excel to R
Maybe this helps, too. readExcel <- function(row.names = 1, check.names = FALSE, ...) read.delim("clipboard", row.names = row.names, check.names = check.names, ...) writeExcel <- function(x, check.rows = FALSE, check.names = FALSE, ...){ df <- data.frame(x, check.rows = check.rows, check.names = check.names) write.table(df, "clipboard", sep = "\t",
2005 May 04
0
its package: inexplicable date-shifting
please see also my posting on R-sig-finance https://stat.ethz.ch/pipermail/r-sig-finance/2005q2/000290.html Best regards, Stefan ------------------------------------------------------- Dr. Stefan Albrecht, CFA Allianz Private Equity Partners GmbH Giselastraße 4 D-80802 Munich, Germany Phone: +49.89.38 00 - 18 317 Fax: +49.89.38 00 - 818 317 stefan.albrecht@allianz.com www.apep.com
2006 Nov 23
1
Problem with as.ts(zoo-object)
Dear all, I have an error message, when I try to convert a zoo object (called test) to ts (on R 2.4.0, Package zoo version 1.2-1, Windows XP) > test 1994-05-10 1994-06-09 1994-07-09 0.0024943889 0.0024881824 0.0006955831 > str(test) atomic [1:3] 0.002494 0.002488 0.000696 - attr(*, "index")=Class 'Date' num [1:3] 8895 8925 8955 > is.regular(test) [1] TRUE
2006 Nov 10
1
lattice: histogram of factor variable
Dear all, I am encountering a problem with lattice in the current version 0.14-13 with R version 2.4.0 on a Windows XP system. For example, histogram(~voice.part, singer) is not labeling the x labels according to the factor levels of voice.part, which it should do (and has done in former versions of lattice, as far as I remember). In addition, I get the warnings Warning messages: 1:
2010 Nov 12
1
font family in R
Hi All, I've been looking around (maybe not extensively) but I couldn't find any documentation on the list of fonts thats useable with R. Im trying to change the font of the title, seems like mtext is the only way so far, which can actually write on top of each other depending on the lines: plot(1:5,1:5); mtext("Title",side=3,cex=3.5,line=1); mtext("Sub
2004 Nov 16
0
From S-Plus to R
Dear Isabelle, for most of my work I have switched from S-Plus to R, because it is easier to make scripts with due to the better documentation and some other more reasonable implementations. And there was also a cost issue with the S-Plus Server, which is not for free at all. In R I use the its package for time series, which is quite sufficient for my needs. The only problem I encountered was
2010 Nov 09
1
date conversion and plot
Hi All, I have a date in the format of yymmdd (without any of the backslashes, eg. 100731). How do I convert this into a Rdate and plot it? I don't want the number of days from 1970's showing up as my date (Its the date I require). Thanks, Sachin p.s. sorry about the corporate notice I can't remove it. --- Please consider the environment before printing this email --- Allianz -
2010 Oct 31
1
parallel for loop
Hi all, Just following on from a previous thread (for loop). Is there a parallel 'for' loop like matlab (parfor maybe?). I know there was a Nvidia GPU version for blas somewhere. But is there a CPU or a GPU version of the for loop? Thanks, Sachin p.s. sorry about the corporate notice below: cant get rid of it. Don't have other mail client access at the office :( --- Please consider
2010 Nov 11
1
trouble with plotting data- possible bug?
Hi all, When I write out some values and then use 'plot' and 'lines' respectively I can get R to plot me two lines. However when I get the data from a csv file and run it I only manage to get one line running (whichever was invoked first). The sample files are attached below and I've reproduced the code below with the suspicious part marked as #??? (not even sure if thats
2010 Oct 20
1
Accessing table elements and escape characters
Hi All, Are there any escape characters that I should be aware of when using table.read? I don't have any '#' characters in this table. I get the error: A<-read.table("P:/temp.csv",header=TRUE, sep=","); Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 11018 did not have 85 elements but when i open it in excel everything is
2010 Nov 11
1
plot options including formatting axes
Hi All, Currently my plot shows the y-axis in scientific notation (1e07 and so on). I want to be able to display this in dollars such that it shows $10,000,000 (including the commas). How do I do this. Also with the xlabel and ylabel. I've specified: 'title('Cash vs Time',xlab='Period',ylab=''); Im hoping that this will also not display anything on the y-axis.
2010 Oct 20
3
loading workspace- getting annoying
I stupidly decided to save my last workspace (a large dataset) and every time I open R it loads it back in. Can I stop this? Also how do you clear variables. Thanks, Sachin --- Please consider the environment before printing this email --- Allianz - General Insurance Company of the Year 2009+ + Australia and New Zealand Insurance Industry Awards This email and any attachments has been sent by
2007 Oct 08
2
Incompatible methods ("-.POSIXt", "Ops.difftime") for "-"
Dear all, according to the Help-page of DateTimeClasses {base} I should be able to do time - z with time date-time objects z a numeric vector (in seconds) or an object of class "difftime". However, on R version 2.6.0 (Windows XP) I get > Sys.time() - as.difftime(c("0:3:20", "11:23:15")) Time differences in mins [1] 1191837998 1191837318
2010 Nov 11
2
comma separated format
Hi All, I'm trying to create labels to plot such that it doesn't show up as scientific notation. So for example how do I get R to show 1e06 as $1,000,000. I was wondering if there was a single function which allows you to do that, the same way that as.Date() allows you to show in date format on a plot. Thanks, Sachin --- Please consider the environment before printing this email ---
2010 Nov 12
2
switching only axis off in plot
Hi R, In the following code my x-axis is formatted in month format. Which Im happy with. The y-axis is what I want to re-format with something else. My question is, is it possible just to switch off the xaxis in plot function (see below). If not how do you get the months to show up as FEB-YYYY, MAR-YYYY and so on, so I could fit a label on x-axis. Thanks, Sachin p.s. sorry about corporate
2010 Oct 13
2
drilling down data on charts
Hey all, Suppose a=b^2 for starters. I want to be able to create a graph that displays a initially and if i was to click on 'a' to show 'b' on the chart itself. Does anyone know if this is possible in R? Also as an extension (not necessary as yet) to output the above into a 'html' file. Thanks, Sachin --- Please consider the environment before printing this email ---
2007 Apr 19
2
rbind() of factors in data.frame
Dear all, I would like to inquire, if it is a desired feature that the combination with rbind() of two data frames with factors columns does not sort the factors levels of the combined data frame. > str(rbind(data.frame(a = factor(c(4, 3))), data.frame(a = factor(c(2, 1))))) 'data.frame': 4 obs. of 1 variable: $ a: Factor w/ 4 levels
2010 Nov 14
1
cannot see the y-labels (getting cut-off)
Hi All, When I run the following code, I cannot see the entire number. As opposed to seeing 1,000,000,000. I only see 000,000 because the rest is cut off. The cex option doesn't seem to be doing anything at all. y<-seq(1e09,5e09,1e09); plot(1:5,y,ylab='',yaxt='n' ); axis(2, at=y, labels=formatC(y,big.mark=",",format="fg"),las=2,cex=0.1); Any thoughts?
2010 Dec 07
1
getting R to download data
Hi All, Is it possible to write a program such that it downloads a csv from a given web address? Would be great if this could be done at a particular time during the day as well. Say 9AM monday-friday. Incase you are curious Im just trying to analyse some stocks data. Thanks, Sachin p.s. sorry about corporate notice --- Please consider the environment before printing this email --- Allianz -