similar to: attributes of environments

Displaying 20 results from an estimated 30000 matches similar to: "attributes of environments"

2008 Oct 03
1
Attributes of top level environments clobbered (was Re: [R] possible bug in function 'var' in R 2.7.2?)
On Fri, Oct 3, 2008 at 3:23 AM, Martin Maechler <maechler at stat.math.ethz.ch> wrote: > a much better (and much less error-prone) idea would be to install > R 2.8.0 alpha even now. > It will become 'beta' early next week. > > We are asking the R community to please install and use > pre-release versions of R (if you can / are allowed to) > at least from beta
2004 Jun 14
5
terminology for frames and environments
In ?exists it says: inherits: should the enclosing frames of the environment be searched? I believe what it is saying is that if inherits is TRUE and it fails to find the variable it will look in the parent environment and the parent of the parent, etc. (as opposed to looking in the calling frame next and the caller of the caller, etc.) Now I thought that standard terminology in R was: 1.
2005 Sep 24
5
plot, spineplot, boxplot in R 2.2.0
I noticed, what seened to me, to be odd. These produce a boxplot in the first case and a spineplot in the second case in R .2.2.0: plot(Sepal.Length ~ Species, iris) plot(Species ~ Sepal.Length, iris) What if one wants to exchange axes? Does the fact that this seemingly innocuous change result in completely different graphics make sense? Is it desirable?
2009 Aug 04
5
Stacked plots with common x-axis and different y-axis
Is there a place that shows how to create two plots that are stacked on top of each other where they share a common x-axis scale, but have differnt y-axis scale? Say have the following data: airquality Stack plot(airquality$Day, airquality$Wind) on top of plot(airquality$Day, airquality$Temp). I am interested in stacking the two on top of each other with no seam, or plotting the two lines with
2004 Mar 11
4
Summary: do.call and environments
To use the modify the solution from Tony and I so that you can pass the name of the function, rather than the function itself, like this: x <- 7 fx <- function(y) print(x*y) f <- function(fun, x) { fun <- get(fun) environment(fun) <- environment() do.call("fun",list(3)) } f("fx",2) --- Date: Thu, 11 Mar 2004 08:22:45 +0100 From:
2006 Nov 16
5
<RBloomberg Package Problem>
Hi R-Experts, I'm currently using R 2.4.0 in Windows XP. I'm trying to download data from Bloomberg using the package "RBloomberg", but it fails to install the three needed packages "zoo", "chron" and 'Rbloomberg". Moreover I am not able to find "RBloomberg" package as windows binary in CRAN site as only for MAC it's given. Please
2008 Jan 07
7
Can R solve this optimization problem?
Dear All, I am trying to solve the following maximization problem with R: find x(t) (continuous) that maximizes the integral of x(t) with t from 0 to 1, subject to the constraints dx/dt = u, |u| <= 1, x(0) = x(1) = 0. The analytical solution can be obtained easily, but I am trying to understand whether R is able to solve numerically problems like this one. I have tried to find an
2004 Nov 23
3
str() resets class for environments
I noticed the following today --- str() seems to remove any extra class information added to an environment. > e <- new.env() > class(e) [1] "environment" > class(e) <- c("foo", class(e)) > class(e) [1] "foo" "environment" > str(e) Classes 'foo', 'environment' length 0 <environment> > class(e) [1]
2006 Feb 10
1
?bquote
?bquote says it returns an expression but, in fact, it typically (though not always) returns a call object: > class(bquote(a+b)) [1] "call" > class(bquote(1)) [1] "numeric"
2006 Dec 02
4
Fwd: Urgent Help in Paste Command
Hi Experts, I want to see my object as below: 'C:\Program Files\R\R-2.4.0\bin\Rgui.exe' So I use the paste command. None of the below is working. Could anyone help me on this? > paste("'C:\Program Files\R\R-2.4.0\bin\Rgui.exe'") [1] "'C:Program FilesRR-2.4.0\binRgui.exe'" > paste("'C:","\","Program
2006 Dec 27
5
plotting time series with zoo pckg
Hi all, I am using the zoo package to plot time series. I have a problem with formatting the axes. my zoo object (z) looks like the following. c1 1992-01-10 21 1992-01-17 34 1992-01-24 33 1992-01-31 41 1992-02-07 39 1992-02-14 38 1992-02-21 37 1992-02-28 28 1992-03-06 33 1992-03-13 40
2010 Nov 11
9
preferred directory structure for multiple environments
Hello All, Moving from 2.5 to 2.6.2 and I was wondering if there is a preferred directory structure for using multiple environments? Does it work much different in 2.6 than in 2.5? When I made the move I assumed (I know) that my current structure and configurations would just roll over but that isn''t the case. Thanks, Jim -- You received this message because you are subscribed to the
2004 Aug 28
6
model.matrix.default chokes on backquote (PR#7202)
Full_Name: Gabor Grothendieck Version: R version 1.9.1, 2004-08-03 OS: Windows XP Submission from: (NULL) (207.35.143.52) The following gives an error: > `a(b)` <- 1:4 > `c(d)` <- (1:4)^2 > lm(`a(b)` ~ `c(d)`) Error in model.matrix.default(mt, mf, contrasts) : model frame and formula mismatch in model.matrix() To fix it replace this line in model.matrix.default:
2007 Sep 07
3
Delete query in sqldf?
Dear All, Is sqldf equipped with delete queries? I have tried delete queries but with no success. Thanks in advance, Paul
2006 Jan 17
2
Calculation of daily max
Good day everyone. I have a large dataset of 1 min wind speeds covering 5 years. How can I make an array of maximum daily values? The vectors I have are: 'VDATE' with dates in format '%Y-%m-%d' (like '1992-10-28') and 'WS' with wind speed data (same number of elements as VDATE). I want an array with 2 columns: Max daily wind speed and corresponding day. Has
2006 Oct 01
2
Rcmd install mypkg
I noticed that in "R version 2.4.0 alpha (2006-09-16 r39365)" on Windows XP that I get this error: C:\Rpkgs>Rcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\Rpkgs>Rcmd check mypkg unlike install, still works in either lower or
2005 Feb 16
4
festival text for weather report
http://www.srh.noaa.gov/fwd/productviewnation.php?pil=OKXZFPOKX&version= 0 can anyone suggest how I could set up asterisk@home to read out allowed the following text when I dial extension 850? 815 PM EST WED FEB 16 2005 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE. .THURSDAY...PARTLY CLOUDY. COOLER
2005 Jun 09
5
NEWS, WISHLIST, THANKS
I have NEWS, WISHLIST and THANKS files in the 'dyn' package in the same directory as the DESCRIPTION file but I noticed that they did not survive the move to CRAN, at least on Windows. How do I incorporate them so that they are not omitted?
2004 Dec 24
6
Sorting problem
Hi I'm using R 2.0 in SuSE 9.2. When I plot data as a boxplot, the boxes appear on the plot in alphabetical order (of group) rather than the order in which they appear in the data. So far, the only thing I can do to fix this is to prefix the group labels with a,b,c...etc to trick R into plotting them in the right order. Can sorting be turned off? How should I address this sensibly? Thanks
2008 Oct 04
0
Attributes of top level environments clobbered (was Re: [R] possible bug in function 'var' in R 2.7.2?)
On Sat, Oct 4, 2008 at 10:45 AM, laurent <lgautier at gmail.com> wrote: > > On Sat, 2008-10-04 at 12:00 +0200, r-devel-request at r-project.org wrote: >> Message: 18 >> Date: Fri, 3 Oct 2008 15:35:18 -0500 (CDT) >> From: Luke Tierney <luke at stat.uiowa.edu> >> Subject: Re: [Rd] Attributes of top level environments clobbered (was >> Re: [R]