[R] Can R read Word fonts and comments?

David Winsemius
Sat, 02 Jul 2016 03:14:20 -0000

It?s my understanding that docx and xlsx files are zipped containers that have
their data in XML files. You should try unzipping one and examining it with a
viewer. You may then be able to use pkg:XML.

?
David.

> On Jul 1, 2016, at 3:13 PM, Bert Gunter <bgunter.4567 at gmail.com>
wrote:
>
> No, sorry -- all I would do is search.
>
> -- Bert
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip
)
>
>
> On Fri, Jul 1, 2016 at 2:33 PM, John <miaojpm at gmail.com> wrote:
>> Yes, I have done some search (e.g., tm, markdown, etc), but I can't
find
>> this function.
>> If you know any package that works for this purpose, that would be
quite
>> helpful.
>> Thanks,
>>
>> John
>>
>> 2016-06-28 16:50 GMT-07:00 Bert Gunter <bgunter.4567 at
gmail.com>:
>>>
>>> Did you try searching before posting here? -- e.g. a web search or
on
>>> rseek.org ?
>>>
>>> Cheers,
>>> Bert
>>>
>>>
>>> Bert Gunter
>>>
>>> "The trouble with having an open mind is that people keep
coming along
>>> and sticking things into it."
>>> -- Opus (aka Berkeley Breathed in his "Bloom County"
comic strip )
>>>
>>>
>>> On Tue, Jun 28, 2016 at 3:53 PM, John <miaojpm at gmail.com>
wrote:
>>>> Hi,
>>>>
>>>>   From time to time I highlight the word documents with
red/blue color
>>>> or
>>>> italic/bold fonts, and I also add comments to a file. Is there
a
>>>> package/function to let R extract the italic/bold blue/red
words and
>>>> comments from a docx/doc file?
>>>>
>>>>   I am aware that there are a few packages reading Word, but
don't know
>>>> which one is able to do it.
>>>>
>>>>   Thanks,
>>>>
>>>> John
>>>>
>>>>        [[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
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible
code.
>>
>>
>
> ______________________________________________
> 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
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.