-project.org Assunto: [R] Help with r script
To the R Project:
I am using R Studio and I need help sum product exponents with R Script. Every
time I type at the very start in the R Script window like 25* 30 nothing
happens. Where can I go to find the complete commands for basic functions in
the r
On Tue, 4 Sep 2018, Nathan D Jennings wrote:
?To the R Project:
This is the R-help mailing list, populated by various people who use R
including the occasional R-core developer.
I am using R Studio and I need help sum product exponents with R Script.
a) This is the R-help mailing list, n
To the R Project:
I am using R Studio and I need help sum product exponents with R Script. Every
time I type at the very start in the R Script window like 25* 30 nothing
happens. Where can I go to find the complete commands for basic functions in
the r script window?
Sincerely,
Nathan Je
these solutions..
Thanks & Regards
VP
From: Ulrik Stervbo
To: "MacQueen, Don" ,
Vijayan Padmanabhan
,
"r-help@r-project.org"
Date: 14-07-2017 10:39
Subject: Re: [R] Help with R script
@Don your
@Don your solution does not solve Vijayan's scenario 2. I used spread and
gather for that.
An alternative solution to insert mising Fval - picking up with Don's
newtst - is
newtst <- c("FName: fname1", "Fval: Fval1.name1", "FName: fname2", "Fval:
Fval2.name2", "FName: fname3", "FName: fname4", "F
Using Ulrik’s example data (and assuming I understand what is wanted), here is
what I would do:
ex.dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName: fname2",
"Fval: Fval2.name2", "FName: fname3")
tst <- data.frame(x = ex.dat, stringsAsFactors=FALSE)
sp <- strsplit(tst$x, ':', fix
Hi Vijayan,
one way going about it *could* be this:
library(dplyr)
library(tidyr)
library(purrr)
ex_dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName:
fname2", "Fval: Fval2.name2", "FName: fname3")
data.frame(x = ex_dat) %>%
separate(x, c("F1", "F2"), sep = ": ") %>%
filter(F2
Dear R-help Group
Scenario 1:
I have a text file running to 1000 of lines...that
is like as follows:
[922] "FieldName: Wk3PackSubMonth"
[923] "FieldValue: Apr"
[924] "FieldName: Wk3PackSubYear"
[925] "FieldValue: 2017"
[926] "FieldName: Wk3Code1"
[927] "FieldValue: "
[928] "FieldVal
8 matches
Mail list logo