Merging multiple pdf files into single pdf using unix command [closed] - unix

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to merge multiple pdf file into single pdf file using unix command.Could someone provide me a solution.

The Poppler folks have produced a pdfunite utility which should do what you want.
In Ubuntu (and possibly other Unixy systems) it is in the poppler-utils package.
You run it with pdfunite file1.pdf file2.pdf ... combinedfile.pdf.
So if, for instance, you had a whole lot of files named file01.pdf, file02.pdf, file03.pdf, ... and wanted to merge them all, pdfunite file?? combined.pdf from the command line should do the job.

Related

APA descriptive table in R [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
This post was edited and submitted for review 6 days ago and failed to reopen the post:
Needs more focus Update the question so it focuses on one problem only by editing this post.
Improve this question
I want to make a descriptive table in an APA format using R and import it to Word.
I know packages like rempsyc or apaTables which for statistic analyses, but I can't find a function to quickly create a simple descriptive table with frequencies, percentages, mean, and s.d. (categorical and numeric variables accordingly). For example a table including age, gender, income and education years and level variables.
What is the code for this, including importing the table into a Word format? (a non-APA table format is also ok).

Is it possible to create an Excel file with R? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
General question: is there an R package out there that creates an Excel file? Or saves data frames as excel files? Or is it only possible to write files that already exist in a specific directory? If it is possible to create new Excel files, is there also a possibility to create multiple Excel sheets in that file?
Thank you for answering!
I believe the package openxlsx is the most popular package to do this.
Example:
library(openxlsx)
write.xlsx(iris, file = "writeXLSX1.xlsx")
And yes, you can also add multiple sheets. See a nice introduction here.

copy and paste data frame from R into EXCEL [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am using windows 10 on a DELL laptop. I previously could use the shortcut copy option (Ctrl + C) to copy data frame directly into excel from R using the paste option (Ctrl + V). However, upon a recent trial, the data does not show up in excel. This is not the case when I copy a text from R studio and paste it in either excel or word.
What could be accounting for this?
Thanks in advance for the help.
Would it not be easier to save the data frame as a CSV file?
write.csv(df, file="df.csv")
Which saves to your directory.

Extract table data from PDF that is formatted as picture [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am trying to extract the data in the tables that start on p.52 of this document (a report from FAA).
The problem is that the tables are included as pictures. Any chance I can get some pointers on how to do that without doing it manually?
I have tried converting it to text using Adobe's OCR function, and I have also tried using the extract_tables function in R's tabulized package.
I could of course do this manually, but it would be good to know if there is a more efficient way of doing it.
It's possible, however its accuracy depends on the image. I always use grayscale images. Here an example of available tools. In your case, I'd suggest you take some screenshots of the tables and use the OCRFeeder to compare the results from GOCR and Tesseract.
sudo apt-get install gocr tesseract-ocr ocrfeeder
ocrfeeder -i image.jpg
After some manual checks, you can import this file in LibreOffice Calc, save it as 'csv', and import in R.

Ignoring escape sequences and other characters in UNIX redirection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I'm redirecting console output to a file, and getting [?25h and [?25l mixed in with my regular output. I've looked online and apparently they are the sequence characters for cnorm and civis, whatever those are. Is there any way to suppress these in the output?
One thing you might try is to set the TERM environment variable to something
that doesn't support those features, for example with a Bash command like this:
env TERM=dumb yourcmd > yourfile
(Where yourcmd is the program whose output you'd like to redirect to output file yourfile)
For other shells, you might have to do something more like
setenv TERM dumb
yourcmd > yourfile
I ended up piping through sed. Jim's info is still very helpful, though. I used this command:
sed 's/\[?25[hl]//'
Incidentally, it catches [?25h and [?25l, but not when they're in succession ([?25h[?25l). Any suggestions for that?

Resources