[R] on parallel package.....

2023-01-08 Thread akshay kulkarni
dear members, I want to parallelize a scraping code. Is mclapply() and clusterApplyLB() similar in functionality? I read the documentation and noted that there is copious information on clusyterApplyLB(), but not much on mclapply (it just says that on Unix alikes

Re: [R] free_port returning only one port...

2023-01-08 Thread akshay kulkarni
dear Dan, Yes, i just read the documentation...Previously i was using it with RSelenium package and never got to know that the argument random defaulted to FALSE. I was just using it blindly...only now I got to know that you must set random = TRUE to get different values

Re: [R] free_port returning only one port...

2023-01-08 Thread Daniel Nordlund
On 1/8/2023 11:35 AM, akshay kulkarni wrote: Dear members, I am using free_port from the netstat package, but it is returning only one value: library(netstat) free_port() [1] 14415 This is occurring in both Linux and Windows. Previously it used to output

[R] free_port returning only one port...

2023-01-08 Thread akshay kulkarni
Dear members, I am using free_port from the netstat package, but it is returning only one value: > library(netstat) > free_port() [1] 14415 This is occurring in both Linux and Windows. Previously it used to output thousands of ports. What has gone wrong? thanking

Re: [R] getting information out of Rao test output

2023-01-08 Thread Rui Barradas
Às 18:04 de 08/01/2023, Nick Wray escreveu: Hello I'm using the Rao Spacing test from the circular package on a series of (circular) data vectors but I can't find a way of simply recording whether the null is rejected or not for each vector in the series - the test gives me an individual result

[R] getting information out of Rao test output

2023-01-08 Thread Nick Wray
Hello I'm using the Rao Spacing test from the circular package on a series of (circular) data vectors but I can't find a way of simply recording whether the null is rejected or not for each vector in the series - the test gives me an individual result but unlike with other tests in R (say

Re: [R] extracting a table from pdf file....

2023-01-08 Thread akshay kulkarni
Dear jeff, Thanks a lot Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Sunday, January 8, 2023 3:59 PM To: r-help@r-project.org ; akshay kulkarni ; R help Mailing list Subject: Re: [R] extracting a table from

Re: [R] extracting a table from pdf file....

2023-01-08 Thread Jeff Newmiller
Here is a start for two of them... PDF files are actually programs written in the Postscript language... there are a lot of ways to write a program to put marks on a page, so this mess is actually not as bad a result as you might have encountered. str(IDTpdf) DF <- IDTpdf[[1]][ -(1:2), ]

[R] extracting a table from pdf file....

2023-01-08 Thread akshay kulkarni
dear members, I am extracting a pdf table into a data frame from this URL: https://www.canmoney.in/pdf/INTRADAYLEVERAGE-20220531-latest.pdf I am using extract_table() from the tabulizer package (it is archived and have installed it from github) IDTpdf <-