Displaying 20 results from an estimated 10000 matches similar to: "Confused with default device setup"
2008 Apr 27
2
R_DEFAULT_DEVICE (PR#11294)
Setting enviroment variable R_DEFAULT_DEVICE causes an error.
The patch below fixes this.
I guess the same goes for R_INTERACTIVE_DEVICE.
--- R-2.7.0/src/library/grDevices/R/zzz.R 2008-04-27 13:49:11.000000000 +0200
+++ R-2.7.0/src/library/grDevices/R/zzz.R.new 2008-04-27 13:59:37.000000000 +0200
@@ -22,7 +22,7 @@
extras <- if(.Platform$OS.type == "windows")
2015 Oct 03
1
issues with dev.new avoiding RStudio plot device on unix?
> The problem is that the device chosen by dev.new() depends on the GUI.
> You can see the code that does this in grDevices:::.onLoad. So in fact
> with noRstudioGD=TRUE, the decision is identical to what it is in R:
> you only get X11 if your GUI is X11 or Tk, you get pdf otherwise.
> It's pretty common to use R on a machine where X11 won't work, so this
> makes sense.
2015 Sep 29
2
issues with dev.new avoiding RStudio plot device on unix?
On 09/26/2015 03:22 AM, Duncan Murdoch wrote:
> On 26/09/2015 1:42 AM, Skye Bender-deMoll wrote:
>> Sorry, should have given more background. x11 works fine on all my
>> systems when called by x11(). I'm the maintainer of a package that uses
>> the animation library, which has performance issues when used with the
>> RStudio plot device. But if you call plot.new()
2015 Sep 26
3
issues with dev.new avoiding RStudio plot device on unix?
Sorry, should have given more background. x11 works fine on all my
systems when called by x11(). I'm the maintainer of a package that uses
the animation library, which has performance issues when used with the
RStudio plot device. But if you call plot.new() when using RStudio, you
get an RStudio device, not the standard device for the platform because
it overrides the device option.
2009 Oct 03
1
Graphics Device; locator function
Hi, haven't been here for a while, but everyone one was always so
helpful I thought I would ask you another really basic question.
I'm running R2.9.1 in Ubuntu8.04 on a netbook (maxed out on memory etc
so I don't think that's a problem - wth it's a Dell Mini 9" with that
lpia non-architecture you told me about).
Anyway, some of the graphics functions/parameters are
2009 Jun 03
2
Problems with plot and Quartz device (PR#13744)
Full_Name: Thomas Richardson
Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395)
OS: 10.4.11
Submission from: (NULL) (216.254.15.72)
I have encountered a problem with points in scatterplots disappearing in a
quartz window when it is re-sized (to make it larger).
I am constructing an 8x12 matrix of scatterplots each containing approx 600
points.
In order to get them in the window I remove the
2017 Aug 25
0
getOption() versus Sys.getenv
On 25/08/2017 1:19 PM, Sam Albers wrote:
> Hi there,
>
> I am trying to distinguish between getOption() and Sys.getenv(). My
> understanding is that these are both used to set values for variables.
> getOption is set something like this: option("var" = "A"). This can be
> placed in an .Rprofile or at the top of script. They are called like this
>
2017 Aug 25
2
getOption() versus Sys.getenv
Hi there,
I am trying to distinguish between getOption() and Sys.getenv(). My
understanding is that these are both used to set values for variables.
getOption is set something like this: option("var" = "A"). This can be
placed in an .Rprofile or at the top of script. They are called like this
getOption("var").
Environmental variables are set in the .Renviron file
2007 Dec 10
2
Problem with graphics device in Mac OS X
Hello List,
I am teaching a basic course where students are encouraged to use R. There are a few students using Mac OS X. As a test we downloaded and installed the latest .dmg file (R-2.6.1.dmg) onto a intel Mac running 10.5.1. A device query yields
> getOption("device")
"quartz"
But any plot command does not bring up a plot (e.g. plot(), boxplot(), hist()).
I found a
2008 Jun 04
1
problem pasting into Illustrator CS2
To Whom it May Concern:
I have been using R version 2.6.2 for awhile now, installed on a
PowerMac G5 running OS 10.4.11 I typically get Quartz graphics
output from R into Adobe Illustrator CS2 simply by copying and
pasting. Upon upgrading to R version 2.7.0, I now receive an error
from Illustrator when trying to paste R generated graphics from the
Quartz window into Illustrator. I do
2008 Dec 03
2
Making a picture that is wide and small height
How do I make a picture that is a horizontal strip? I tried
> plot(x=c(1,2,3,4),y=c(1,1,1,1)) #works but screen image is square.
> pdf("ratio.pdf",height=1,width=6)
> plot(x=c(1,2,3,4),y=c(1,1,1,1))
I got the following error message:
Error in plot.new() : figure margins too large
Is it possible to produce an on-screen picture that is a horizontal strip?
(I use Mac Os X
2005 Dec 10
2
odd error
Hi All.
I am getting a rather odd error using R 2.2.0 on Suse
Linux 10. I write R scripts in the text editor Kate
and then execute them using e.g
>source ("timecourse_il4.r")
in R. I have been moving these scripts between a linux
box and a Mac and for that reason have a line
quartz(display="", width=7, height=7)# set quartz
graphics window size for linux change this to
2006 Feb 08
1
invalid graphics state using dev.print (fwd)
On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote:
> On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote:
>
>> Tried on R-Sig-Mac with no responses, but I need some kind
>> of answer.
>> [...]
>> Does the following work on your system?
>
> Interesting, no, it doesn't either. For png and pdf I use
> Quartz + quartz.save (it produces much nicer results) so
> I
2009 Jan 06
5
Using apply for two datasets
I can run one-sample t-test on an array, for example a matrix myData1,
with the following
apply(myData1, 2, t.test)
Is there a similar fashion using apply() or something else to run
2-sample t-test with datasets from two groups, myData1 and myData2,
without looping?
TIA,
Gang
2007 May 04
2
Qt device update
Hi,
a few days back I had asked for help on a Qt device package. Thanks to
hints from Duncan TL and Thomas Friedrichsmeier, I now have something
more or less functional. For those interested, It can be downloaded
from
http://dsarkar.fhcrc.org/R/R-Qt.html
I have a couple of related questions. First, dev.interactive(), used
in example() and many demo()-s to decide if the current device is
2009 Sep 06
2
OS X PDF bug (PR#13943)
par(mfrow=c(2,2))
y<-1:20
plot(y, pch="+")
plot(y, pch="+")
plot(y, pch="+")
plot(y, pch="+")
produces a pdf that is viewable in Preview (copied from the
clipboard) but fails to print.
pch default or ="." or =3 prints.
Unfortunately pch=3 doesn't fix the mfrow=c(5,6) graph that I'm
actually trying to print,
so the bug lies
2015 Sep 25
2
issues with dev.new avoiding RStudio plot device on unix?
Hi R-devl,
I'm still unable to force opening an *interactive* non-Rstudio
platform-specific plot device on *unix* systems.
dev.new() add a new argument 'noRStudioGD' in R 3.1.1. Thank you. It
works for me when using RStudio on Windows, but on the unix system it
opens a pdf device instead of an interactive device when using an
interactive RStudio session (with R_DEFAULT_DEVICE
2019 Jan 06
2
change default path for installing r-cran packages by sudo apt r-cran...?
dear dirk,
i am following up on our thread on r-help-mailinglist. you advised me to
bring it over here.
when installing packages from within R, they usually go to a directory
defined in R_LIBS_USER, which i have it set in .Renviron.
when installing packages via sudo apt install r-cran-.., they go to
/usr/lib/R/site-library.
is there a possibility to have packages installed to the R_LIBS-USER
2015 Mar 30
2
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
Dear Johannes, Dear Dirk,
Thanks a lot for helping. Here is the missing information.
Here is how I installed R. This is basically how Martin Maechler
showed me to install R under Ubuntu (in several versions so that they
are also recognized by ESS). My goal is to adjust this to make it work
for Debian:
1) sudo emacs /etc/apt/sources.list # then add:
deb
2002 Oct 16
1
Documentation for .Renviron (PR#2175)
Hi everyone,
Two minor points about ?.Renviron.
1) If R_ENVIRON is not set then R defaults to `${R_HOME}/etc/Renviron',
not `${R_HOME}/etc/Renviron.site' as stated.
2) In the details, there is a missing "way" in "`value' is processed
in a similar to a Unix shell."
Cheers, Jonathan.
--please do not edit the information below--
Version:
platform =