similar to: loading workspace- getting annoying

Displaying 20 results from an estimated 4000 matches similar to: "loading workspace- getting annoying"

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 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 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 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
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
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 ---
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 Nov 10
5
arrays of arrays
Hi All, I want to have an array/ matrix that looks this x<- 0 0 1 1 1 3 5 4 4 7 -1 8 9 10 6 I hope this makes sense. So basically if I want x[1,3] it will access 0 and similarly x[4,2], -1. Thanks in advance, Sachin p.s. sorry about the corporate notice. --- Please consider the environment before printing this email --- Allianz - Best General Insurance Company of the Year 2010*
2010 Nov 11
4
Troubleshooting sweave
Hi All, I've reproduced the example from Prof. Friedrich Leisch's webpage. When I write sweave("Example-1.Snw") OR sweave("Example-1.Rnw"), (yes, I renamed them). I get the following error: Writing to file example-1.tex Processing code chunks ... 1 : echo term verbatim Error: chunk 1 Error in library(ctest) : there is no package called 'ctest' Also while
2010 Oct 08
3
Running R on a server
Hi All, I am trying to run R scripts on a server rather than my own machine. The biggest reason being that the data can be 3GB+; more than my RAM can handle. Anyway is there a way to do this. I am trying to find a SAS alternative. In SAS you can do (keyword) rsubmit; and get things running remotely on a server. Is there something similar on R. Couldn't find a comprehensive answer online.
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 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 -
2011 Jul 03
1
using Arial font
To whom it may concern, I am e-mailing you concerning the use of Arial Font in the program R and I am using a mac. I am trying to create graphs in R and the publisher I wish to publish an article with needs the font to be Arial. I have tried looking around to find out how to do this with no luck and must help on the topic is geared towards Linux users - the only help available is from the PLoS
2010 Oct 24
2
How to simulate from an estimated density
Hi, dear fellows, I was wondering how can I simulate from an estimated density function? I used my training data set and already have estimated density values at some fixed points. I plan to simulate some data from such estimated density and compare them to my validation data set. Anyone can help out is really appreciated. Thanks. Jay -- View this message in context:
2009 Jul 21
2
dump() an object of type raw ?
Is there a way to do this? I tried x <- writeBin(pi, raw()) dump("x","x.R") source("x.R") but is seems x.R is not source()-able, as it contains an unexpected symbol. Thanks Ben
2010 Oct 26
5
cube root of a negative number
Hi, This might be me missing something painfully obvious but why does the cube root of the following produce an NaN? > (-4)^(1/3) [1] NaN > As we can see: > (-1.587401)^3 [1] -4 Thanks! Greg
2004 Jun 23
3
Cannot Restore Workspace with R 1.9.1 (PR#7012)
Full_Name: Stefan Albrecht Version: 1.9.1 OS: Windows NT 4.0 Submission from: (NULL) (194.127.2.73) Hi all, upgrading to R 1.9.1 I am no longer able to restore saved data in .RData with after some involved data manipulations and calculations (fatal error!). In addition I get the message Error: object 'family' not found whilst loading namespace 'MASS'. This problem does not
2009 Jan 14
1
Memory use
Dear R-help list, I am just trying to increase my memory for R, but for some reason I cannot really increase the memory size as much as I would like. I have 3 GB of RAM on a Windows XP (R 2.8.1) > memory.size() [1] 879.4667 > memory.size(T) [1] 1162.75 > memory.limit() [1] 3072 > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncells 421697 11.3 1476915 39.5 1476915 39.5 Vcells