Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

212 results for “from:Ulrik Stervbo”

Error: missing value where TRUE/FALSE needed
Ulrik Stervbo · Jun 9, 2016 · r-help

Dear Shashi, I don't see any code, but I will take a guess anyway: The error tells you that you try to compare a boolean with something that is not (TRUE or FALSE cannot be compared to NA). HTH...

Extracting rows of a data.frame by "identical"
Ulrik Stervbo · May 2, 2016 · r-help

Can you use subset? subset(d, b == 4 & c == 10) Best Ulrik On Tue, 3 May 2016 04:58 jpm miao, <miaojpm at gmail.com> wrote: > Is it possible? I am expecting the result to be the second row of...

reading form data from pdf forms
Ulrik Stervbo · Mar 11, 2017 · r-help

I don't know if there's a pure R option, but i believe pdftk can extract the form data which you can then manipulate in R. Best Ulrik On Sat, 11 Mar 2017, 05:14 Vijayan Padmanabhan, < padmanabhan.vijayan...

fill out a PDF form in R
Ulrik Stervbo · Jul 26, 2017 · r-help

Hi Elahe, I have no clue, but maybe you can dump the data fields using pdftk, and work with those in R. HTH Ulrik On Wed, 26 Jul 2017 at 13:50 Elahe chalabi via R-help <r-help at...

regroup row names
Ulrik Stervbo · Jul 3, 2016 · r-help

Hi Lily, you can use gsub: df$ID <- gsub("_.*", "", df$ID) HTH Ulrik On Sun, 3 Jul 2016 at 20:16 lily li <chocold12 at gmail.com> wrote: > I have a problem in changing row names in a dataframe in...

file creating
Ulrik Stervbo · Dec 10, 2017 · r-help

You could loop over the file names, read each excel file and store the individual data frames in a list using lapply. I prefer to read excel files with the package readxl. The code could be along the lines of...

add value to Bar chart ggplot2
Ulrik Stervbo · May 27, 2016 · r-help

Hi Elahe, maybe this will help: http://stackoverflow.com/questions/6455088/how-to-put-labels-over-geom-bar-in-r-with-ggplot2 or this: http://stackoverflow.com/questions/12018499/how-to-put-labels-over-geom-bar-for-each-bar-in...

Inserting a blank row to every other row
Ulrik Stervbo · Apr 24, 2016 · r-help

Hi Saba, I don't know how to do what you want and I also cannot see why. If you describe what you hope to achieve there might be a different solution. Best wishes Ulrik Saba Sehrish via R-help...

Help with read.csv.sql()
Ulrik Stervbo · Jul 29, 2020 · r-help

True, but the question was also how to control for formats and naming columns while loading the file. The only way I know how to do this (sans work on my part) is through the functions in readr. So, 50...

questions on subscores.
Ulrik Stervbo · May 14, 2018 · r-help

I have no idea, but Google pointed me to this https://cran.r-project.org/web/packages/subscore/index.html Hth Ulrik "Hyunju Kim" <asdfg4882 at yonsei.ac.kr> schrieb am Di., 15. Mai 2018, 07:21: > > > > Hello, > > > > I want...

Formatting column displays
Ulrik Stervbo · May 5, 2017 · r-help

Hi Bruce, display as in the console or as a table for presentation? For the latter, look at sprintf: sprintf("%,1f", 1) sprintf("%.2f", 2.5678) sprintf("$%.3f", 2.5678) HTH Ulrik On Fri, 5 May 2017 at 14:08...

Calculation of time for 5000 simulation study
Ulrik Stervbo · Jan 10, 2016 · r-help

Hi Muhammad, is the system.time() function what you are looking for? You can use it like this: system.time(for(i in 1:100) mad(runif(1000))) or f1 <- function(){ for(i in 1:100) mad(runif(1000)) } system...

Reg : : How to plot the live streaming graph in R ?
Ulrik Stervbo · Oct 21, 2016 · r-help

Hi Manu, I'm by far no expert, but if you use Shiny I believe you can refresh using 'reactiveTimer' and just plot the last n points HTH Ulrik On Fri, 21 Oct 2016 at 08:53 Manohar Reddy <manu...

How to scale circle sizes in VennDiagram using draw.triple.venn
Ulrik Stervbo · Dec 16, 2016 · r-help

I usually use the package Vennerable for all my Venn needs. It also has the option to draw weighted diagrams. HTH Ulrik Yung-Chih Lai <yungchihlai at gmail.com> schrieb am Fr., 16. Dez. 2016, 21:40: > Hi, > > > The below...

Unable to Load package Rcmdr after installation
Ulrik Stervbo · Mar 9, 2017 · r-help

Hi Paul, The error tells you, that the 'Hmisc' does not exist on your system. If you install it, everything should work. Use install.packages with dependencies = TRUE to avoid the problem of missing packages. HTH Ulrik On Thu, 9...

rename multiple files by file.rename or other functions
Ulrik Stervbo · Sep 28, 2017 · r-help

Hi John, I don't know how to do this with R, but on Linux I'd use rename (or maybe even by hand if it's a one time event). On Windows I believe there is a tool called...

fill out a PDF form in R
Ulrik Stervbo · Jul 26, 2017 · r-help

On second thought, you could also use pdftk to fill out the pdf form with data generated in R. On Wed, 26 Jul 2017 at 14:01 Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > Hi Elahe, > > I have no...

Help!
Ulrik Stervbo · Dec 7, 2016 · r-help

Hi Andrea, The R-studio shortcut for running the current line or selection is Ctrl + Enter. The shortcut for sourcing the whole script is Ctrl+Shift+Enter If you press the 'source' button it will source the whole script - I...

Annoying startup error message
Ulrik Stervbo · Feb 26, 2016 · r-help

Hi Lars, The error tells you that SparkR is not installed. I believe you can install it like this: library(devtools) install_github("amplab-extras/SparkR-pkg", subdir="pkg") I took it from https://github.com/amplab-extras/SparkR-pkg...

problems in vectors of dates_times
Ulrik Stervbo · Apr 6, 2017 · r-help

Hi Troels, I get no error. I think we need more information to be of any help. Best wishes, Ulrik On Fri, 7 Apr 2017 at 08:17 Troels Ring <tring at gvdnet.dk> wrote: > Dear friends - I have further...

Can't find what you're looking for? Try searching with Google .