search for: kortschak

Displaying 19 results from an estimated 19 matches for "kortschak".

2019 Dec 15
4
source definition for R_NilValue/return from TYPEOF(R_NilValue)
Hello, for reasons I want to know the return value of TYPEOF(R_NilValue), I expect it to be NILSXP, but I can't find this documented anywhere. Ideally, I'd like to see the source definition of R_NilValue, but after fair bit of searching I cannot find an obviously location for this. Would someone please point me in the right direction? thanks -- CRICOS provider code 00123M
2009 Sep 16
1
changing number of axis
...n of these (how many, I can't see since due to the density of the labels). My question is how I can get a sane number of labels along the x axis (about 5-10 would be good). I suspect that 'scales' might be the way to go, but I can't see an obvious option to do this. thanks -- Dan Kortschak <dan.kortschak at adelaide.edu.au>
2020 Sep 06
8
some questions about R internal SEXP types
...e represented as a fully allocated SEXP value rather than just a C NULL. Also, whether C NULL is used to any great extent within the internal code. Note that the Go API provides a mechanism to easily reconvert the nil's used back to a R_NilValue when returning from a Go function[3]. thanks Dan Kortschak [1]https://github.com/rgonomic/rgo [2]https://github.com/rgonomic/rgo/issues/1 [3]https://pkg.go.dev/github.com/rgonomic/rgo/sexp?tab=doc#Value.Export
2010 Jan 05
2
zero-fill absent data
Hello, I have a set of data frames, generated by an SQL query that I am working with. Because of the way the query was written, zero values for the dependent variable (V2 in the example) are not recorded. Up until now this has not been a problem. I would like to be able to fill all absent data with 0. Current state of data (e.g.): >
2019 Dec 16
0
source definition for R_NilValue/return from TYPEOF(R_NilValue)
On Sun, 15 Dec 2019 10:47:11 +0000 Dan Kortschak <dan.kortschak at adelaide.edu.au> wrote: > I'd like to see the source definition of R_NilValue, but after > fair bit of searching I cannot find an obviously location for this. > > Would someone please point me in the right direction? As far as I understand, the assignment...
2020 Sep 08
0
some questions about R internal SEXP types
On 9/8/20 11:47 AM, Dan Kortschak wrote: > Thanks, Tomas. > > This is unfortunate. Calling between Go and C is not cheap; the gc > implementation of the Go compiler (as opposed to gccgo) uses different > calling conventions from C and there are checks to ensure that Go > allocated memory pointers do not leak into...
2009 Mar 28
1
calculating average for multiple subclasses in a data set
Hello R users, I have a data set which is a set of lengths and types of objects. I want to calculate the mean length for each type of object as opposed to the mean of all the objects in the set. This is in order to make a comparison between the lengths of each type of objects and the number of those objects. > x Chromosome Begin End Type Class Norm Length 458327
2009 Mar 24
4
multiple paired t-tests
Hi R users, I have a very large data set that has two conditioning variables for the test I want to perform. A toy set can be simulated: type<-sample(1:3,100,replace=TRUE) class<-sample(1:20,100,replace=TRUE) value<-rnorm(100) data<-cbind(type,class,value) (though type and class are alphanum) I want to perform the three pair-wise t-tests between types for each class in data. Can
2020 Sep 08
0
some questions about R internal SEXP types
..." in some cases to avoid confusion, e.g. for values types as "void *". SEXPs that packages obtain using the interface in WRE should not be C NULL, only R NULL (R_NilValue). External pointers can become C NULL and this is documented in WRE 5.13. Best Tomas On 9/6/20 3:44 AM, Dan Kortschak via R-devel wrote: > Hello, > > I am writing an R/Go interoperability tool[1] that work similarly to > Rcpp; the tool takes packages written in Go and performs the necessary > Go type analysis to wrap the Go code with C and R shims that allow the > Go code to then be called from R...
2009 Mar 23
1
changing order of lattice plots
Hi, This is another question relating to my 2 factor figure. densityplot(~End-Begin | Type * Chromosome, data=Mon, layout=c(5,12), xlab="Element Length",type="percent", col="grey60", strip=strip.custom(style=3, bg="grey90", par.strip.text=list(cex=0.5))) I would like to flip the plot so those at the bottom are at the top and so on. I have tried using a
2009 Mar 23
1
lattice multipanel strip placement - with two factors
Hi, I'm making a multipanel lattice densityplot figure with 2 factors (3 and 20 classes in each factor) with the following statement (the type="percent" is there to prevent plotting the actual points which detract from the figure - is there another way of doing this?): densityplot(~End-Begin | Type * Chromosome, data=Mon, layout=c(5,12), xlab="Element
2020 Sep 08
0
some questions about R internal SEXP types
On 9/8/20 1:13 PM, Dan Kortschak wrote: > On Tue, 2020-09-08 at 12:08 +0200, Tomas Kalibera wrote: >> I am not sure if I understand correctly, but if you were accessing >> directly the memory of SEXPs from Go implementation instead of >> calling >> through exported access functions documented in WRE, tha...
2009 Nov 20
1
how to specify the order of panels with xyplot
> chromosomes id refseq name length 1 0 NC_000001.9 Homo sapiens chromosome 1 247249719 2 1 NC_000002.10 Homo sapiens chromosome 2 242951149 3 2 NC_000003.10 Homo sapiens chromosome 3 199501827 4 3 NC_000004.10 Homo sapiens chromosome 4 191273063 5 4 NC_000005.8 Homo sapiens chromosome 5 180857866 6 5 NC_000006.10 Homo sapiens chromosome 6
2019 Mar 06
6
[RFC] Tensilica Xtensa (ESP32) backend
Hello, I'm from Espressif Systems company, software department. Our company develops processors based on Xtensa architecture like ESP32 and ESP8266. We propose the integration of a backend targeting Xtensa architecture. We started to develop LLVM Xtensa backend almost a year ago. The reason was that we saw a demand from our large developers community. Currently only GNU compiler supports
2020 Sep 08
2
some questions about R internal SEXP types
On Tue, 2020-09-08 at 12:08 +0200, Tomas Kalibera wrote: > I am not sure if I understand correctly, but if you were accessing > directly the memory of SEXPs from Go implementation instead of > calling > through exported access functions documented in WRE, that would be a > really bad idea. Of course fine for research and experimentation, but > the internal structure can and does
2009 Nov 23
0
R-help Digest, Vol 81, Issue 23
...quot; signs (Rolf Turner) > 87. Re: Removing "+" and "?" signs (Linlin Yan) > 88. Re: Removing "+" and "?" signs (Jorge Ivan Velez) > 89. how to prevent lattic barchart from drawing bar completely to > the bottom/left of the chart (Dan Kortschak) > 90. Re: Removing "+" and "?" signs (Jorge Ivan Velez) > 91. Re: Removing "+" and "?" signs (David Winsemius) > 92. How to change line width in heatmap.2()? (Peng Yu) > 93. Re: how to prevent lattic barchart from drawing bar > c...
2009 Nov 24
0
problem: howto see ylim (or equivalent) within a custom panel function
Hello, I am plotting a set of data where subsets are of different length and not all sites are noted in the data sets. To indicate the extent of sites, I am marking this with a line on the xyplot being produced: require(lattice) lengths<-as.integer(runif(10)*100) results <- matrix(ncol=3) for (i in 1:10) { gap <- 1-runif(1)/10 pos <- 1:as.integer(lengths[i]*gap) seq <-
2009 Oct 21
0
drawing a line indicating extent of each factored data series in multipanel lattice xyplot
Hi, Am am plotting aggregated frequency data (extracted from an RDBMS) relating to DNA sequence features for each of the human chromosomes as described in the table chromosomes below (the frequency data is in a table 'hits' that has a value (or not) for each of a set of bins across each chromosome). I would like to mark the extent of the chromosome (according to the length value in
2020 Sep 07
0
some questions about R internal SEXP types
Thanks, Gabriel. On Mon, 2020-09-07 at 14:38 -0700, Gabriel Becker wrote: > I cannot speak to initial intent, perhaps others can. I can say that > there is at least one place where the difference between R_NilValue > and NULL is very important as of right now. The current design of the > ALTREP framework contract expects ALTREP methods that return a SEXP > to return C NULL when