similar to: How to substitute special characters within a data frame?

Displaying 20 results from an estimated 210 matches similar to: "How to substitute special characters within a data frame?"

2006 Jan 13
3
Can I ask for the C code inside an R function using .C?
Hello, all, It is a general question, but I couldn't find the answer elsewhere. I am using an R function using .C but don't understand one of its behaviors without the C code. I am wondering the so-called 'open source'. It doesn't include the C code together with the R function, does it? So what I want to ask is whether it is justified, possible or polite to ask for the C
2012 May 08
3
Numerical integration of a two dimensional function over a disk
Hello, there!   Basically my problem is very clear. I would like to take a (numerical) integration of a function f(x,y) which can be quite complex of x and y, over a disk (x-a)^2+(y-b)^2<= r^2 (with r constant). However, after some search in R, I just cannot find a function in R that suits my purpose. Function Integrate applies to one dimensional, and adaptIntegrate to rectangle. In my case, it
2006 Aug 09
1
minimization a quadratic form with some coef fixed and some constrained
Hello, all, I had problems with an extension to a classic optimization problem. The target is to minimize a quadratic form a'Ma with respect to vector b, where vector a=(b',-1)', i.e., a is the expand of b, and M is a symmetric matrix (positive definite if needed). One more constrain on b is b'b=1. I want to solve b given M. I tried but it seems impossible to find an analytic
2004 Aug 11
0
always NaN after some running in R, but all fine in S-plus
Hello, S-plus and R helpers,(sorry for cross-post) I wrote some simple C code for one likelihood to be optimized (using optim(MASS)). I use same function, same data, same starting points and same DLL in R and S-plus for comparison. (I compiled it with 'Rcmd SHLIB likelihood.c' and the header files of it include only R.h and math.h). While it works quite fine in S-plus, it forever returns
2013 Mar 21
0
Processed (with 1 errors): Fix broken submitters (double encoded)
Processing commands for control at bugs.debian.org: > submitter 192827 Jos? Luis Gonz?lez <jlgonzal at ya.com> Bug #192827 [xdiskusage] xdiskusage: Printing doesn't manage non-ASCII characters Changed Bug submitter to 'Jos? Luis Gonz?lez <jlgonzal at ya.com>' from 'Jos?? Luis Gonz??lez <jlgonzal at ya.com>' > submitter 208308 R?diger Kuhlmann
2006 Oct 31
0
6256083 Need a lightweight file page mapping mechanism to substitute segmap
Author: praks Repository: /hg/zfs-crypto/gate Revision: 4c3b7ab574cc73502effa96c11c293e04fd54309 Log message: 6256083 Need a lightweight file page mapping mechanism to substitute segmap 6387639 segkpm segment set to incorrect size for amd64 Files: create: usr/src/uts/common/vm/vpm.c create: usr/src/uts/common/vm/vpm.h update: usr/src/pkgdefs/SUNWhea/prototype_com update:
2013 Jan 09
1
deparse substitute
Hi, I'm writing a function that needs the input names (as characterstrings) as part of the output. With deparse(substitute( ) ) that works fine, until I replace all zeros with 0.001 (log is calculated at some time): tf <- function(input) { input[input==0] <- 0.001 ; deparse(substitute(input)) } myguess <- 42 tf(myguess) # not "myguess", but "42" Now when
2007 Aug 23
0
Lost in substitute: nlsList and nlme with dynamic formula
DeaR I am trying to use a dynamically create formula with nlsList and nlme, but I cannot get the environment of the string-generated formal to work similarly to the manually entered one. Any idea? Dieter #----- library(nlme) # Pinheiro/Bates p 280 fm1Indom.lis = nlsList(conc~SSbiexp(time,A1,lrc1,A2,lrc2), data=Indometh) nlme(fm1Indom.lis,random=pdDiag(A1+lrc1+A2~1)) # works... # Simulating
2009 Jul 03
2
RAS -- workaround/substitute?
I have an app that almost-but-not-quite works under wine. The main problem seems to be that the app announces that it's initiating login to the remote web server, but then after ten seconds says login failed. The only likely suspect I see buried among the hundreds of other fixme's is this one: fixme:ras:RasEnumConnectionsW (0x15cdd8,0x33ed00,0x33ecfc),stub! fixme:ras:RasEnumConnectionsW
2009 Mar 31
1
using "substitute" inside a legend
Hello list, I have a linear regression: mylm = lm(y~x-1) I've been reading old mail postings as well as the plotmath demo and I came up with a way to print an equation resulting from a linear regression: model = substitute(list("y"==slope%*%"x", R^2==rsq), list(slope=round(mylm$coefficients[[1]],2),rsq=round(summary(mylm)$adj.r.squared, 2))) I have four models and I
2011 Sep 14
1
substitute games with randomForest::partialPlot
I'm having trouble calling randomForest::partialPlot programmatically. It tries to use name of the (R) variable as the data column name. Example: library(randomForest) iris.rf <- randomForest(Species ~ ., data=iris, importance=TRUE, proximity=TRUE) partialPlot(iris.rf, iris, Sepal.Width) # works partialPlot(iris.rf, iris, "Sepal.Width") # works (function(var.name)
1999 Dec 14
1
"formula plotting" -> substitute pecularity
This is something between a question and a bug report. {sometimes one should first ask on R-help before sending to R-bugs....} I wanted to plot (.) a formula with "..." ## Works : e0 <- expression(T(x[1],...x[n])*", "*N[1] == 101) # works ok plot(1, main = e0) ## Now, need substitute, to replace with value of variableThis works nn <- 102 (e1 <-
2002 Jun 25
1
Using SSH as "su"-substitute
Hello everybody! I'd like to present a feature wish: using ssh as a substitue for su. Of course, if I have a forwarding agent (or the correct key) I can simply do a ssh -l <other_user> localhost but that's not really optimal - the environment gets lost as I'm newly logged in, agent forwarding has one more hop to traverse, the data is once more en/decrypted, ... So I propose
2006 Oct 26
1
simple dialplan trick I can't figure out (smdi, mwi substitute)
This is what I would like to do... exten =>7299,1,Voicemail(u8896) exten =>7299,2,Dial(zap/g1/#641299) exten =>7299,3,Hangup What I would expect to happen is... Incoming call is answered by voicemail... Voicemail app finishes and the next priority starts. This is where the problem lies... After the intial call is ended the process is ended and the voicemail notification string
2015 Dec 30
3
Substitute instruction with a jump to a library code
On Wed, Dec 30, 2015 at 2:48 AM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > Just a side note - the assembly posted is clearly ARM, not MSP430 :) Isn't MSP430 an ARM based chip? -- Rail Shafigulin Software Engineer Esencia Technologies -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Oct 28
1
NetworkManager substitute??
I'm investigating how to setup KVM so I can run VMs without having to use VirtualBox or VMware, or etc. All the HOWTOs I see tell you to disable NM. I use NM to manage VPN clients that I use for remote access to my office, among other places. How would I manage those VPN clients if I didn't use NM? I haven't found any commands that appear to be suited to that purpose. thanks! --
2016 Feb 18
0
Re: Substitute pdftk with other command
On Thu, 18 Feb 2016 16:07, Dario Lesca wrote: > Hi, I must migrate a Centos5 server on Centos7 > > On server Centos5 there is a shell procedure witch add to PDF a > timestamp like this example: > > http://i.stack.imgur.com/OBsqX.png > > with this command: > $ pdftk input.pdf stamp overlay.pdf output stamped.pdf > > Into Centos7 pdftk it is no longer allowed >
2016 Feb 18
0
Substitute pdftk with other command
On 18/02/16 17:20, Dario Lesca wrote: > > ATM there is no "ready to install" package directly for Centos 7, > but try the Centos /RHEL 6 package from there before > doing the full build circus (requires installed libgcj). > For this solution it's necessary to break some dependency: > > # rpm -ivh ./libgcj-4.4.7-16.el6.x86_64.rpm ./pdftk-2.02-1.el6.x86_64.rpm
2006 Mar 12
0
How to substitute colon `:' for another character in Maildir message files?
On Sat, 2006-03-11 at 17:05 -0500, My BSD wrote: > Need to back Maildirs to a smb share as a nightly Cron job (NFS is not > an option). > > Unfortunately, because Dovecot (1.0.beta2) adds a colon `:' to the name > of the message file, Samba (actually "mount_smbfs") truncates the file > names. As a result, files with truncated duplicate file names are >
2004 Apr 18
1
deparse(substitute(arg)) in C?
In R code, "deparse(substitute(arg))" is the usual way to construct a label for an argument. Is there an equivalent to this in C code working on an SEXP, inside a function called by .Internal()? Duncan Murdoch