I am new to R.
- See code below. I have a list of R codes saved in an Excel sheet (Sheet1), cells F8:F100. After extracting the code in F8:F100 into a tibble. I would like to run each of the code. How do I do so?
I tried a workaround by saving the tibble into txt file with write.csv
, but the txt file contains the row number of the tibble and the code are enclosed in ". So I can't run the txt file using source either.
- How do I remove rows in the tibble containing certain text. Eg "file100"
I am totally clueless. There isn't comprehensive explanation of Tibble on the web.
Thank you
library(readxl)
library(tabulizer)
read_excel('C:/Users/Desktop/test.xlsm', sheet='Sheet1', range = 'F8:F100',col_names=FALSE)
**Example of F8**
out<-extract_tables('C:/Users/Desktop/file1.pdf', method='stream',output='csv',outdir='C:/Users/Desktop/folder')