search for: plotname

Displaying 11 results from an estimated 11 matches for "plotname".

Did you mean: lotname
2013 Aug 19
2
Problemas con ggsave(paste('img/',plotName,'.png', sep='')
Estimados usuarios de R: Soy nuevo en R, le ruego disculpa por mi *Ignorancia*. Estoy corriendo la siguiente instruccion, ggsave(paste('img/',plotName,'.png', sep='') y resulta el error: ggsave(paste('img/',plotName,'.png', sep='') Saving 7.32 x 4.87 in image Error in grDevices::png(..., width = width, height = height, res = dpi, : unable to start png() deviceIn addition: Warning messages:1: In...
2013 Aug 26
0
Problemas con ggsave(paste('img/', plotName, '.png', sep='')
Estimado Linis, Si estás bajo Windows y no has cambiado las rutas (también dentro de las funciones) es posible que no funcionen bien. Por ejemplo la sentencia paste('img/',plotName,'.png', sep='') deberías cambiarla por: paste('img\',plotName,'.png', sep='') o incluso por paste('img\\',plotName,'.png', sep='') dependiendo de la idiosincrasia de Windows. Este cambio debería corregir el error: unable to open...
2011 Jul 08
1
Referencing a vector of data labels in ggplot function
...f7bd2e','#ec421e', '#f7bd2e') #If I use the line below and explicitly place plines, pTitle and col1 in the appropriate places #it will work fine. I want to use the line as written without the hashmark. #simple <- function(dframe){ withNames <- function(dframe, lineNames, plotName, colors){ p <- ggplot(dframe, aes(date, value, group = factor, color = factor)) p2 <- p + geom_line(size = 1) # + opts(title = plotName) p2 <- p2 + facet_grid(Facet~., scales = 'free') + # p2 <- p2 + geom_text(data = dframe[dframe[,'date'] == '1941-0...
2009 Apr 14
2
subset dataframe by rows using character vector?
Dear List, I'm stuck on what seems like a simple indexing problem, I'd be very grateful to anyone willing to help me out. I queried a dataframe which returns a character vector called "plot". I have another dataframe from which I want to subset or select only those rows that match "plot". I've tried subset, and also the "which" command. plot
2004 Apr 14
3
A bug report?
...ow. :-) I have attached the data file and the program file but don't know whether these attachments will make it into the list. Here is my bugreport.R program -- --------------------------------------------------------------------------- buoyancy <- function(year, taxbase, tax, description, plotname) { cat("Simple full OLS regression with all data:\n") logtax = log(tax) logtaxbase = log(taxbase) m = lm(logtax ~ logtaxbase) summary.lm(m) details = summary.lm(m) } A <- read.table(file="amodi-data.csv", sep=",", col.names=c("year",...
2009 Dec 07
3
savePlot for Mac and / or Linux?
Hi all, In the package rtlu, I use the function savePlot. It is convenient since it let the user decide in which graphic format he wants his graph to be export. But when I run R CMD check, I get the following message : > rtlu(V1,fileOutput="First.tex",textBefore="\\section{Variable 1 to 3}",graphName="V1") Error in savePlot(filename = nomBarplot, type = type)
2013 Aug 19
1
Error in grDevices
Estimados usuarios de R: Estoy corriendo el código de aqui: http://www.r-bloggers.com/visualizing-baltimore-2-vacant-property-and-some-more-crime/ y al correr la función ggsave(paste('img/',plotName,'.png', sep='') resulta el error: Saving 7.32 x 4.87 in image Error in grDevices::png(..., width = width, height = height, res = dpi, : unable to start png() deviceIn addition: Warning messages:1: In grDevices::png(..., width = width, height = height, res = dpi, : unable t...
2008 Jun 18
5
paste data
Hello, I need a command. I have a lot of data in different dataframes(auto.0a, auto.0b, auto.0c, auto.5Na,...), that has similar names. I could print the names all at once wih a loop with the command paste(), see below:
2013 Mar 18
1
Windows R-3.0.0 and Tcl/tkrplot issue
Greetings R Developers, I've been testing the alpha release of R-3.0.0 and I noticed that the plotting functionality in package tkrplot was not working correctly. Further diagnosis found the issue to be related to the command '.Tcl("image create Rplot plotname")' from package "tkrplot". The following example is taken from here: http://tkrplot.sourcearchive.com/documentation/0.0.14/tcltkimg_8c_source.html > library(tkrplot) > library(tcltk) > my.tkdev <- function() win.metafile(width=4,height=4) > my.tkdev() > plot...
2011 Feb 16
2
how to create normalized pdf plot?
Hello, I have multiple data files. Each file contains a single column and 1.5 million rows. I want to create normalized pdfs (area under curve is 1) and histograms to compare with one another. Could anybody suggest if there exists an easy way or built in function in R. At present I am using Origin and Excel together to do this. A single file needs 10 minutes and I have a total of 929 files! So
2006 Jan 13
3
Saving a plot in R-LINUX
Good day, Is there any way to save a plot produced by R in a LINUX (Debian) machine? The window opened by R to put the plot in, does not give any option to save it (there are options to move, close, minimise it, etc. but not to save it). How do you do that? Thanks, Augusto -------------------------------------------- Augusto Sanabria. MSc, PhD. Mathematical Modeller Risk Research Group