search for: dromedari

Displaying 9 results from an estimated 9 matches for "dromedari".

Did you mean: dromedary
2012 Jun 05
4
How do I obtain the current active path of a function that's being called?
Hi all, How do I obtain the current active path of a function that's being called? That's to say, I have several source files and they all contain definition of function A. I would like to figure out which function A and from which file is the one that's being called and is currently active? Thanks a lot! [[alternative HTML version deleted]]
2015 Jan 08
4
RFC: getifexists() {was [Bug 16065] "exists" ...}
...und has no default value in above. > It behaves exactly like current get does if value.if.not.found > is not specified, and if it is specified, it would be faster > in the common situation mentioned below: > if(exists(x,...)) { get(x,...) } > > John > > P.S. if you like dromedaries call it valueIfNotFound ... > > .............................................................. > John P. Nolan > Math/Stat Department > 227 Gray Hall, American University > 4400 Massachusetts Avenue, NW > Washington, DC 20016-8050 > > jpnolan at american.edu...
2015 Jan 08
5
RFC: getifexists() {was [Bug 16065] "exists" ...}
In November, we had a "bug repository conversation" with Peter Hagerty and myself: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16065 where the bug report title started with --->> "exists" is a bottleneck for dispatch and package loading, ... Peter proposed an extra simplified and henc faster version of exists(), and I commented > --- Comment #2
2015 Jan 08
0
RFC: getifexists() {was [Bug 16065] "exists" ...}
...lue) } Note that value.if.not.found has no default value in above. It behaves exactly like current get does if value.if.not.found is not specified, and if it is specified, it would be faster in the common situation mentioned below: if(exists(x,...)) { get(x,...) } John P.S. if you like dromedaries call it valueIfNotFound ... .............................................................. John P. Nolan Math/Stat Department 227 Gray Hall, American University 4400 Massachusetts Avenue, NW Washington, DC 20016-8050 jpnolan at american.edu voice: 202.885.3140 web: aca...
2015 Jan 08
1
RFC: getifexists() {was [Bug 16065] "exists" ...}
...nd has no default value in above. > It behaves exactly like current get does if value.if.not.found > is not specified, and if it is specified, it would be faster > in the common situation mentioned below: > if(exists(x,...)) { get(x,...) } > > John > > P.S. if you like dromedaries call it valueIfNotFound ... > > .............................................................. > John P. Nolan > Math/Stat Department > 227 Gray Hall, American University > 4400 Massachusetts Avenue, NW > Washington, DC 20016-8050 > > jpnolan at american...
2015 Jan 08
0
RFC: getifexists() {was [Bug 16065] "exists" ...}
...e. >> It behaves exactly like current get does if value.if.not.found >> is not specified, and if it is specified, it would be faster >> in the common situation mentioned below: >> if(exists(x,...)) { get(x,...) } >> >> John >> >> P.S. if you like dromedaries call it valueIfNotFound ... >> >> .............................................................. >> John P. Nolan >> Math/Stat Department >> 227 Gray Hall, American University >> 4400 Massachusetts Avenue, NW >> Washington, DC 20016-8050 >>...
2015 Jan 08
1
RFC: getifexists() {was [Bug 16065] "exists" ...}
...ly -- I had originally also thought of returning the two parts explicitly, but then tended to prefer the version that behaved exactly like get() in the case the object is found. ... Nice interesting ideas! ... let the proposals and consideration flow ... Martin > John > P.S. if you like dromedaries call it valueIfNotFound ... :-) ;-) I don't .. as I said above, I already strongly dislike more than one hump. [ Each capital is one key stroke ("Shift") more , and each "_" is two key strokes more on most key boards..., and I do like identifiers that I can also qu...
2015 Jan 08
2
RFC: getifexists() {was [Bug 16065] "exists" ...}
...ly like current get does if value.if.not.found >>> is not specified, and if it is specified, it would be faster >>> in the common situation mentioned below: >>> if(exists(x,...)) { get(x,...) } >>> >>> John >>> >>> P.S. if you like dromedaries call it valueIfNotFound ... >>> >>> .............................................................. >>> John P. Nolan >>> Math/Stat Department >>> 227 Gray Hall, American University >>> 4400 Massachusetts Avenue, NW >>> Washing...
2019 Aug 09
7
Underscores in package names
Won't it be better to have a convention that allows lowercase, dash, underscore and dot as only valid characters for new package names and keep the ancient format validation scheme for older package names? This could be implemented by a single function, taking a strictNaming_b_1 parameter which defaults to true. Easy to use, and compliance results will vary according to the parameter value,