similar to: Can't mix high level and low level plot functions.

Displaying 20 results from an estimated 5000 matches similar to: "Can't mix high level and low level plot functions."

2006 Aug 08
1
How to convert list elements to data.frames or vectors?
Dear R mailing-list comunity! I'm currently trying to implement an R method. I have two sets of data that I convert into a data.frame each. These data.frames I'd like to append to a list: # generate a list listTable<-list() # add one set of data x<-1000 ;y<-1 ;listTable[[length(listTable) + 1]] <- data.frame(matrix(rnorm(x*y), nrow=y)); rm(x); rm(y) # add another set of
2006 Apr 09
2
using R in a java application
Dear All, I'd like to write a little application in java wich should pass some commands and data to R and displays the results (tables and charts) in a java frame. First I wanted to work with Omegahat's SJava but had lots of issues already at the installation. Then I heard some rumors that SJava generally is not a very active project and runs rather buggy (that's true?). So my
2006 Oct 05
2
Writing Text into Plots
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I have a simple question on the text() method in plots, e.g.: text(3,4,adj=1,cex=1.0, expression(alpha == beta)) I know there exists a lot more like frac(), etc which could be used for expression. But a help(frac) doesn't return any results - where do I have to look for a documentation of possible text commands? More in detail I'm
2006 Apr 15
2
cannot load rJava in R
Hi all! I recently tried to install the rJava package on my notebook (Debian Etch / Kernel 2.6.15 / jdk 1.5.0-5 / R 2.2.1 / rJava ?? the repo one, have a look below). I compiled R myself with "--with-readline=no" and "--enable-R-shlib flags". Now, each time loading the library rJava I encouter the same error. I reinstalled several times (as root), always the same problem:
2006 Aug 16
1
Plots Without Displaying
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 R Help Mailing List, I'd like to generate a plot that I could display and/or store it as e.g. jpeg. But unfortunately always a plotting window opens. Is it possible to prevent that? I tried the following: R> bp<-boxplot( sample(100), plot=FALSE) This works somehow, but it only stores data (as discribed in the help) in bp and it is not
2011 Jan 16
3
rootogram for normal distributions
Using R-2.12.1 and latticeExtra-0.6-14, I would like to understand why a rootogram displaying samples from the Poisson distribution looks like I expected it, whereas a rootogram using the normal distribution does not: library(latticeExtra) rootogram(~rpois(1000, lambda = 50), dfun = function(x) dpois(x, lambda = 50)) rootogram(~rnorm(1000), dfun = function(x) dnorm(x,mean(x),sd(x))) I
2010 Feb 19
1
"Legend" question
Hi, I want to get a histogram with the legend for my data. I drew a normal density curve and kernel density curve in the histogram, and I also label mean and median in the X axis. From the code, I got two legend: One shows "Normal Density" and "Kernel Density" and their corresponding lines, the other shows "Mean = value" and "Median = value" and their
2013 Jun 04
1
High volume plot using log(local density)
Hi, I am using the densCols to draw a high volume scatter plot. Instead of using the default local density, I would like to take log of the local density and then map them to the colors. I could not figure out how to do that. For example: plot(x,y,col=densCols(x,y,"log")) ? Any help would be appreciated! Jiaxiu [[alternative HTML version deleted]]
2005 Jul 08
1
Overlying a Normal Dist in a Barplot
R-Users, Hopefully someone can shed some light on these questions as I had little luck searching the archives (although I probably missed something in my search due to the search phrase). I estimated multinomial probabilities for some count data (number successful offspring) ranging from 0 to 8 (9 possible response categories). I constructed a barplot (using barplot2) and I want to
2008 Jan 25
3
plotting gridlines
dear all, I have a very simple question but I could not figure out. I need to make plots with grid in the background. something like I old retrive like this a=runif(100)*10 b=runif(100)*10 plot(a,b, pch=20, xlim=c(0, round(max(a))), ylim=c(0, round(max(b)))) vs=seq(0, max(a), 0.5) for(i in 1:length(vs)){ abline(v=vs[i], col="lightgrey") } hs=seq(0, max(b), 0.5) for(i in
2005 Dec 19
1
help on barplots
Hello, I am a beginner with R and I would need some help with doing barplots. My problem is that I would like to include both diffrent colors of the bars and precence/absence of shading lines in the barplots. When reading in the help file about the "col" command it states: col: a vector of colors for the bars or bar components. By default, grey is used if 'height'
2009 May 14
2
How to do a pretty panel plot?
The pretty picture that I saw at: http://chartsgraphs.wordpress.com/2009/02/09/r-panel-chart-beats-excel-chart/#more-1096 inspired me to try something similar. The code that I wrote is: ------snipsnip--------------------------------------------------------------------- M <- structure(list(date = structure(c(13634, 13665, 13695, 13726, 13757, 13787, 13818, 13848, 13879, 13910, 13939, 13970,
2006 Feb 14
3
Inf values in a matrix
Hello, I have some Inf values in a matrix, but I don't want to replace them with some value but rather remove the rows that contain the Inf values. Also I would like to record the rows which were removed. Is there an easy way to do this instead of writing loops over the matrix? Thanks. Ita Cirovic Donev
2006 Aug 22
3
How to interrupt running computation?
If I start a computation in R, how can I interrupt it? I' using R 2.1.0. Thanks for your help, Lothar
2019 Jul 22
2
Fwd: Character not allowed in mailbox name
Hi Arnold, thanks for your assistance. I solved the issue right now by changing prefix = Shared/%%u/ to prefix = Shared/%%n/ This omits the @mydomain.de part which holds the dot causing the trouble. Why this became a problem due to the update I wouldn't know. Regards Lothar Am 22.07.2019 um 10:49 schrieb Arnold Opio Oree: > Hi Lothar, > > I haven't yet had the opportunity to
2003 Sep 29
5
colours in dotchart (PR#4343)
Problem: neither fg or bg nor color work properly in dotchart. version: R-1.7.1 for windows code which shows the errors: x <- matrix(rnorm(16),ncol=2,dimnames=list(paste("a",1:8,sep=""),c("before","afte r"))) dotchart(x,fg="blue",bg="lightgrey") dotchart(x,color=c("red","blue")) Dr Ian J Wilson Lecturer in
2020 Aug 11
2
Switching roles between 2 DCs
Yep, that did it, thanks a lot, "-k yes" wasn't good enough. There now was another error, though: ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' object has no attribute 'drs_utils' The solution offered and working is inserting ? import samba ? import samba.getopt as options ? import ldb +import samba.drs_utils ? from ldb
2010 Jan 26
10
Detect file change
Hello everyone! How can I detect if a folder have changed (sync logic) than run a script if it's true? I found this script over the net, but I think it's such complicated for that simple thing... #!/bin/bash ############### detectdir.sh by Jagbir Singh ################# # # script to detect changes in directory. #
2010 Jan 19
3
Moving the system from 5.3 to 5.4
Hello, I built a system based on centos 5.3, now i'm planing to move to 5.4. To do it I rebuilt all rpms making some changes. When I use a common centos 5.3, it automatically detects that 5.4 is available and move update for it when i run yum update. How does this work? How the system detects new version and update for it? I thought centos-release rpm just update repo for it, but I saw this
2019 Jul 22
1
Character not allowed in mailbox name
Hi everybody, after an update this morning to dovecot 2.3.7 we cannot connect to our shared mailboxes anymore. The error message as issued in Thunderbird: "Character not allowed in mailbox name '.'" I didn't change anything about the configuration. Output of dovecot -n: [...] namespace { ? list = children ? location = maildir:%%h:INDEX=%h/shared/%%u ? prefix = Shared/%%u/