search for: tildes

Displaying 20 results from an estimated 563 matches for "tildes".

Did you mean: tilde
2009 Oct 14
1
using mapply to avoid loops
Hello, I would like to use mapply to avoid using a loop but for some reason, I can't seem to get it to work. I've included copies of my code below. The first set of code uses a loop (and it works fine), and the second set of code attempts to use mapply but I get a "subscript out of bounds" error. Any guidance would be greatly appreciated. Xj, Yj, and Wj are also lists, and s2,
2019 Jun 14
1
[R] Open a file which name contains a tilde
...it is defined it keeps consistent and can be passed to every function. Actually R has already a clean string datatype. But by the transition to filesystem operations the expansion takes place. In my opinion at the wrong place. And additionally there exists no quoting mechanism which allows to keep tildes unaltered. It would be better to clear distinguish between a string which is passed to the filesystem calls and some convenience expansion mechanisms. But it is like it is. For my need I created a solution which takes strings unaltered and so I can fulfil my work. And for whom who is interested...
2008 May 30
2
Including a tilde in a plotmath-type call
Suppose I have a plot plot(1:10, pch = "") And I want some text to indicate a Normal distrubition. I could do this: text(5, 6, substitute(X~~~~N(mu, sigma^2)), adj = 0) text(5.35, 6, "~", adj = 0) But that's clumsy, and depending on your plotting device, might not even look sensible. I'd prefer to be able to do it more directly and simply the way these do: text(5,
2019 Jun 07
2
[R] Open a file which name contains a tilde
> On Jun 6, 2019, at 2:04 PM, Richard O'Keefe <raoknz at gmail.com> wrote: > > How can expanding tildes anywhere but the beginning of a file name NOT be > considered a bug? > > I think that that IS what libreadline is doing if one allows a whitespace separated list of file names. As reported in R-help, https://www.mail-archive.com/r-help at r-project.org/msg254116.html path.expand se...
2014 Mar 28
3
Tilde
Buenas para todos, tengo instalado r studio en windows y mi compilador de latex es winedit. En rstudio para Rnw no me acepta la tilde directamente solo con /' como hacer que acpte la tilde en Rnw siendo q en text acpeta sin problemas? [[alternative HTML version deleted]]
2019 Jun 13
2
[R] Open a file which name contains a tilde
...> > > > With c76695 in the trunk, we now only tilde expand file names starting > > with a tilde also when using readline. > > > > Best > > -k > > > > > On 11/06/2019 4:34 p.m., William Dunlap via R-devel wrote: > > >> Note that R treats tildes in file names differently on Windows and > > Linux. > > >> On Windows, it is only replaced if it it at the beginning of the line > > and > > >> is followed by a forward or backward slash or end-of-line. On Linux > it > > is > > >> replaced n...
2006 Apr 13
1
xmkmf? problem
I am having the xmkmf problem below with todays beta, but I also am trying to use an new (PGI 6.1), so lots of other things in my setup may be wrong, and the warning may also be important. Any hints would be appreciated. Paul _____ Red Hat Enterprise Linux AS release 3 (Taroon Update 7) .... checking whether C runtime needs -D__NO_MATH_INLINES... no checking for xmkmf...
2019 Jun 08
0
[R] Open a file which name contains a tilde
...orm). > > *A* path name. The argument is a character vector. > If multiple path names are passed, they are passed > > On most builds of R *A LEADING* "~user" will be replaced... > > Nothing is said in the R documentation about *multiple* or > *non-leading* tildes being replaced. > > The actual behaviour is inconsistent with the documentation. > SOMETHING is a bug. > > It's not clear to me why this is in any way dependent on > readline. I've implemented tilde expansion several times > and always without readline. > It sound...
2019 Jun 08
0
[R] Open a file which name contains a tilde
...home directory (if defined on that platform). *A* path name. The argument is a character vector. If multiple path names are passed, they are passed On most builds of R *A LEADING* "~user" will be replaced... Nothing is said in the R documentation about *multiple* or *non-leading* tildes being replaced. The actual behaviour is inconsistent with the documentation. SOMETHING is a bug. It's not clear to me why this is in any way dependent on readline. I've implemented tilde expansion several times and always without readline. It sounds as though R might be calling tilde_exp...
2019 Jun 12
2
[R] Open a file which name contains a tilde
>>>>> Duncan Murdoch writes: With c76695 in the trunk, we now only tilde expand file names starting with a tilde also when using readline. Best -k > On 11/06/2019 4:34 p.m., William Dunlap via R-devel wrote: >> Note that R treats tildes in file names differently on Windows and Linux. >> On Windows, it is only replaced if it it at the beginning of the line and >> is followed by a forward or backward slash or end-of-line. On Linux it is >> replaced no matter where it is in the text and ~someUser will be replaced &...
2019 Jun 13
0
[R] Open a file which name contains a tilde
...695 in the trunk, we now only tilde expand file names starting >> > with a tilde also when using readline. >> > >> > Best >> > -k >> > >> > > On 11/06/2019 4:34 p.m., William Dunlap via R-devel wrote: >> > >> Note that R treats tildes in file names differently on Windows and >> > Linux. >> > >> On Windows, it is only replaced if it it at the beginning of the line >> > and >> > >> is followed by a forward or backward slash or end-of-line. On Linux >> it >> > is >&...
2019 Jun 05
6
Open a file which name contains a tilde
Hi, As I can see via path.expand a filename which contains a tilde anywhere gets automatically crippled. +> path.expand("a ~ b") [1] "a /home/user b" +> path.expand("a ~ b ~") [1] "a /home/user b /home/user" I want to open a file regardless whether its name contains any character unless 0. The unix filesystem allow the creation of such files, it
2019 Jun 05
6
Open a file which name contains a tilde
Hi, As I can see via path.expand a filename which contains a tilde anywhere gets automatically crippled. +> path.expand("a ~ b") [1] "a /home/user b" +> path.expand("a ~ b ~") [1] "a /home/user b /home/user" I want to open a file regardless whether its name contains any character unless 0. The unix filesystem allow the creation of such files, it
2019 Jun 12
0
[R] Open a file which name contains a tilde
...>>>>> Duncan Murdoch writes: > > With c76695 in the trunk, we now only tilde expand file names starting > with a tilde also when using readline. > > Best > -k > > > On 11/06/2019 4:34 p.m., William Dunlap via R-devel wrote: > >> Note that R treats tildes in file names differently on Windows and > Linux. > >> On Windows, it is only replaced if it it at the beginning of the line > and > >> is followed by a forward or backward slash or end-of-line. On Linux it > is > >> replaced no matter where it is in the text an...
2012 Jan 05
2
CentOS6 and tilde expansion
Set up NIS and autofs on this new CentOS6 box, but it seems tilde expansion no longer works in bash? [root at frodo ~]# cd ~john -bash: cd: ~john: No such file or directory [root at frodo ~]# cd /home/john [root at frodo john]# pwd /home/john [root at frodo john]# It still works in t/csh: [root at frodo ~]# /bin/csh [root at frodo ~]# cd ~john [root at frodo ~john]# pwd /home/john [root at
2019 Jun 11
3
[R] Open a file which name contains a tilde
...amount of pain for you is almost surely to just... not do that. Your filenames will be better for it anyway. There is a reason no one has complained about this before, and while I haven't run a study or anything, I strongly suspect its that "everyone" else is already on the "no tildes in filenames" bandwagon, so this behavior, even if technically a bug, has no ability to cause them problems. Best, ~G On Tue, Jun 11, 2019 at 8:25 AM Frank Schwidom <schwidom at gmx.net> wrote: > Hi, > > yes, I have seen this package and it has the same tilde expanding proble...
2009 Oct 19
4
[OT] LaTeX peculiarities in Ubuntu 9.10 beta
I am running the beta test version of Ubuntu 9.10, x86_64 on a machine and encountered some peculiarities in LaTeX called through R-devel CMD texi2pdf file.tex The tilde character in the input, which should produce a non-breaking space, is now being rendered as a tilde. Does anyone know where I could begin exploring for explanations and/or workarounds?
2017 Jun 27
2
paste strings in C
Dear R-devs, Below is a small example of what I am trying to achieve, that is trivial in R and I would like to learn how to do in C, for very large matrices: > (mymat <- matrix(c(1,0,0,2,2,1), nrow = 2)) [,1] [,2] [,3] [1,] 1 0 2 [2,] 0 2 1 And I would like to produce: [1] "a*C" "B*c" Which can be trivially done in R via something like: foo
2019 Jun 11
2
[R] Open a file which name contains a tilde
Note that R treats tildes in file names differently on Windows and Linux. On Windows, it is only replaced if it it at the beginning of the line and is followed by a forward or backward slash or end-of-line. On Linux it is replaced no matter where it is in the text and ~someUser will be replaced by someUser's home direc...
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all, First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0. Now, I''m using tildes in a template to prevent newlines from appearing but ruby/puppet is choking on them. */tmp/puppet$ cat test.erb* Line 1: Line 2 will exist if running on CentOS. <% if operatingsystem == "CentOS" ~%> Line 2: Yay, we''re running CentOS. <% end ~%> */tmp/puppet$ erb -x -...