similar to: strange behavior from cex="*"

Displaying 20 results from an estimated 1000 matches similar to: "strange behavior from cex="*""

2011 Feb 14
1
readPNG gives warnings and doesn't execute sample code from help files
Dear all, I noticed in the latest R version (R.2.12.1) that the readPNG gives following warning when running the example code in the help file (or when using any other png for that matter) : 50: In rasterImage(img, 1.2, 1.27, 1.8, 1.73) : Per-pixel alpha not supported on this device No picture is shown, and code I used to be able to run, doesn't run any more. > sessionInfo() R version
2011 Sep 23
1
spatstat => owin + image
Dear Community I am at my wits end and seek advice. My wish is to plot coordinates (x,y in WGS84_UMTS for the ones interested) of sampling points. This I can do by the standard spatstat prodcedure via owin. I then try to add an image, which is a map/satellite photo in the background. Firstly Problem: With the current code, I can not get the edges of the image to match the boarders of the plot
2011 Feb 15
1
Using rasterImage on a CairoWin device prevents adding further elements to device?
I was pointed to the Cairo package for plotting PNG images on a device. I've been playing around with it, but found that after I use the rasterImage function, I can't add anything any more to the device, eg : img <- readPNG(system.file("img", "Rlogo.png", package="png")) r = as.raster(img[,,1:3]) r[img[,,4] == 0] = "white" CairoWin()
2013 Jun 11
1
Caret train with glmnet give me Error "arguments imply differing number of rows"
Hello, I'm training a set of data with Caret package using an elastic net (glmnet). Most of the time train works ok, but when the data set grows in size I get the following error: Error en { : task 1 failed - "arguments imply differing number of rows: 9, 10" and several warnings like this one: 1: In eval(expr, envir, enclos) : model fit failed for Resample01 My call to train
2012 May 09
2
plot betadisper, change of pch
Hello! After performing an analysis with betadisper, package vegan I would like to plot the results - so far, so good. But I would also like to "tune" a little bit the plotting characters, as '+' and 'x' are a little to similar... My (boiled down) code: [See session info at the bottom of the mail, vegan is vegan_2.0-3] mod <- betadisper(mydata, mygroups,
2012 Jun 06
1
error calling Winbugs using R2WinBugs to run a multi-level model
Dear all, I'm calling Winbugs (1.4.3) through R2WinBugs (2.1-18 coda_0.14-7) to fit a switching random walk model, but come up with an instant trap with the log only displaying 'check('. I will paste the trap with session info below; I'd be very grateful for any ideas. Couple of leads: 1. I presume the problem relates to the r package itself or the way I call bugs(), because I
2008 Feb 06
1
xloadimage in centos 5.1
I have noticed that xloadimage rpm is not in centos 5.1 I use the command "xview -identity" to get the size of gifs, jpgs, and pngs. xview is part of the xloadimage package. The command "file filename" also reports sizes for gifs and pngs BUT not for jpgs. Is there an alternative command to use to report gif jpg and png sizes? I thought about just getting an older
2009 Dec 13
1
plot merging/compression with R
Dear list, i just encountered a problem concerning the export of multiple plots. is it possible to merge several PNGs into one PDF document? i know that this could be easily done by pdf(), but the outcome of this is /way/ too huge (> 15 MB, four plots) and to my knowledge there's no way to compress PDFs directly in R. Hence the PNGs that are saved one at a time and afterwards merged by
2008 Jul 08
4
Can R do this ?
I have a folder full of pngs and jpgs, and would like to consolidate them into a pdf with appropriate title and labels. Can this be done via R ? _________________________________________________________________ Easily publish your photos to your Spaces with Photo Gallery. [[alternative HTML version deleted]]
2012 May 10
1
fda problems - version correct?
Dear friends - I am trying to understand fda and working with the 2009 book from Springer. I run the scripts directly from a new installed fda library and include sessionInfo() below. This is from the script fdarm-ch09.R - I seem to have got not fda_2.2.8 but 2.2.7 - is that the problem? Where do I get .8 as I just reinstalled? Best wishes Troels Ring, Nephrology Aalborg, Denmark >
2013 Oct 10
1
install.packages() removes package on Windows
Hi, Starting with the XML package installed: > "XML" %in% rownames(installed.packages()) [1] TRUE > I ran the following script: pkgs <- c("XML") for (i in 1:100) { install.packages(pkgs, repos="http://cran.fhcrc.org") if (!all(pkgs %in% rownames(installed.packages()))) { print("failed to install pkgs!")
2010 Jan 28
1
quartz() and dpi
Hello all, I am using quartz (on OS X obviously) to produce PDFs and PNGs from my plots, for later inclusion in LaTeX. I am typically using something like: plot(0) dev.print(quartz, file="foo.pdf", width=5, height=3) dev.print(quartz, file="foo.png", width=5, height=3, dpi=72) I want the sizes of the PDF and PNG to be *equal* in *inches*, which works with dpi=72. However,
2012 Jul 12
1
Caret: Use timingSamps leads to error
I want to use the caret package and found out about the timingSamps obtion to obtain the time which is needed to predict results. But, as soon as I set a value for this option, the whole model generation fails. Check this example: ------------------------- library(caret) tc=trainControl(method='LGOCV', timingSamps=10) tcWithout=trainControl(method='LGOCV')
2012 May 30
1
fractional seconds in POSIXct
Hi, Using the following simple character vector representing a time series with fractional seconds: datetime <- c("20/09/2011 13:00:59.00", "20/09/2011 13:00:59.02", "20/09/2011 13:00:59.04") Conversion to POSIXct runs into problems; the second element is not interpreted correctly: ---<--------------------cut
2012 May 25
1
Multiple rms summary plots in a single device
I would like to incorporate multiple summary plots from the rms package into a single device and to control the titles, and also to open a new device when I reach a specified number of plots. Currently I am only getting a single "plot(summary(" graph in the upper left- hand corner of each successive device. However, in the rms documention I see instances of a loop being used with
2012 May 15
1
caret: Error when using rpart and CV != LOOCV
Hy, I got the following problem when trying to build a rpart model and using everything but LOOCV. Originally, I wanted to used k-fold partitioning, but every partitioning except LOOCV throws the following warning: ---- Warning message: In nominalTrainWorkflow(dat = trainData, info = trainInfo, method = method, : There were missing values in resampled performance measures. ----- Below are some
2010 Mar 17
3
Associating a default paperclip image from a different model
Here''s some code, this is my NewsItem model as you can see... class NewsItem < ActiveRecord::Base belongs_to :country has_attached_file :image, :styles => { :original => ''57x57'' }, :default_url => ''/images/football.png'' # has_attached_file :image, # :styles => { :original => ''57x57'' },
2005 Oct 02
1
Size of jpegs/pngs
Dear all I have trouble with setting the size for jpegs and pngs. I need to save a dendrogram of 1000 words into a jpeg or png file. On one of my computers, the following works just fine: bb<-agnes(aa, method="ward") jpeg("C:/Temp/test.txt", width=17000, height=2000) plot(bb) dev.off() On my main computer, however, this doesn't work: >
2009 Oct 22
3
PDF too large, PNG bad quality
I wish to save a scatter plot comprising approx. 2 million points in order to include it in a LaTeX document. Using 'pdf(...)' produces a file of size about 20 MB, which is useless. Using 'cairo_pdf(...)' produces a smaller file, around 3 MB. This is still too large. Not only that the document will be too large, but also PDF viewers choke on this. Moreover, Cairo has problems
2004 Nov 30
1
bitmap (blank image) plot rendering without X11
Hi, I am trying to generate plots on our unix (no X) server to be included in our web-pages -> specifically pngs. Without X, png() obviously doesn't work, so I have been trying to define the graphics print device bitmap as described in the help: > bitmap(file="plot.png", type = "png256", height = 6, width=6,res=72) > pie(c(12,5)) >