similar to: How to use a variable after $ ($x) for subscripting a list, How to source from a character object (source(x))

Displaying 20 results from an estimated 5000 matches similar to: "How to use a variable after $ ($x) for subscripting a list, How to source from a character object (source(x))"

2007 Dec 15
1
[LLVMdev] LLVM Source-to-Source transformation
Hi, I plan to use LLVM for some compiler transformation. My requirement is that I require a source to source transformation. I need to parse the given program and look for loops. Then I need to create another source file where I can use this source information like the iteration bounds and the loop body into the new file. I was looking at the LoopExtract pass in LLVM passes. However, it enables
2012 Jan 07
2
colouring a table, data.frame or matrix in an interactive R session
Hi everybody, as I am dealing with complex confusion matrices, I wonder whether there might be a way to colour text/tabular data in R. I.e. imagine highlighting the true positive values or certain classes in a table. I know how to colour text in graphical output as well as how to sweave or odfWeave coloured tables. But is there a way to do it directly in an interactive R session? Of course I
2012 Mar 03
3
percentile of a given value: is there a "reverse" quantile function?
Dear all, I am familiar with obtaining the value corresponding to a chosen probability via the quantile function. Now I am facing the opposite problem I have a value an want to know it's corresponding percentile in the distribution. So is there a function for this as well? Thank you for your support in advance, Felix
2008 Aug 22
3
simple generation of artificial data with defined features
Dear R-colleagues, I am quite a newbie to R fighting my stupidity to solve a probably quite simple problem of generating artificial data with defined features. I am conducting a study of inter-observer-agreement in child-bronchoscopy. One of the most important measures is Kappa according to Fleiss, which is very comfortable available in R through the irr-package. Unfortunately medical doctors
2011 Aug 16
1
how to sort the levels of a table
Dear colleagues, I have really heavy problems in sorting the results of a table according to certain features of the levels in the table. Prerequisites: It all starts with a fairly simple data set, which stores observations of 21 observers (horizontally from 1 to 21; 21 is reference/goldstandard) who diagnosed 42 videos (vertically from 1 to 42). See dump of R-object "input" below in
2011 Dec 29
2
sorting a data.frame (df) by a vector (which is not contained in the df) - unexpected behaviour of match and factor
Dear R colleagues, consider my data.frame named "df" with 3 columns - being level, prevalence and sensitivity - and 7 rows of data (see dump below). df <- structure(list(level = structure(1:7, .Label = c("0", "1", "10", "100", "1010", "11", "110"), class = "factor"), prevalence = structure(c(4L, 2L, 3L,
2019 Sep 06
2
Cambiar el nombre de las variables de forma automática
Buenas tardes. Tengo una base de datos con 3200 variables. El nombre de todas ellas tiene un punto. Por ej., Canis.aureus. ¿Es posible cambiar ese punto por un espacio, en todas ellas, de forma automática? Esa quedaría así: Canis aureus Gracias [[alternative HTML version deleted]]
2018 Feb 21
4
TableGen: spring cleaning, new features for "functional programming"
Hi Artem, Thank you for your encouraging reply :) I have now cleaned up the first batch of changes and put them on Phabricator here: https://reviews.llvm.org/D43552 I've tried to keep individual changes small, and I've verified with `git rebase -x` that the build is good after each change. This first batch does not cause any changes in backend's generated files. [snip]>
2013 Feb 01
4
Scrapping con R
Buenas tardes a todos: No sé si alguno de vosotros sabe si con R es posible buscar una palabra en una web (por ejemplo, buscar "Alicante" en www.lasprovincias.es) y que, cada vez que lo encuentre, vaya almacenado las urls en un data.frame gracias de antemano! -- Beatriz Martínez [[alternative HTML version deleted]]
2011 Jul 07
1
Working with string
Hi there, I have to extract some relevant portion from a defined string, which is a mix of numeric and character. However this has following sequence: Some String - Some numerical - "c/C" (or "p/P") - then again some set of numbers. Examples of such string is "fdahsdfcha163517253c463278643" or "fdahsdfcha163517253C463278643" or
2018 Mar 08
2
Imputar NA a SQL Server
Buenas, Quiero meter NULL en algunos valores al hacer un insert en una base ded datos SQL Server, pero no me reconoce NA, por lo que no se como meterlos... ?Alguno sabe como podria hacerse? La opci?n de no meter el valor no es v?lida porque tengo que meter varias columans y los NA se pueden dar en cualqueira de ellas... Gracias Jes?s [[alternative HTML version deleted]]
2011 Mar 04
2
sum of digits or how to slice a number into its digits
Dear R colleagues, I face a seemingly simple problem I couldn't find a solution for myself so far: I have to sum the digits of numbers. Example: 1010 ->2 100100110 -> 4 Unfortunately there seems not to be a function for this task. So my idea was to use sum(x) for it. But I did not figure out how to slice a number to a vector of its digits. Example (continued from above): 1010 ->
2018 Mar 14
0
TableGen: spring cleaning, new features for "functional programming"
Nicolai, I want to say huge thank you for your improvements to tablegen. While it's still far from perfect, I now have a hope that one day I'll be able to *just write* something in tablegen, as opposed to constantly struggling to trick tablegen into doing what I need it to do. Thank you. --Artem On Wed, Feb 21, 2018 at 2:48 AM Nicolai Hähnle <nhaehnle at gmail.com> wrote: >
2018 Feb 20
0
TableGen: spring cleaning, new features for "functional programming"
On Mon, Feb 19, 2018 at 11:26 AM Nicolai Hähnle <nhaehnle at gmail.com> wrote: > Hi all, > > While working on some features for the AMDGPU backend -- specifically, > explicit address components for image intrinsics, which involves > generating both > > (a) a lot of intrinsics with different but somewhat regular parameter > types, and > > (b) the patterns to
2015 Oct 08
2
Uso comodín
Hola, Si quieres cambiar todas las ocurrencias sería "*str_replace_all()*" de esa misma librería (stringr). Si no quieres usarla por cualquier motivo, puedes hacer lo mismo con la función "*gsub()*" que está en el paquete "base" (instalada por defecto en R). Gracias, Calos Ortega www.qualityexcellence.es El 8 de octubre de 2015, 11:58, Francisco Rodríguez
2018 Mar 09
2
Imputar NA a SQL Server
No , lo mete como string... Obtener Outlook para Android<https://aka.ms/ghei36> ________________________________ From: Javier Marcuzzi <javier.ruben.marcuzzi en gmail.com> Sent: Friday, March 9, 2018 3:47:46 AM To: Jes?s Para Fern?ndez Cc: Lista R Subject: Re: [R-es] Imputar NA a SQL Server Estimado Jes?s Para Fern?ndez Pruebe lo siguiente: str_replace_all(values,
2018 Feb 19
4
TableGen: spring cleaning, new features for "functional programming"
Hi all, While working on some features for the AMDGPU backend -- specifically, explicit address components for image intrinsics, which involves generating both (a) a lot of intrinsics with different but somewhat regular parameter types, and (b) the patterns to select instructions for those intrinsics -- I got fed up with a lot of the TableGen bugs and limitations and set out to fix things.
2009 Jan 23
2
can't load rJava in R 2.8.1 on Windows XP
Dear community, unfortunately I did not manage load the rJava package receiving the following error-message: > library("rJava") Error in inDL(x, as.logical(local), as.logical(now), ...) : kann shared library 'C:/Programme/R/2.8.1/library/rJava/libs/rJava.dll' nicht laden: LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Error : .onLoad in
2009 Jan 23
2
can't load rJava in R 2.8.1 on Windows XP
Dear community, unfortunately I did not manage load the rJava package receiving the following error-message: > library("rJava") Error in inDL(x, as.logical(local), as.logical(now), ...) : kann shared library 'C:/Programme/R/2.8.1/library/rJava/libs/rJava.dll' nicht laden: LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Error : .onLoad in
2012 Mar 03
2
contour for plotting confidence interval on scatter plot of bivariate normal distribution
Dear all, I created a bivariate normal distribution: set.seed(138813) n<-100 x<-rnorm(n); y<-rnorm(n) and plotted a scatterplot of it: plot(x,y) Now I'd like to add the 2D-standard deviation. I found a thread regarding plotting arbitrary confidence boundaries from Pascal H?nggi http://www.mail-archive.com/r-help at r-project.org/msg24013.html which cites the even older thread