Displaying 20 results from an estimated 1100 matches similar to: "functions from 'base' package are not accessible"
2017 Aug 24
0
functions from 'base' package are not accessible
Try putting !!! (three exclamation symbols) in front of which(...)==....
The non-standard evaluation in the tidyverse can cause confusion.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Aug 24, 2017 at 4:32 AM, Eugeny Melamud <
Eugeny.Melamud at lanit-tercom.com> wrote:
> Hi all!
>
> The following code (executed in console)...
> somevar <- data.frame(v1 = 1:5,
2012 Nov 15
3
how to view source code of a function inside a package?
Dear list,
I am trying to look at the function inside a package. I know that
methods() would do the trick, but what if the function is hidden? I have a
problem displaying the hidden function.
Say, for example the MCMC package. How do you view the code of that
function?
something like this:
> which
function (x, arr.ind = FALSE, useNames = TRUE)
{
wh <- .Internal(which(x))
if
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying.
In javascript, I''m using the ajax.updater, and it (obviously) writes
back out to a div. I want to then compare what was echoed out into
this div (which came from the php file I listed in ajax.updater) with
a string.
test should equal "SomeString" because that is what is being echoed
out to
2020 Oct 14
0
which() vs. just logical selection in df
Inline.
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Oct 14, 2020 at 3:23 PM 1/k^c <kchamberln at gmail.com> wrote:
Is which() invoking c-level code by chance, making it slightly faster
> on average?
>
You do not need
2020 Oct 14
2
which() vs. just logical selection in df
Hi Dr. Snow, & R-helpers,
Thank you for your reply! I hadn't heard of the {microbenchmark}
package & was excited to try it! Thank you for the suggestion! I did
check the reference source for which() beforehand, which included the
statement to remove NAa, and I didn't have any missing values or NAs:
sum(is.na(dat$gender2))
sum(is.na(dat$gender))
sum(is.na(dat$y))
[1] 0
[1] 0
[1]
2005 Oct 27
5
Save output of Ajax.InPlaceEditor to a variable?
All,
The Ajax.InPlaceEditor control is nice but I''d like the ability to
read the changed value. Basically, I''m creating a form with editable
elements but it''s only when I do the submit that the form elements are
submitted. I''d still like to allow in-place editing but what I''d like
to do is get the new value and throw that in a hidden form variable
Is
2006 Apr 27
1
sigsev with postfix + dovecot SASL
hi,
I am just playing a bit with the dovecot SASL plugin for postfix and so far my
tests have been very successfull, can't wait to get the cyrus-sasl beast replaced.
However, I found a potential problem when doing some "illegal" stuff on the
postfix side:
-------CUT-------
cerberus:/var/log# telnet smtptest 25
Trying 192.168.99.99...
Connected to smtptest.bestsolution.at.
Escape
2018 Sep 28
4
Simple bash question
I am calling a bash script and passing in somestring that includes a "$"
myscript "$plusmore"
I want to assign in the myscript the $1 arg to something like
MYTEXT="$1"
when I do that I dont get what I'm expecting. if I do
MYTEXT='$1'
I still dont get what I'm expecting.
On the first assignment of MYTEXT I do not want the "$" to be
2016 Feb 03
2
Python hashlib and ripemd160
Hi - I think the patent monster has struck again.
rmd = hashlib.new('ripemd160',binascii.unhexlify(someString)).hexdigest()
That fails - ValueError: unsupported hash type
From some googling, it appears that the supported hash types are from
OpenSSL and that means the OpenSSL in CentOS doesn't support ripemd160.
I've worked around other stuff missing from CentOS OpenSSL by
2012 Jun 18
1
Changing many csv files using apply?
Dear all,
I have many csv files whose contents I want to change a bit en masse. So far, I've written code that can change them in a for loop, like so:
# Subset of files in the folder I want to change
subset = "somestring"
# Retrieve list of files to change
filelist=list.files()
filelist = filelist[grep(subset, filelist)]
for(i in 1:length(filelist)){
setwd(readdir)
2016 Feb 03
1
Python hashlib and ripemd160
okay it appears there are no suspect patent issues with ripemd160 so
either they just didn't include it for some other reason or the issue is
elsewhere.
On 02/03/2016 03:00 AM, Eero Volotinen wrote:
> well, how about compiling instance to another directory like
> /opt/python-alternative?
>
> usually works like ./configure --prefix=/opt/python-alternative and then
> other
2013 Apr 03
3
arrayInd and which
Folks,
I have Googled but not found much regarding arrayInd aside from the "which" help page.
Any good examples or docs on what arrayInd does that is better or different from which()?
In addition take the following 20x10 matrix:
td<-structure(c(1, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 6, 6, 6, 6, 6,
6, 6, 1, 6, 6, 6, 6,
2005 Aug 10
0
questions about extend
I''m working with prototype.js to make some widgets, and trying to
figure out working with extend.
I''d like to be able to to extend a class and then call a function from
the super class.
var SuperClass = Class.create();
SuperClass.prototype = {
initialize: function(somevar){
this.somevar = somevar;
}
}
var SubClass = Class.create();
SubClass.prototype = (new
2008 Sep 02
0
No subject
context probably won't give you any insight into what it actually
means, namely that because of X limitations, Wine can't actually
change the screen depth and lies to the application instead. Usually
this is fine; in fact I've never heard of it causing a problem. We
really have no business printing that scary useless thing IMO.
It should never be necessary to document these things.
2005 Aug 10
2
extend question
Is it possible to call the super class''s version of a function from a subclass?
SuperClass = Class.create();
SuperClass.prototype = {
initialize: function(){
this.varA = '''';
this.varB = '''';
}
}
SubClass = Class.create();
SubClass.prototype = (new SuperClass()).extend({
initialize: function(somevar) {
this.somevar = somevar;
}
2009 Sep 09
0
Custom CDR Help
So, it's been a while and I am just lately getting back into Asterisk stuff.
I am trying to remember/understand how CDR works and after lots of trial and
error and searching the archives, google etc, I am stuck and have a few
questions.
I have setup custom CDR and am trying to figure out the following:
1- Can I just set a variable like set(SomeVar=SomeValue) Then stick this is
2015 Apr 27
1
Development version of R: Improved nchar(), nzchar() but changed API
Dear Martin,
Does the work on nchar mean that bugs #16090 and #16091 will be resolved
[1,2]?
Thanks,
Mark
[1] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16090
[2] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16091
On Sat, Apr 25, 2015 at 11:06 PM, James Cloos <cloos at jhcloos.com> wrote:
> >>>>> "GC" == G?bor Cs?rdi <csardi.gabor at
2012 Sep 11
5
Searching from Dataframe.
Hi,
i have a dataframe containing some values.
for eg:-
MyDataFrame<-
Name Age Place
------- ------ -----------
Aby 12 USA
Raj 25 UK
Romi 32 ENG
Amy 31 IND
My requirement what is, i have a search key word[it should search from all
the columns], that i need to find out from this dataframe. If search keyword
found , it
2012 Feb 18
3
foreach %do% and %dopar%
Hi everyone,
I'm working on a script trying to use foreach %dopar% but without success,
so I manage to run the code with foreach %do% and looks like this:
The code is part of a MCMC model for projects valuation, returning the most
important results (VPN, TIR, EVA, etc.) of the simulation.
foreach (simx = NsimT, .combine=cbind, .inorder=FALSE, .verbose=TRUE) %do% {
MCPVMPA = MCVAMPA[simx]
2004 Jul 21
4
Bug#260743: logcheck-database: dhcp rule updates for failover support
Package: logcheck-database
Version: 1.2.23
Severity: minor
Hi,
a couple of minor corrections to the dhcp rule sets:
First of all, the hostname matching parts need to include the "._-"
signs (maybe . is not needed but it might be).
Then when using failover, log lines of type DHCPDISCOVER and DHCPREQUEST
may be entailed by the string ": load balance to peer <somestring>".