search for: methodss3

Displaying 20 results from an estimated 20 matches for "methodss3".

2010 Jan 20
1
R.oo installation warnings?
...ntioned in the warnings? How to reinstall? The sessionInfo() is at the end. > install.packages("R.oo", dependencies=T) Warning in install.packages("R.oo", dependencies = T) : argument 'lib' is missing: using '/utility/R' also installing the dependency ?R.methodsS3? trying URL 'http://cran.sixsigmaonline.org/src/contrib/R.methodsS3_1.1.0.tar.gz' Content type 'application/x-gzip' length 16263 bytes (15 Kb) opened URL ================================================== downloaded 15 Kb trying URL 'http://cran.sixsigmaonline.org/src/contrib/...
2010 Dec 19
2
R.matlab memory use
Hi, I am trying to load into R a MATLAB format file (actually, as saved by octave). The file is about 300kB but R complains with a memory allocation error: > library(Rcompression) > library(R.matlab) Loading required package: R.oo Loading required package: R.methodsS3 R.methodsS3 v1.2.0 (2010-03-13) successfully loaded. See ?R.methodsS3 for help. R.oo v1.7.2 (2010-04-13) successfully loaded. See ?R.oo for help. R.matlab v1.3.1 (2010-04-20) successfully loaded. See ?R.matlab for help. > f <- readMat("freq.mat") Error: cannot allocate vector of siz...
2012 Feb 26
2
Help needed! Error in setwd(newdir) : cannot change working directory
...nitial.dir); Then I run the script by >>sean@I7-3930K:~/Rtest$ R --slave --args Data01 < mytest02.R I got the error message: >>sean@I7-3930K:~/Rtest$ R --slave --args Data01 < mytest02.R>>Attempting to load the environment ‘package:R.utils’>>Loading required package: R.methodsS3>>R.methodsS3 v1.2.1 (2010-09-18) successfully loaded. See ?R.methodsS3 for help.>>Loading required package: utils>>R.oo v1.8.3 (2011-11-01) successfully loaded. See ?R.oo for help.>>>>Attaching package: ‘R.oo’>>>>The following object(s) are masked from ‘pac...
2012 Jun 18
1
Error w/ Start up Script
...low errors, following the line "Type 'q()' to quit R" Not sure what I did different and so far it hasn't caused major problems but kind of fear that it will. Can you please help? I also posted my Rprofile below. Attempting to load the environment 'package:R.utils' R.methodsS3 v1.2.2 (2010-11-17) successfully loaded. See ?R.methodsS3 for help. R.oo v1.9.3 (2012-03-18) successfully loaded. See ?R.oo for help. Attaching package: 'R.oo' The following object(s) are masked from 'package:R.methodsS3': throw.default The following object(s) are masked fro...
2008 Dec 10
1
First call to constructor fails (R.oo)
...first attempt to create an object fails: === Code: === library(R.oo); setConstructorS3("MyClass",function(param) { print(param); extend(Object(),"MyClass", .param=param); }) print("Attempt1"); obj = MyClass(1); === Output: === Loading required package: R.methodsS3 R.methodsS3 v1.0.3 (2008-07-02) successfully loaded. See ?R.methodsS3 for help. R.oo v1.4.6 (2008-08-11) successfully loaded. See ?R.oo for help. [1] "Attempt1" [1] 1 Error in print(param) : argument "param" is missing, with no default === Yet a second attempt, within the sam...
2010 Aug 06
1
R script doesn't load libraries when called from cron
...=================== It loads a library R.utils, uses function intToBin from it, prints binary rep of the argument. When i run it from command line like ./tmp.R 10 it runs fine. Here is the output: Output: ============================== Loading required package: R.oo Loading required package: R.methodsS3 R.methodsS3 v1.2.0 (2010-03-13) successfully loaded. See ?R.methodsS3 for help. R.oo v1.7.3 (2010-06-04) successfully loaded. See ?R.oo for help. R.utils v1.4.0 (2010-03-24) successfully loaded. See ?R.utils for help. Warning message: package 'R.oo' was built under R version 2.8.1 and help...
2009 Oct 13
2
No funtions for character code?
Hello, Do you have a function returns codes of given characters? Best Regards, hyunjo [[alternative HTML version deleted]]
2010 Mar 26
1
Discrete values in levelplot?
Dear all, I am trying represent a matrix of discrete values. At the moment I am using levelplot from the lattice package, but it seems to only work with numerical values. Is there an option in levelplot that will allow me to assign a color to a discrete value, or another package that will do the same? To clarify, with levelplot I can represent a matrix such as: [,1] [,2] [,3] [,4] [1,]
2010 Aug 22
2
on abort error, always show call stack?
Dear R Wizards---is it possible to get R to show its current call stack (sys.calls()) upon an error abort? I don't use ESS for execution, and it is often not obvious how to locate how I triggered an error in an R internal function. Seeing the call stack would make this easier. (right now, I sprinkle "cat" statements everywhere, just to locate the line where the error appears.) Of
2009 Oct 26
3
R.oo and S4?
There are different way to make R classes. I know R.oo and S4. I'm wondering which one is the current popular one. Which one is current recommended when make new R packages? Thank you!
2015 May 09
1
PATCH: library(..., quietly=TRUE) still outputs "Loading required package: ..." (forgot to pass down 'quietly')
Calling library(..., quietly=TRUE) may still output: Loading required package: <other pkg> in some cases, e.g. > library("R.utils", quietly=TRUE) Loading required package: R.methodsS3 [...] I traced this to base:::.getRequiredPackages2(), which forgets to pass 'quietly' to an internal library() call: if (!attached) { if (!quietly) packageStartupMessage(gettextf("Loading required package: %s", pkg), domain = NA) library(pkg, character...
2010 Jul 16
1
garbage collection & memory leaks in 'R', it seems...
...quot;0.8.7" longitudinal "longitudinal" "1.1.5" MASS "MASS" "7.3-6" plyr "plyr" "0.1.9" proto "proto" "0.3-8" qvalue "qvalue" "1.22.0" R.methodsS3 "R.methodsS3" "1.2.0" R.oo "R.oo" "1.7.3" R.utils "R.utils" "1.4.3" randomForest "randomForest" "4.5-35" RColorBrewer "RColorBrewer" "1.0-2" reshape "reshape&quo...
2010 Feb 04
1
Bug in as.character? (PR#14206)
...=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C Search Path: .GlobalEnv, package:stats, package:graphics, package:grDevices, package:datasets, package:INLA, package:R.utils, package:R.oo, package:utils, package:R.methodsS3, package:methods, Autoloads, package:base -- H??vard Rue Department of Mathematical Sciences Norwegian University of Science and Technology N-7491 Trondheim, Norway Voice: +47-7359-3533 URL : http://www.math.ntnu.no/~hrue Fax : +47-7359-3524 Email: havard.rue at math.ntnu.no Thi...
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote: > I used bcond locally and wrongly assumed that fedpkg build would > support --with BCOND and --without BCOND. Instead, the way to activate > it is to change to "%bcond_with check" and then revert to > "%bcond_without check". The only difference with bootstrap is that > "bootstrap" is recognized
2015 Feb 01
2
Output to "raw console" rather than stdout/stderr?
In R, there's readline(), which is great because you can prompt the user, e.g. ans <- readline("Would you like to install Pandoc? [y/N]: ") without having to worry the message is intercepted by capture.output(), sink() or similar (which is used by dynamic report generators among other things). The message will always reach the user. (You can use sink(...,
2011 Oct 12
3
trace an Rd conversion error in R cmd check
Hi All, Apologies if this is a very naive question. Is there a way to see the particular Rd file being processed right before a warning/error occurs? As far as I can tell, all my .Rd files use have names and titles and they are unique between Rd files (sometimes in a file I use something like \name{foo} \title{Foo}). I seem to be able to convert files to latex using: R CMD Rdconv --type=latex
2009 Jun 10
0
License quandry in the Fedora sub-space of all R packages
...R-logspline GPL version 2 or newer (see README). R-splancs GPL Version 2 R-its GPL version 2 R-MCMCpack GPL Version 2 R-mnormt GPL (version 2) R-sm GPL version 3 R-caTools GPL Version 3 R-fts LGPL-2.1 R-gtools LGPL (>= 2.1) R-Rcpp LGPL (>= 2.1) R-R.methodsS3 LGPL (>= 2.1) R-R.oo LGPL (>= 2.1) R-R.utils LGPLv2+ R-DBI LGPLv2+ R-RSQLite Original ??, extensions GPL version 2 or newer R-sgeostat Public domain R-evalstrat R functions: GPL, Fortran code: ACM, free for noncommercial use R-tripack Unclear (Fortran) --...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...k * R-RColorBrewer * R-Rcompression * R-Rcpp * R-RcppCCTZ * R-RCurl * R-R.devices * R-readr * R-readxl * R-rematch * R-rematch2 * R-remotes * R-repr * R-reprex * R-reshape * R-reshape2 * R-reticulate * R-rex * R-rgdal * R-rgeos * R-rhub * R-RInside * R-rlang * R-rlecuyer * R-RM2 * R-rmarkdown * R-R.methodsS3 * R-Rmpfr * R-ROC * R-RODBC * R-R.oo * R-roxygen2 * R-rprintf * R-rprojroot * R-R.rsp * R-Rsamtools * R-rsconnect * R-Rsolid * R-RSQLite * R-rstudioapi * R-rsvg * R-rtracklayer * R-RUnit * R-R.utils * R-rversions * R-rvest * R-S4Vectors * R-sandwich * R-scales * R-scatterplot3d * R-sciplot * R-sele...
2010 Dec 19
3
monthly median in a daily dataset
Hello, I have a multi-year dataset (see below) with date, a data value and a flag for the data value. I want to find the monthly median for each month in this dataset and then plot it. If anyone has suggestions they would be greatly apperciated. It should be noted that there are some dates with no values and they should be removed. Thanks Emily > print ( str(data$flow$daily) )
2013 May 02
3
Lattice xyplot multipanels
Derar Rxperts, I have a strange situation.. I see curly brackets around "strip.levels" in multipanel strips while using lattice::xyplot. .How do I get rid of the curly brackets? For some reason, I am not able to reproduce the problem using an example below... Any suggestions are highly welcome! Thanks, Santosh q <-