Re: [Rd] Why R should never move to git

2018-01-31 Thread Suzen, Mehmet
On 31 January 2018 at 16:18, Barry Rowlingson wrote: >> > > Let the record also state that *gitlab* is an open source project and can be > downloaded and self-hosted, like gogs, but unlike github. Good to know. Nice one: https://github.com/gitlabhq/gitlabhq Best, -m > PS I've been running a g

Re: [Rd] Best practices in developing package: From a single file

2018-01-31 Thread Suzen, Mehmet
Dear Dr. Pfaff, Thank you for this, creating a package out of single file was my oriingal question, but not only creating and also maintaining it that way so R package is an artifact of the development process rather than "manually maintained" structure. I will have look at your sources. Best, M

Re: [Rd] Why R should never move to git

2018-01-30 Thread Suzen, Mehmet
losing business, that is _not_ such a big to any active project that > is hosted there. > > Gabor > > On Tue, Jan 30, 2018 at 11:07 PM, Suzen, Mehmet > wrote: >> This might be off topic, but if R-core development ever moves to git, >> I think it would make

Re: [Rd] Why R should never move to git

2018-01-30 Thread Suzen, Mehmet
This might be off topic, but if R-core development ever moves to git, I think it would make sense to have its own git service hosted by a university, rather than using github or gitlab. It is possible via https://gogs.io/ project. Just for the record. Best, -m ___

Re: [Rd] Best practices in developing package: From a single file

2018-01-30 Thread Suzen, Mehmet
On 30 January 2018 at 21:31, Cook, Malcolm wrote: > > I think you want to see the approach to generating a skeleton from a single > .R file presented in: > > Simple and sustainable R packaging using inlinedocs > http://inlinedocs.r-forge.r-project.org/ > > I have not used it in some time

Re: [Rd] Best practices in developing package: From a single file

2018-01-30 Thread Suzen, Mehmet
systems to different time-series representations, so richly democratised. Many regards, Mehmet On 30 January 2018 at 17:00, Suzen, Mehmet wrote: > Dear R developers, > > I am wondering what are the best practices for developing an R > package. I am aware of Hadley Wickham's best

[Rd] Best practices in developing package: From a single file

2018-01-30 Thread Suzen, Mehmet
Dear R developers, I am wondering what are the best practices for developing an R package. I am aware of Hadley Wickham's best practice documentation/book (http://r-pkgs.had.co.nz/). I recall a couple of years ago there were some tools for generating a package out of a single file, such as using

Re: [Rd] R CMD check warning about compiler warning flags

2017-12-25 Thread Suzen, Mehmet
On 26 December 2017 at 00:00, Juan Telleria wrote: > Maybe I'm new, and forgive my ignorance, but maybe in the future (~ X years > from now) the R Project could be managed entirely from github, by doing I strongly disagree. Are you aware that github is a commercial company, github inc. [1] ? What

Re: [Rd] binary form of is() contradicts its unary form

2017-11-30 Thread Suzen, Mehmet
On 30 November 2017 at 16:30, Iñaki Úcar wrote: > If you really believe that references should be needed to know what to > expect from a function call, then we work with different definitions A behaviour of a function call might be quite complex depending on the arguments characteristics, it may

Re: [Rd] binary form of is() contradicts its unary form

2017-11-30 Thread Suzen, Mehmet
On 30 Nov 2017 14:32, "Iñaki Úcar" wrote: >> >> Am I supposed to read every reference on a man page just to know what >> to expect from a function? >> > > If the reference is from John Chamber, you are supposed to read it. As a joke, it's funny. Not a joke. John Chambers is the authority in R

Re: [Rd] binary form of is() contradicts its unary form

2017-11-30 Thread Suzen, Mehmet
On 30 November 2017 at 14:04, Iñaki Úcar wrote: > > Am I supposed to read every reference on a man page just to know what > to expect from a function? > If the reference is from John Chamber, you are supposed to read it. It is not always possible for maintainers to document everything on a man pa

Re: [Rd] binary form of is() contradicts its unary form

2017-11-30 Thread Suzen, Mehmet
On 30 November 2017 at 11:37, Iñaki Úcar wrote: > 2017-11-30 3:14 GMT+01:00 Suzen, Mehmet : >> My understanding is that there is no inconsistency. `is` does what it >> claims, from the documentation: >> >> ‘is’: With two arguments, tests whether ‘object’ can be t

Re: [Rd] binary form of is() contradicts its unary form

2017-11-29 Thread Suzen, Mehmet
On 29 November 2017 at 21:45, Hervé Pagès wrote: > You're missing the point of my original post. Which is that > there is a serious inconsistency between the unary and binary > forms of is(). Maybe the binary form is right in case of My understanding is that there is no inconsistency. `is` does w

Re: [Rd] binary form of is() contradicts its unary form

2017-11-29 Thread Suzen, Mehmet
ot entirely sure. Best, -Mehmet On 29 November 2017 at 20:46, Hervé Pagès wrote: > Hi Mehmet, > > On 11/29/2017 11:22 AM, Suzen, Mehmet wrote: >> >> Hi Herve, >> >> I think you are confusing subclasses and classes. There is no >> contradiction. `is` documentat

Re: [Rd] binary form of is() contradicts its unary form

2017-11-29 Thread Suzen, Mehmet
Hi Herve, I think you are confusing subclasses and classes. There is no contradiction. `is` documentation is very clear: `With one argument, returns all the super-classes of this object's class.` Note that object class is always `data.frame` here, check: > class(data.frame()) [1] "data.frame" >

Re: [Rd] establishing a Code of Conduct for R

2017-09-13 Thread Suzen, Mehmet
On 13 September 2017 at 13:22, Brian G. Peterson wrote: > I am not an official representative of the R team, so this is only my > opinion. > Thank you. > It seems to me that you are trying to create a solution to a problem > which does not exist. I am not trying to create any solution and not m

[Rd] establishing a Code of Conduct for R

2017-09-13 Thread Suzen, Mehmet
Dear Colleagues/Developers/R enthusiasts, Would it be possible to develop a code of conduct (CoC) document for R lists, CRAN submissions that all developers/maintainers to follow? This may help all of us to better communicate and move forward together. There is a similar effort from Python communi

Re: [Rd] Suggestion: Create On-Disk Dataframes

2017-09-04 Thread Suzen, Mehmet
It is not needed. There is a large community of developer using SparkR. https://spark.apache.org/docs/latest/sparkr.html It does exactly what you want. On 3 September 2017 at 20:38, Juan Telleria wrote: > Dear R Developers, > > I would like to suggest the creation of a new S4 object class for On-

Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Suzen, Mehmet
Jennifer, Why do you try Sparkr? https://spark.apache.org/docs/1.6.1/api/R/read.json.html On 2 September 2017 at 23:15, Jennifer Lyon wrote: > Thank you for your suggestion. Unfortunately, while R doesn't segfault > calling readr::read_file() on the test file I described, I get the error > messa

Re: [Rd] matrices with names

2017-07-27 Thread Suzen, Mehmet
Not always, see what happens with lapply: > x<-matrix(12,1,1) > names(x)<-"one" > y<-matrix(1,1,1) > names(y)<-"one" > dput(lapply(x,`+`,e2=y)) structure(list(one = structure(13, .Dim = c(1L, 1L))), .Names = "one") >dput(lapply(x,`+`,e2=1)) structure(list(one = 13), .Names = "one") Prof. Ripley h

Re: [Rd] as.POSIXct behaviour

2017-03-08 Thread Suzen, Mehmet
On 9 March 2017 at 01:29, Arunkumar Srinivasan wrote: > The time info is lost on the first index as well. And it happens *silently*. Yes, because it assumes homogeneous format on the entire vector. You may want to do two passes with different formats or run a regular expression to catch typos.

Re: [Rd] Inconsistency when naming a vector

2015-04-27 Thread Suzen, Mehmet
There is no inconsistency. Documentation of `names` says "...value should be a character vector of up to the same length as x..." In the first definition your character vector is not the same length as length of x, so you enforce NA by not defining value[2] x <- 1:2 value<-c("a") value[2] [1] NA

Re: [Rd] Problem in linking a library in R package

2013-06-17 Thread Suzen, Mehmet
On 16 June 2013 17:31, Gaurav Sehrawat wrote: > fine the shared library path in it. And how would i > verify it has been loaded. The library is dynamic i have check using > ldd fpmpi.so have you tried setting environment variable LD_LIBRARY_PATH: http://tldp.org/HOWTO/Program-Library-HOWTO/shared