similar to: Building package problem

Displaying 20 results from an estimated 2000 matches similar to: "Building package problem"

2012 Jul 02
1
Dependency problem for "hasArg"
Dear list, I'm running an R script which first line is: #!/usr/bin/Rscript While running that script from the system console (in Red Hat Enterprise Linux 6) I got the following error: Error in plot2(x = sim, y = obs, plot.type = "single", main = paste("Daily", : could not find function "hasArg" Calls: plot_results -> plot_out -> ggof -> plot2
2011 Oct 04
1
Problems loading package hydroTSM
Hello I have the following problem when loading the package hydroGOF on Windows 7 running R.12.2 library(hydroGOF) Error : package 'hydroTSM' does not have a name space Error: package/namespace load failed for 'hydroGOF' The same command does not result in error on R.13.1 at my Mac running Lion. Have I done something wrong? Many thanks Ed
2012 May 02
1
--as-cran error
Dear List, While using the --as-cran option for checking one of my packages: R CMD check --as-cran hydroGOF_0.3-3.tar.gz I got the following error message: pkgname <- "hydroGOF" > source(file.path(R.home("share"), "R", "examples-header.R")) > options(warn = 1) > library('hydroGOF') Error in loadNamespace(i[[1L]], c(lib.loc,
2007 May 31
4
Aggregate to find majority level of a factor
I want to use the aggregate function to summarize data by a factor (my field plots), but I want the summary to be the majority level of another factor. For example, given the dataframe: Plot1 big Plot1 big Plot1 small Plot2 big Plot2 small Plot2 small Plot3 small Plot3 small Plot3 small My desired result would be: Plot1 big Plot2 small Plot3 small I
2011 Nov 13
1
hydroTSm-hydroGOF
Por favor podrian ayudarme con esos paquetes (hydroTSm-hydroGOF), si tienen algunas ayudas con las escrituras para ejecutar los comandos de cada uno de ellos seria excelente, necesito mucha ayuda en esto, desde ya muchas gracias saludos -- *Diego G. Mejía V. Medio Ambiente-Universidad Nacional de Loja* *Grupo de Ciencias de la Tierra y del Ambiente (GCTA)* *Investigador* *Universidad de Cuenca*
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding the postscript output from R. It's difficult for me to tell whether or not this is an R problem or a ghostview/gv/interpreter problem. Just to note, I think it's exactly the same situation reported here: http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html The following code produces a working plot (no
2005 Dec 26
4
lme X lmer results
Hi, this is not a new doubt, but is a doubt that I cant find a good response. Look this output: > m.lme <- lme(Yvar~Xvar,random=~1|Plot1/Plot2/Plot3) > anova(m.lme) numDF denDF F-value p-value (Intercept) 1 860 210.2457 <.0001 Xvar 1 2 1.2352 0.3821 > summary(m.lme) Linear mixed-effects model fit by REML Data: NULL AIC BIC
2024 Jan 22
0
hydroGOF back on CRAN (v0.5-4 released)
Dear all, After being archived on CRAN on 2023-10-16 , hydroGOF is finally back on CRAN since January 21th: https://cran.r-project.org/package=hydroGOF. This new version 0.5-4 includes: *) the following new functions: -) KGElf (Garc?a et al., 2017), -) sKGE (Fowler et al., 2018), -) KGEnp (Pool et al., 2018), -) dr (Willmott et al., 2012), -) ubRMSE (Entekhabi et al.,
2024 Jan 22
0
hydroGOF back on CRAN (v0.5-4 released)
Dear all, After being archived on CRAN on 2023-10-16 , hydroGOF is finally back on CRAN since January 21th: https://cran.r-project.org/package=hydroGOF. This new version 0.5-4 includes: *) the following new functions: -) KGElf (Garc?a et al., 2017), -) sKGE (Fowler et al., 2018), -) KGEnp (Pool et al., 2018), -) dr (Willmott et al., 2012), -) ubRMSE (Entekhabi et al.,
2008 Jan 25
4
Function for translation of a list into a matrix as used by ordination?
Hello. Does anyone know of an existing function that takes a list in the form of: Plot1 Species1 Abundance1 Plot1 Species2 Abundance2 Plot2 Species1 Abundance1 Plot2 Species3 Abundance3 . . . PlotN SpeciesN AbundanceN and translates into a matrix in the form of Species1 Species2.... SpeciesN Plot1 Abundance1 Abundance2... AbundanceN Plot2 Abundance1
2010 Jun 30
5
plot focus
I am doing calculations in a loop and then plotting the results by adding a point to each of 2 charts at the end of the loop. Its very informative as you can see the progression through time. My problem is, if I have 2 plots, I don't know how to get the focus back to the first plot. layout(matrix(c(1,2))) plot(iris[,1],col="red",) #plot1 plot(iris[,3],col="blue") #plot2
2008 Nov 24
3
multiple plots in R
Hi, I just try to draw multiple plots in one page using R, I used par command. For example I have 7 plots, but instead of arranging them in the default way plot1 plot2 plot3 plot4 plot5 plot6 plot7 I want them in this order plot1 plot2 plot3 plot4 plot5 plot6 plot7 Could somebody tell me how to do this, please? Thanks so many. Suyan
2007 Nov 23
1
R 2.6 and library(survival)
Hi all, I have installed in R 2.6 the survival package and I am trying to analyze some data and present plots. The problem occurs when I try to plot lines on the same plot. E.g. take simulated data for time (t), event (e) and groups (group1 and group2) and do: ### this is how I create the plots plot1<-survfit(Surv(t,e)~ as.factor(group1)) plot2<-survfit(Surv(t,e)~ as.factor(group2))
2006 Mar 19
2
tick mark intervals
Hi everyone! This must be a common question but I have not found an answer to it in the archives yet. I am producing four plots with par(mfrow=c(2,2)). The x-axis is the same for all of them but the y-axis is different. What I would like to do is to have a different range of the y-axis and different intervals between tick marks. BUT I would like to have the same number of tick marks and I would
2012 Dec 13
3
Repeat elements of matrix based on vector counts
I have two dataframes (df) that share a column header ("plot.id"). In the 1st df, "plot.id" records are repeated a variable number of times based on the number of trees monitored within each plot. The 2nd df only has a single record for each "plot.id", and contains a variable named "load" that is collected at the plot-level and is only listed once per plot
2012 Jun 27
3
qplot and colors (Please Help)
Please help: I am using qplot as below and want to specify a different color scheme for race but dont know how, can someone show me. Thanks in advance Code and input file below: library(ggplot2) library(gridExtra) d<-read.table("results", header=TRUE, fill=TRUE) plot2<-qplot(X,Y,data=d,color=race,facets=TYPE~., xlab="X", ylab="Y") + theme_bw()
2009 Apr 14
2
subset dataframe by rows using character vector?
Dear List, I'm stuck on what seems like a simple indexing problem, I'd be very grateful to anyone willing to help me out. I queried a dataframe which returns a character vector called "plot". I have another dataframe from which I want to subset or select only those rows that match "plot". I've tried subset, and also the "which" command. plot
2002 Nov 12
2
Wandering usr values in par(no.readonly=TRUW) (PR#2283)
--==_Exmh_1801894504P Content-Type: text/plain; charset=us-ascii Dear R folks, Initially I had a plotting routine using logarithmic y-axes that failed after repeated calls if I tried to restore the graphical parameters (which I wanted to do because I used `layout' within the routine. I tried to isolate the problem and found out that the following code with logarithmic axis is sufficient for
2011 Mar 08
4
beamer overlays with Sweave?
This may be asking too much, but I'm wondering if anyone has a solution (even a hack) for creating multiple (overlay) plots in an Sweave file and post-processing the overlays in beamer appropriately. For example, suppose I have a series of figure blocks in my .Rnw file: <<plot1,fig=TRUE>>= [stuff] @ <<plot2,fig=TRUE>>= [stuff] @ <<plot3,fig=TRUE>>=
2010 Aug 20
3
if-else function
Hi R people! I am looking for some suggestions writing an if-else function. The idea is to characterize different plots containing counts of variables (here parasites). If a plot has a count equal or higher than 4 for any parasite the function should return a 1 else a 0. Later I can loop the function over all plots. Here I have a little subset of my data: VariablePAR Plot1