similar to: I updated/reinstalled ggplot2 and the trouble started...

Displaying 20 results from an estimated 1000 matches similar to: "I updated/reinstalled ggplot2 and the trouble started..."

2009 Apr 29
1
Newbie R question PART2
Hi Tena, I recommend rapache for building websites with R. See http://biostat.mc.vanderbilt.edu/rapache/ -Ista > ---------- Forwarded message ---------- > From: "Tena Sakai" <tsakai at gallo.ucsf.edu> > To: <ted.harding at manchester.ac.uk>, <r-help at r-project.org> > Date: Tue, 28 Apr 2009 15:04:53 -0700 > Subject: Re: [R] Newbie R question PART2 >
2009 May 08
2
I don't see libR.so in my installation directory
Hi, I installed R 2.9.0 a couple of days ago on a linux machine. At the root of installation, I see 4 directories: bin, lib64, share, and src. I don't see libR.so anywhere. (In the following context, . (dot) indicates the root of my insta- llation.) I do see: ./lib64/R/lib/libRblas.so ./lib64/R/lib/libRlapack.so I became aware of such as I was preparing for an installation of little r.
2009 May 12
1
Help needed to compile R with shared library.
Hi, I cannot compile R with shared library. I am using Redhad Linux on Dell hardware. Here''s what I am doing: I set ?PICFLAGS in config.site file: CPICFLAGS=-fPIC FPICFLAGS=-fPIC and issue: ./configure --enable-R-shlib --prefix=$HOME/newR make configure finishes with no complaints, the last informative line being: Options enabled: shared R library, shared BLAS, R
2009 Apr 30
1
newbie HWRITER package question
Hi, I am playing with hwriter examples given in "example" page. Here's what I've done: > library (hwriter) > > p = openPage ('table.html') > hwrite (1:5, p) > hwrite (iris[1:3, 1:3], p, row.bgcolor='#ffdc98') > closePage (p) > > browseURL('table.html') What I get is not as nice as what I see via the "example" page. I
2009 Apr 28
2
Newbie R question
Hi, I am a newbie with R. My environment is linux and I have a file. I call it barebone.R, which has one line: cat ('Hello World!\n') I execute this file as: R --no-save < barebone.R And it does what I expect. What I get is 20+/- lines of text, one of which is 'Hello World!'. How would I go about getting rid of all but the line I am after, 'Hello World!'?
2011 Jan 07
1
Trouble with installing Rmpi package
Hi, I am having a problem with installing Rmpi package on redhat linux machine. The R I am using is version 2.10.1. Here’s what happens. > install.packages( ''Rmpi'' ) --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done trying URL ''http://cran.cnr.Berkeley.edu/src/contrib/Rmpi_0.5-9.tar.gz'' Content type
2007 Sep 13
1
trouble with installing Biobase package
Hi Everybody, I am having a problem with loading Biobase package. I typed 2 lines below at R prompt > source ("http://boconductor.org/biocLite.R") > biocLite (lib="/usr/local/lib/R/library") which attempted to install a bunch of packages with varying degree of success. Out of 29, 13 failed. Biobase is one of them. As a matter of fact, when I looked at logs, most
2009 Jun 02
1
my little r is sick
Hi, Suddenly, I find my little r is sick. Given: #! /usr/bin/env r library (hwriter) unlink ('tmp.html') p = openPage ('tmp.html') hwrite ("Hello World", p) closePage (p) browseURL ('tmp.html') It worked fine a few days ago, but now it says: r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or
2010 Oct 06
1
How do I put ldpaths in a specific place?
Hi Everybody, I made R (v. 2.11.1) from source with the following config option: ./configure --prefix=/mnt/ami-centos5.5-64bit-base \ --exec-prefix=/mnt/ami-centos5.5-64bit-base \ --with-tcltk All seemed to go well, but when I tested it with: /usr/sbin/chroot /mnt/ami-centos5.5-64bit-base R It told me: /bin/R: line 217:
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots: library(ggplot2) data(diamonds) randind <- sample(nrow(diamonds),1000,replace=FALSE) dsmall <- diamonds[randind,] qplot(carat, data=dsmall, geom="histogram",binwidth=1) qplot(carat, data=dsmall, geom="histogram",binwidth=.1) qplot(carat, data=dsmall, geom="histogram",binwidth=.01) What are ways to put these three plots on a single
2011 Jun 01
1
Plotting from functions
I can plot to png's fine when i run this directly from the top-level script/console: png('diamonds.png');qplot(carat,price,data=diamonds);dev.off() But for some reason it's not working when that's in a function: (function(){png('diamonds.png');qplot(carat,price,data=diamonds);dev.off()})() I suspect this is because the qplot's return value must be
2010 Apr 02
1
Plots don't update with xlab, etc. What am I doing wrong.
Hi, I've been struggling with this problem the last few days and finally discovered it's happening at a very fundamental level. Going through Stephen Turner's tutorial on ggplot2, I entered these base graphics commands: > with(diamonds, plot(carat,price)) > with(diamonds, plot(carat,price), xlab="Weight in Carats", ylab="Price in USD",
2011 Jan 14
2
bug in qplot (library ggplot2)
Hello, this following code give a nice png: /library(ggplot2) i <- 1 png(file=paste('test ',i,'.png',sep='')) qplot(carat, data=diamonds, fill=color,geom='histogram')+scale_y_continuous(i) dev.off() / I would like to get more files, but the following code doesn't make any file: /library(ggplot2) for (i in 1:2) { png(file=paste('test
2011 May 26
1
Question about ggplot2
Hi all, Is there any way for me to to string in the argument of qplot or ggplot? for example qplot(x='carat',y='price',data=diamonds,geom=c('point','smooth')) instead of qplot(x=carat,y=price,data=diamonds,geom=c('point','smooth')) Thanks!! Regards, TszKin Julian [[alternative HTML version deleted]]
2011 Sep 30
2
ggplot2 - extracting values of smooth
Suppose that I'm working on Hadley's diamond dataset and I want to review the relationship between price, colour and carat. I might run the following: library(ggplot2) #plot scatter and add some hex binning q<-qplot(carat,price,data=diamonds, geom=c("hex"), main="Variability of Diamond Prices by Carat and Colour") #facet to get one scatter for
2018 Feb 08
2
sparse.model.matrix Generates Non-Existent Factor Levels if Ord.factor Columns Present
Good day, Sometimes, sparse.model.matrix outputs a dgCMatrix which has column names consisting of factor levels that were not in the original dataset. The first factor appears to be correctly transformed, but the following factors don't. For example: diamonds <- as.data.frame(ggplot2::diamonds) > colnames(sparse.model.matrix(~ . -1, diamonds)) [1] "carat"
2009 Oct 29
1
multiple pages with ggplot2 facet_wrap?
I currently use lattice functions to produce multiple pages of plots using the "layout" argument to specify the number of rows and columns of panels, e.g., xyplot(price ~ carat | clarity, diamonds, layout = c(2, 2)) This results in 2 pages of 4 panels each. "diamonds" is a data.frame distributed with ggplot2. I would like to do the same with ggplot2 but have been
2008 Oct 28
1
does qplot works with Sweave?
Hi Hadley: I'm practicing writing a document using MikTex but can't make qplot to execute. It works when using 'plot' though. Is this a normal behaviour? \documentclass[9pt]{article} \title{ggplot2 example} \begin{document} \maketitle \section*{Examples of using ggplot2} The goal is to be able to import ggplot2 graphics into the annual report. Hadley Wickham has done a great
2012 Aug 07
1
Styling gridExtra's title and left labels
Hi, I'm using the gridExtra package to combine some graphs like in the arrangeGrob example. Each of the graphs has a title but they appear much larger than the overall combined plot title and left axis label. Does anyone know how I can control the style / size of the gridExtra labels? library(gridExtra) library(ggplot2) dsamp <- diamonds[sample(nrow(diamonds), 1000), ] p1 <-
2008 Jan 04
1
Unicode whitespace
It would be nice if R ignored more unicode white space characters. For example, if I have "\u2028" in a command (which I get from a line-break in keynote) I get the following error: > qplot(carat, price, data = diamonds, colour=clarity) Error: unexpected input in "qplot(carat, price, data = diamonds, ?" And occasionally have such problems when copying and pasting from