texstudio-org/texstudio

Problem with format not holding when copy and pasting table from R

Open

#2,070 opened on Jan 21, 2022

 (2 comments) (1 reaction) (0 assignees)C++ (397 forks)auto 404
help wanted

Repository metrics

Stars
 (3,516 stars)
PR merge metrics
 (Avg merge 5h 26m) (19 merged PRs in 30d)

Description

Environment

  • TeXstudio: --> after 4.1

  • OS: Mac (m1chip)

  • TeX distribution: miktex

Problem with format not holding when copy and pasting table from R

Expected behavior: In previous versions, the format was intact when pasting a table output from R.

ex) \begin{table} \caption \label \begin{tabular} ... \end{tabular}

So I was able to easily copy and paste output from R

Actual behavior

Now the format is being ignored and line spaces are not holding up, so when I copy and paste the above R output into texstudio, it would be pasted as: \begin{table} \caption\label\begin{tabular} ...\end{tabular}

which is very annoying and makes it hard to read the table. The newest version 4.2 seems to have the same problem, any quick updates would be much appreciated!

Thanks.

Contributor guide