Re: [R] rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created

2017-04-11 Thread Jeff Newmiller
Someone might respond here anyway, but I think this is more of an R-devel question. Anyway, as long as the package file after installation has appropriate file names for where it is installed, what does it matter what is in the files before installation? -- Sent from my phone. Please excuse m

[R] rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created

2017-04-11 Thread Philip Rinn
Hi, I'm trying to understand why/how absolute file paths are stored in .rdb[1] and .rds[2] files during package installation. As a consequence building the same r package in different directories does not produce identical .rdb and .rds files. The background is that I work on reproducible builds[

[R] R in a real time MS BI environment

2017-04-11 Thread Andrew Scotchmer
Hi Hope someone can help with the best way forward for a project I am working on. My employer uses the MS BI stack - SSRS, SSIS, SQLServer, etc - and the developers have built a web portal in C# and ASP.Net to display real time management reports in a dashboard format using the bootstrap theme

[R] 回复: how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread dncdd via R-help
Thank you Ismail SEZEN.The link you give is filled.contour code which only works with my first mini data . The code in the link for R 3.3.2 is :** code * in link for R 3.3.2 panel.filledcontour <- function(x, y, z, subscripts, at, col.regions  =  cm.colors, 

[R] Peformance question

2017-04-11 Thread Thomas Mailund
Hi y’all, I’m working on a book on how to implement functional data structures in R, and in particular on a chapter on implementing queues. You get get the current version here https://www.dropbox.com/s/9c2yk3a67p1ypmr/book.pdf?dl=0 and the relevant pages are 50-59. I’ve implemented three versi

Re: [R] colorspace namespace problem with R CMD check --as-cran

2017-04-11 Thread stephen sefick
Here is the relevant snippett from devtools::check() logs. I searched every file in pkg/R, and there is no call to plot.index (or plot at all). Warning: namespace ‘colorspace’ is not available and has been replaced by .GlobalEnv when processing object ‘plot.index’ Warning: namespace ‘colorspace’ i

Re: [R] colorspace namespace problem with R CMD check --as-cran

2017-04-11 Thread stephen sefick
Thank you for the quick reply. here is what I tried: I used environment(fxn) to look at all of the functions and data in the package. I all of the functions have the namespace of the package. The generic functions have a namespace like . The data loaded with data(pkg_data) have and environment of

Re: [R] colorspace namespace problem with R CMD check --as-cran

2017-04-11 Thread William Dunlap via R-help
Does one of the objects in pkg/data (or pkg/R) include a function made by one of the functions in package:colorspace? Such a function would have the environment getNamespace("colorspace"). Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Apr 11, 2017 at 2:47 PM, stephen sefick wrote: > I am

[R] colorspace namespace problem with R CMD check --as-cran

2017-04-11 Thread stephen sefick
I am at a loss. I do not know how to make this reproducible without providing the package sourced. I am receiving a warning when issuing R --vanilla CMD check --as-cran --no-restore The description file has Imports: methods, reshape2, plyr, doBy, zoo this is in 00install.out ** R ** data *** mov

Re: [R] how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread Ismail SEZEN
> On 11 Apr 2017, at 20:55, dncdd mailto:dn...@aliyun.com>> > wrote: > > Thank you Ismail SEZEN. > The link you give is filled.contour code which only works with my first mini > data . filled.contour + lattice::levelplot solution can handle either matrix or a 3 column (x,y,z) data.frame by us

Re: [R] how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread Ismail SEZEN
After lon long search, my best shot was to use filled.contour + lattice::levelplot together [a] to represent 3 dimensional data on a flat surface. a) http://r.789695.n4.nabble.com/Creating-smooth-color-regions-with-panel-contourplot-td866253.html

Re: [R] how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread Jeff Newmiller
Ggplot does not do xyz. Look at package lattice or package rgl instead. -- Sent from my phone. Please excuse my brevity. On April 10, 2017 11:16:54 PM PDT, dncdd via R-help wrote: >ENV  > >R 3.3.2 > >When I have data like: > >rdn<-c(0.8,1.8,2.8) >tdn<-c(1,2,3,4,5,6,7,8,9) > >idn

[R] [R-pkgs] Introducing the rsoi package

2017-04-11 Thread Sam Albers
Hi folks, I am pleased to announce that the rsoi is now up on CRAN (v0.2.1 https://CRAN.R-project.org/package=rsoi). rsoi is a minimal but hopefully useful package to folks that are looking for easy access in R to Southern Oscillation Index and Oceanic Nino Index data. rsoi uses data collected by

[R] how to plot three dimension data to filled contour plot or surface plot in R Ask Question

2017-04-11 Thread dncdd via R-help
ENV  R 3.3.2 When I have data like: rdn<-c(0.8,1.8,2.8) tdn<-c(1,2,3,4,5,6,7,8,9) idn<-matrix(c(0.3, 0.3, 0.3, 0.2, 0.2, 0.4, 0.1, 0.1, 0.5, 0, 0.2, 0.5, 0,  0.3, 0.6, 0, 0.4, 0.6, 0, 0.4, 0.6, 0, 0.5, 0.7, 0, 0.5, 0.7), nrow=9, ncol=3,  byrow=T) And the matrix looks like(3*9 =

[R] Antwort: Re: Antwort: Re: Antwort: Re: Way to Plot Multiple Variables and Change Color (SOLVED)

2017-04-11 Thread G . Maubach
Hi David, many thanks for your answer. I followed your suggesting and came up with the following code: -- cut -- ggplot( d_result, aes(x = variable, y = n, fill = value)) + geom_bar( stat = "identity") + coord_cartesian(ylim = c(0,100)) + coord_flip() + scale_y_continuous(name =