search for: dstr7320

Displaying 20 results from an estimated 33 matches for "dstr7320".

2018 Feb 01
2
as.list method for by Objects
...on is.list() being true after as.list() .. the same we would do with as.numeric() and is.numeric(). Martin > However, it would may be too disruptive to make this change at this point. > Hard to predict. > Michael > On Mon, Jan 29, 2018 at 5:00 PM, Dario Strbenac <dstr7320 at uni.sydney.edu.au> > wrote: >> Good day, >> >> I'd like to suggest the addition of an as.list method for a by object that >> actually returns a list of class "list". This would make it safer to do >> type-checking, becau...
2017 Feb 10
3
Grapics Device Resolution Limits
Good day, Could the documentation of graphics devices give some explanation of how big the bitmap limits are? For example, > png("Figure1A.png", h = 7, w = 7, res = 1000, units = "cm") Results in Error: unable to start png() device, but the help page of devices doesn't explain that there are any limits or how they are determined. The wording of the error message could
2017 Feb 10
2
Grapics Device Resolution Limits
...t;, "cairo-png"), antialias) Try the other 2 types: the cairo devices do not use your graphics hardware nor MicroSoft's GDI. (The other 2 devices are Xlib on a Unix-alike and Quartz on macOS.) On 10/02/2017 16:54, Martin Maechler wrote: >>>>>> Dario Strbenac <dstr7320 at uni.sydney.edu.au> >>>>>> on Fri, 10 Feb 2017 02:00:08 +0000 writes: > > > Good day, > > Could the documentation of graphics devices give some explanation of how big the bitmap limits are? For example, > > >> png("Figure1A.png&...
2016 Feb 20
2
R Package Installation Ignores libPaths Setting
Good day, I believe from the documentation that folders in R_LIBS should appear in the output of .libPaths, but they do not. The documentation contains "The library search path is initialized at startup from the environment variable R_LIBS ..." However, $ export R_LIBS=/users/stgrad/dario/tmp/ $ Rscript -e ".libPaths()" [1] "/dskh/nobackup/biostat/Bioconductor"
2016 Feb 20
0
R Package Installation Ignores libPaths Setting
...ort R_LIBS=~/tmp Peter-Dalgaards-MacBook-Air:F pd$ Rscript -e '.libPaths()' [1] "/Users/pd/tmp" [2] "/Library/Frameworks/R.framework/Versions/3.2/Resources/library" -pd > On 20 Feb 2016, at 10:00 , Dario Strbenac <dstr7320 at uni.sydney.edu.au> wrote: > > Good day, > > I believe from the documentation that folders in R_LIBS should appear in the output of .libPaths, but they do not. The documentation contains "The library search path is initialized at startup from the environment variable R_LIBS...
2017 Feb 10
0
Grapics Device Resolution Limits
>>>>> Dario Strbenac <dstr7320 at uni.sydney.edu.au> >>>>> on Fri, 10 Feb 2017 02:00:08 +0000 writes: > Good day, > Could the documentation of graphics devices give some explanation of how big the bitmap limits are? For example, >> png("Figure1A.png", h = 7, w = 7, res =...
2018 Feb 01
0
as.list method for by Objects
...ould do with > as.numeric() and is.numeric(). > > Martin > > > However, it would may be too disruptive to make this change at this > point. > > Hard to predict. > > > Michael > > > On Mon, Jan 29, 2018 at 5:00 PM, Dario Strbenac < > dstr7320 at uni.sydney.edu.au> > > wrote: > > >> Good day, > >> > >> I'd like to suggest the addition of an as.list method for a by > object that > >> actually returns a list of class "list". This would make it safer > t...
2019 Feb 20
1
Documentation for sd (stats) + suggestion
Good day, It is implemented by the CRAN package multicon. The function is named popsd. But it does seem like something R should provide without creating a package dependency. -------------------------------------- Dario Strbenac University of Sydney Camperdown NSW 2050 Australia
2014 Jul 18
1
capture.output on S4 slot
Hello, capture.output produces a different result if the S4 object was created with a constructor than if the body of the constructor is copied and pasted. setClass("TransformParams", representation( transform = "function", otherParams = "list") ) setGeneric("TransformParams", function(transform, ...) {standardGeneric("TransformParams")})
2014 Sep 18
1
Can't Find Function After requireNamespace
I have a simple function : f <- function() { if(requireNamespace("ggplot2")) qplot(Sepal.Length, Petal.Length, data = iris, color = Species) else message("No graphics, just text.") } ggplot2 is in the Suggests field of the DESCRIPTION file. When I load the package, and run the function, I get an error : > f() Loading required namespace: ggplot2 Error in f()
2014 Oct 07
1
S4 Method Dispatch for Class Defined as Attribute
Hello, I am writing an interface to some functions from the CRAN package pamr, which is poorly written. I have a S4 method I declared with setMethod. I'd like to provide a signature of "pamrtrained" which is the class of object that training creates. The last two lines of code of pamr.train are : class(junk) = "pamrtrained" junk How can I dispatch on these kinds
2014 May 29
1
mcmapply Core Usage
Hello, I have a minimal example that shows a problem I'm having with parallel processing. library(parallel) mcmapply(function(x, y) { print("Running") Sys.sleep(10) }, as.list(1:10), as.list(10:1), mc.cores = 16, SIMPLIFY = FALSE) I see "Running" printed once every ten seconds. I read the documentation for mcmapply, but I don't understand why it wouldn't
2018 Jan 30
5
as.list method for by Objects
Good day, I'd like to suggest the addition of an as.list method for a by object that actually returns a list of class "list". This would make it safer to do type-checking, because is.list also returns TRUE for a data.frame variable and using class(result) == "list" is an alternative that only returns TRUE for lists. It's also confusing initially that > class(x) [1]
2017 Feb 10
0
Grapics Device Resolution Limits
...ias) > > Try the other 2 types: the cairo devices do not use your graphics > hardware nor MicroSoft's GDI. (The other 2 devices are Xlib on a > Unix-alike and Quartz on macOS.) > > > On 10/02/2017 16:54, Martin Maechler wrote: >>>>>>> Dario Strbenac <dstr7320 at uni.sydney.edu.au> >>>>>>> on Fri, 10 Feb 2017 02:00:08 +0000 writes: >> >> > Good day, >> > Could the documentation of graphics devices give some >> explanation of how big the bitmap limits are? For example, >> >>...
2014 Jun 12
1
do.call Error for Function Not Present When Manually Called
Hello, The e1071 function naiveBayes gives an error when called by do.call, although it doesn't give any error if I call it manually. Browse[1]> trainParams at classifier function (x, ...) UseMethod("naiveBayes") <environment: namespace:e1071> Browse[1]> trained <- do.call(trainParams at classifier, paramList) Error in names(dimnames(tables[[i]])) <- c(Yname,
2013 Oct 04
2
Tab Separated File Reading Error
Hello, I have a seemingly simple problem that a tab-delimited file can't be read in. > annoTranscripts <- read.table("matched.txt", sep = '\t', stringsAsFactors = FALSE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 5933 did not have 12 elements However, all lines do have 12 columns. > lines <-
2014 Mar 27
2
mclapply Segmentation Fault for Ubuntu
Running the example in the documentation causes R to crash. dario at bioinfo:~$ R R version 3.0.3 (2014-03-06) -- "Warm Puppy" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or
2015 Dec 18
2
Default R Font Changed After Upgrade to Debian 8
Good day, The server administrator recently upgraded the operating system from Debian version 7 to version 8 and R from version 3.1.2 to version 3.2.2. The default font used in plots has changed and I've asked him to restore the previous font. What instructions should I tell him about restoring the font ? -------------------------------------- Dario Strbenac PhD Student University of Sydney
2015 Feb 20
1
save.image Doesn't Save Objects When Browsing
The documentation states that "save.image() is just a short-cut for save(list = ls(all = TRUE), file = ".RData")". However, if I do Browse[1]> ls(all=TRUE) [1] "expression" "orderedFeatures" "predictParams" [4] "resubstituteParams" "trainParams" "verbose" Browse[1]>
2016 Jan 28
1
More Capability for Capabilities
Good day, The capabilities function gives a logical result of which features R has been compiled with. Is there a more advanced variety of the function that will give the version number of the library, or its system path, rather than simply TRUE ? -------------------------------------- Dario Strbenac PhD Student University of Sydney Camperdown NSW 2050 Australia