Displaying 20 results from an estimated 4000 matches similar to: "setting plotting device"
2009 Jun 30
4
R version-2.9.1 for Linux
Hi All,
I am currently using R version 2.8.1 on linux cent os 4.4 (i386) and
want to upgrade to version 2.9.1. It seems to me that version-2.9.1 is
it not for my OS.
Am I right?
Regards
Utkarsh
[[alternative HTML version deleted]]
2010 Dec 17
1
[Fwd: adding more columns in big.matrix object of bigmemory package]
Hi,
With reference to the mail below, I have large datasets, coming from various
different sources, which I can read into filebacked big.matrix using library
bigmemory. I want to merge them all into one 'big.matrix' object. (Later, I
want to run regression using library 'biglm').
I am unsuccessfully trying to do this from quite some time now. Can you
please
2009 May 04
4
Splitting a vector into equal groups
Hi All,
I have vector of length 52, say, x=sample(30,52,replace=T). I want to
sort x and split into five *nearly equal groups*. Note that the
observations are repeated in x so in case of a tie I want both the
observations to fall in same group.
This seems a very common task to do, but still I couldn't find an R
function to do this. Any help would be highly appreciated.
Regards
Utkarsh
2008 Sep 16
4
ubuntu hardy packages 32bit no tcltk support
Dear all,
I noticed that the r-base package for Ubuntu 8.04.1 do not have the
tcltk support compiled in. Would it be possible to correct this?
> echo "capabilities()" | R --no-save | tail -6
[Previously saved workspace restored]
> capabilities()
jpeg png tcltk X11 aqua http/ftp sockets libxml
TRUE TRUE FALSE TRUE FALSE TRUE
2009 Jun 02
2
bigmemory - extracting submatrix from big.matrix object
I am using the library(bigmemory) to handle large datasets, say 1 GB,
and facing following problems. Any hints from anybody can be helpful.
_Problem-1:
_
I am using "read.big.matrix" function to create a filebacked big matrix
of my data and get the following warning:
> x =
read.big.matrix("/home/utkarsh.s/data.csv",header=T,type="double",shared=T,backingfile
2009 May 18
2
intermediate iterations of stepwise regression
Hi all,
I am performing a stepwise regression by running the "step" function on
an "lm" object. Now I want to save the intermediate iterations. I know
the argument trace=T will print it on the console, but I rather want to
assign it to some R object or may be output it in a CSV or text file.
Any help will be appreciated.
Regards
Utkarsh
2010 Nov 08
2
incorrect DLL path for Rbitmap.dll on Windows
Hello,
I think there is a problem in recent devel builds of R on Windows with
various devices from the grDevices package.
For example:
> capabilities()
jpeg png tiff tcltk X11 aqua http/ftp sockets
TRUE TRUE TRUE TRUE FALSE FALSE TRUE TRUE
libxml fifo cledit iconv NLS profmem cairo
TRUE FALSE TRUE TRUE
2009 Nov 23
3
FUN argument to return a vector in aggregate function
Hi All,
I am currently doing the following to compute summary statistics of
aggregated data:
a = aggregate(warpbreaks$breaks, warpbreaks[,-1], mean)
b = aggregate(warpbreaks$breaks, warpbreaks[,-1], sum)
c = aggregate(warpbreaks$breaks, warpbreaks[,-1], length)
ans = cbind(a, b[,3], c[,3])
This seems unnecessarily complex to me so I tried
> aggregate(warpbreaks$breaks, warpbreaks[,-1],
2011 May 14
2
calling "exists" function inside another function is not working
Hi all,
I want to define a function such that one of its argument if passed do one
thing and if not passed do the second thing. So basically, I have to check
whether the argument is passed or not inside the function. I am trying to
use 'exists' function to do this.
> f = function(a,b){exists("b")}
> f(a=3, b=4)
[1] TRUE
This is working as expected.
2011 May 14
2
calling "exists" function inside another function is not working
Hi all,
I want to define a function such that one of its argument if passed do one
thing and if not passed do the second thing. So basically, I have to check
whether the argument is passed or not inside the function. I am trying to
use 'exists' function to do this.
> f = function(a,b){exists("b")}
> f(a=3, b=4)
[1] TRUE
This is working as expected.
2010 May 09
2
Non-zero exit status for survival package
I'm running R 2.11 on Karmic. I'm having difficulty installing quite a
few packages with the returned error message of "installation of package
"[whatever the packages happens to be]" had non-zero exit status. I know
this message sometimes is caused by incorrect or missing java packages
and the like. I generally don't have issues with the installation of R
or R packages
2013 Jul 15
1
Problem with plot in several cases, font issue?
Dear all,
I am having problem on plots in R for some cases.
For example:
> plot( 1:10 )
> text( 1:10, letters[1:10], cex = 1)
works well but :
> plot(1:10)
> text(1:10, letters[1:10], cex = 0.9)
returns :
Erreur dans text.default(1:10, letters[1:10], cex = 0.9) :
impossible de charger la police X11
-adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, de face 1 et de taille 11
(sorry
2009 Oct 01
1
X11 Problems
Hi all,
I'm having trouble getting x11 to work with R. (This is on Debian
testing.) I installed r-base and r-base-dev, and then
r-cran-cairodevice. I also tried installing the Cairo package within R,
which appears to work fine.
This what I'm seeing:
> capabilities()
jpeg png tiff tcltk X11 aqua http/ftp sockets
TRUE TRUE TRUE TRUE
2009 Jun 17
1
Unable to use jpeg(), png() etc.....
Hello,
I 've just re-installed R 2.9.0 on ubuntu 9.04.
I do not understand why I am unable to use simple device function such as jpeg(), png()...
> png()
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :
unable to start device PNG
In addition: Warning message:
In png() : no png support in this version of R
> capabilities()
jpeg
2009 May 27
3
Defining functions - an interesting problem
I define the following function:
(Please don't wonder about the use of this function, this is just a
simplified version of my actual function. And please don't spend your
time in finding an alternate way of doing the same as the following does
not exactly represent my function. I am only interested in a good
explanation)
> f1 =
2013 Oct 21
2
png(type='cairo'): point symbols without boarders are not anti-aliased?
Hi,
It seems that anti-aliasing in png(type = 'cairo') is not well
supported for the point symbols without boarders, e.g. pch = 16. The
Cairo package works well, though. You can compare png() with
CairoPNG():
png(): http://i.imgur.com/8niB3jX.png
CairoPNG(): http://i.imgur.com/FZBJOxm.png
f = function(dev, ..., main = '') {
dev(...)
plot(c(1, 2, 1, 2), c(1, 1, 2, 2),
2008 Apr 03
1
X11 image problem in R-2.8.0 Under development / R-2.7
I apologize if this is too obscure to reproduce, or some idiosyncratic
aspects of my system. If I create a plot, e.g.,
> plot(1:10)
I get a graphics device as expected. I then click on the 'zoom' box on
my X11 window, so the window expands to occupy the entire screen. The
plot is redrawn at the scale of the large window, but is clipped to the
'unzoomed' size. I only
2014 Jun 26
1
Compiling R-3.1.0 on debian with libpng/libjpeg
Dear r-developers,
I currently face an issue while compiling R from source on a debian wheezy. When running the configure script (particularly with --enable-R-shlib --prefix=/packages/R/3.1.0/) I get a Makefile and the output
...
Interfaces supported: X11
External libraries: readline
Additional capabilities: PNG, JPEG, NLS
Options enabled: shared R library, shared
2010 Mar 05
1
Redhat Linux Install
I just installed R on Redhat Linux at work for the first time and have two
questions.
1. I tried to install R to have png and cairo capabilities and was
unsuccessful. Before running make, I ran ./configure --with-libpng=yes
--with-x=no --with-cairo=yes --with-readline-yes . R installed fine, but
when I run R and type capabilities()
> capabilities()
jpeg png tiff tcltk
2008 Jun 16
1
tiff(), jpeg(), and png() in R 2.7.0: problems if 'units = "in"' but default height and width
I love the new tiff(), jpeg(), and png() in R 2.7.0 but found
an issue that I didn't see reported.
When specifying 'units = "in"' but forgetting to change the
default height and width (so the figure is unintentionally
going to be 480 inches by 480 inches) I run into problems.
Here's the reproducible example:
tiff("a.tiff", units = "in", res = 1200,