Displaying 6 results from an estimated 6 matches for "expession".
Did you mean:
expression
2003 Jan 29
2
substitute, eval and hastables
...s of the list, stored as an vector
of names:
nn <- c("A", "B", "C"), so that I could get list elements like
a$nn[1], a$nn[2], etc. Obviously it doesn't work. Instead I do:
nn.Exp <- substitute(expression(a$b), list(b=nn[1]))
eval(nn.Exp)
in a result I get
expession(a$"A") but not the value stored in the list.
Meanwhile if I manually construct expression as expression(a$"A") and
then evaluate it, it works fine.
How do I solve that problem? Perhaps using such a list with
"stringified" names are not very good programming style, but...
2000 Jun 21
1
converting a string to an element in a function call
...gh orders anyhow.
The issue is that I pass a vector of strings to the function and want to use it
as:
update(.~.+ do.something.to.the.string(vector.argument.of.strings[i])
or in the code below
update(.~.+unknown(facvec[i]))
I've tried a whole bunch of things I don't understand parse(),as.expession()
and the as.name() below but none seem to work.
Here is the function I am using:
function(facvec,base.lm){
if ( missing(facvec) || missing(base.lm) ){
cat("This script assesses the contribution of terms in a lm model.\n")
cat(" It expects a vector of names and a lm.object...
2003 Jun 22
1
Install help needed
Two different issues, but maybe they are related?
1) Attempt to install Compuserve under wine, I initially see three
fixme messages:
fixme:win:SetWindowTextA cannot set text "Unpacking Compuserve..." of
other process qindow (nil)
fixme:int21:DOS3Call get interrupt vector - move to winedos...
fixme:int21:DOS3Call get interrupt vector - move to winedos...
Then an install box is
2018 Nov 10
0
Fedora 29 upgrade: texlive-scheme-medium may depend on R (texlive-includernw)
On Sat, 10 Nov 2018, Andreas Storvik Strauman wrote:
> Hello! I'm confused as to what the actual problem with includeRnw is? Is
> the problem that it relies on R-knitr? Before it would be withdrawn, may
> I be given an opportunity to fix said problem?
Yes, the problem is that it expesses an external dependence on anything
outside texlive. On packaging systems (for me Fedora),
2016 Apr 28
0
Antwort: RE: Interdependencies of variable types, logical expressions and NA
...es of variable types, logical
> expressions and NA
>
> Hi Petr,
>
> many thanks for your reply.
>
> Yes it's interesting. I did not understand what the truth table wanted to
> say due to 4 columns instead of 3. But know I got it.
>
> The other thing is that logical expessions with NA work differently on
> different types of variables as my example code shows:
>
> -- cut --
> # Truth table for logicals and NA
>
> var2 <- c(TRUE, FALSE)
> var3 <- c(NA, NA)
> var1 <- c(1, 1)
> ds <- data.frame(var1, var2, var3)
> ds
>
> ds$v...
2018 Nov 10
2
Fedora 29 upgrade: texlive-scheme-medium may depend on R (texlive-includernw)
On Sat, 10 Nov 2018, I?aki Ucar wrote:
> On Sat, 10 Nov 2018 at 15:17, Roger Bivand <Roger.Bivand at nhh.no> wrote:
>>
>> On upgrading my F28 to F29, I've found that R-core and a number of R
>> packages:
>>
>> R-evaluate R-glue R-highr R-knitr R-magrittr R-markdown R-mime R-stringi
>> R-stringr R-yaml
>>
>> are installed, although I