В Fri, 1 Mar 2024 10:46:53 -0500
Benjamin Tyner пишет:
> my platform info:
>
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 22.04.4 LTS
Quick things first: have you installed all the build-dependencies? apt
build-dep r-base (maybe with --install-suggests? haven't
This really is all LaTeX errors, not R errors. Both examples complain that
pdftexcmds.sty is not installed. Most "sty" files are in LaTeX packages. Each
LaTeX distribution has its own way to install packages ... but the difficulty
is usually on the same order of difficulty as installing R
В Fri, 1 Mar 2024 10:54:08 -0500
Benjamin Tyner пишет:
> > dput(letters, file = stderr())
> c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l",
> "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y",
> "z")
> Warning message:
> In dput(letters,
I see the same thing in a fresh R session
> dput(letters, file = stderr())
c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l",
"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y",
"z")
Warning message:
In dput(letters, file = stderr()) : wrote too few characters
>
Oh, wait a second. I misread your original post. Please ignore my
truly incorrect suggestion.
-- Bert
On Fri, Mar 1, 2024 at 7:57 AM Bert Gunter wrote:
>
> Here's another *incorrect* way to do it -- incorrect because it will
> not always work, unlike Iris's correct solution. But it does not
>
Here's another *incorrect* way to do it -- incorrect because it will
not always work, unlike Iris's correct solution. But it does not
require PERL type matching. The idea: separate the two vowels in the
regex by a character that you know cannot appear (if there is such)
and match it optionally,
Curious to know if this warning is expected behavior, and if so, what is
the recommended way instead:
> dput(letters, file = stderr())
c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l",
"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y",
"z")
Warning
A kind member of R-core suggested this is due to a misconfiguration on
my system, and to post it to the mailing list for troubleshooting.
When trying to build R version 4.3.3, in at least two places during the
process it gives LaTeX errors of the form:
(example 1)
you should 'make
Hi Rolf,
No it is not.
I don't know to which question did you want to respond ?
I desribed everything in my first email and attached links from SO with
pictures included, which are quite understandable.
Cheers,
Jacek
śr., 28 lut 2024 o 19:42 Jacek Kownacki napisał(a):
> Hi Rolf,
> No it is
Hi Rolf,
No it is not.
I don't know to which question did you want to respond ?
I desribed everything in my first email and attached links from SO with
pictures included, which are quite understandable.
Cheers,
Jacek
wt., 27 lut 2024 o 02:29 Rolf Turner napisał(a):
>
> I have no real idea
Hi Iris,
Thank you. Further, very nice solution.
Best,
Iago
On 01/03/2024 12:49, Iris Simmons wrote:
> Hi Iago,
>
>
> This is not a bug. It is expected. Patterns may not overlap. However, there
> is a way to get the result you want using perl:
>
> ```R
> gsub("([aeiouAEIOU])(?=[aeiouAEIOU])",
Hi Iago,
This is not a bug. It is expected. Patterns may not overlap. However, there
is a way to get the result you want using perl:
```R
gsub("([aeiouAEIOU])(?=[aeiouAEIOU])", "\\1_", "aerioue", perl = TRUE)
```
The specific change I made is called a positive lookahead, you can read
more
Hi all,
I tested next command:
gsub("([aeiouAEIOU])([aeiouAEIOU])", "\\1_\\2", "aerioue")
with the following output:
[1] "a_eri_ou_e"
So, there are two consecutive vowels where an underscore is not added.
May it be a bug? Is it expected (bug or not)? Is there any chance to get
what I want
> Berwin A Turlach
> on Wed, 28 Feb 2024 17:42:27 +0800 writes:
> On Tue, 27 Feb 2024 13:51:25 -0800 Jeff Newmiller via
> R-help wrote:
>> The fundamental data type in Matlab is a matrix... they
>> don't have vectors, they have Nx1 matrices and 1xM
>> matrices.
14 matches
Mail list logo