Displaying 2 results from an estimated 2 matches for "stevenmckinney".
2012 Jan 18
1
png cairo device problems on Mac 10.6.8
...; on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[R.app GUI 1.44 (5997) x86_64-apple-darwin9.8.0]
[History restored from /Users/stevenmckinney/.Rhistory]
> png("foo.png"); plot(1:10); dev.off();
null device
1
> png("foo.png", type = "cairo"); plot(1:10); dev.off();
null device
1
libpng warning: Application built with libpng-1.2.26 but running with 1.5.2
> ?png
starting httpd...
2006 Jul 19
1
[BioC] Errors using biocLite on Apple OS X
...---------------------------------------
(1)
make.packages.html() uses the function tempdir()
and attempts to create a temporary
directory in the default location /tmp/
which fails due to the /tmp directory
architecture on the Mac.
I set up a .Renviron file in my user account directory,
/Users/stevenmckinney/.Renviron
containing the *nix environment variable
TMPDIR="/Users/stevenmckinney/tmp"
Now the tempdir() function returns a directory
in a location that my user account has write access to:
> tempdir()
[1] "/Users/stevenmckinney/tmp/Rtmp1zKvhp"
---------------------------...