[R] Mutate issue help needed

Jeff Newmiller
Tue, 17 Dec 2024 16:50:50 -0000

Posting Error. OP sent HTML email which by default  includes a backup text
version with "helpful" marks where formatting was in the original, and
the mailing list deleted the HTML (per policy stated in the posting guide linked
at the bottom of every email) which effectively leaves the mailing list
recipients guessing as to what was originally sent.

Correct configuration of OPs email client (sometimes required for each and every
email) will send plain text which doesn't support formatting but at least
the recipient and sender would be looking at the same text. We don't know
what email client they are using and it is off-topic to discuss specific details
of email client software on this mailing list.

On December 17, 2024 8:31:28 AM PST, CALUM POLWART <polc1410 at gmail.com>
wrote:
>Am I being "thick" here
>..
>
>mutate(data, *# text
>
>Is interpretated as mutate (data, *
>
>The star is the character...
>
>(Data is the line above being piped)
>
>Why have the comments been *'d?. Is that the source error or a posting
>error here?
>
>On Tue, 17 Dec 2024, 14:57 Ivan Krylov via R-help, <r-help at
r-project.org>
>wrote:
>
>> ? Tue, 17 Dec 2024 06:44:50 -0700
>> Neotropical bat risk assessments <neotropical.bats at gmail.com>
?????:
>>
>> > fname <- "Buzz.txt"
>>
>> > All<- fname
>>
>> I think the code needs a call to read.table() or another function to
>> read your data here. 'All' is still a string containing the
name of the
>> file, not its contents.
>>
>> > All %>%
>> > mutate(*#convert Date from chr to Date*
>>
>> This call expects 'All' to contain a data.frame-like object,
not a file
>> name.
>>
>> HTML-based bold text doesn't work on this mailing list, so to make
it
>> easier for other people to copy & paste executable code from your
>> messages, I would recommend composing in plain text:
>> https://stat.ethz.ch/pipermail/r-help/2024-December/480371.html
>>
>> --
>> Best regards,
>> Ivan
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> https://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
https://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

--
Sent from my phone. Please excuse my brevity.