[R] subsetting lists....

2018-06-18 Thread akshay kulkarni
dear members, I have list YH and index vector iuhV. I want to select iuhV[1] from YH[[1]], iuhv[2] from YH[[2]], iuhv[3] from YH[[3]]..iuhv[n] from YH[[n]]... How to do this? I searched SO and the internet but was bootless Very many thanks for your time and

[R] Fw: subsetting lists....

2018-06-18 Thread akshay kulkarni
correctionI want the method without a for loop From: akshay kulkarni Sent: Monday, June 18, 2018 4:25 PM To: R help Mailing list Subject: subsetting lists dear members, I have list YH and index vector iuhV. I want to select

[R] on execution time of a function...

2018-06-12 Thread akshay kulkarni
I ran a function in R three days ago and the execution time was about 4 minutes. I ran the same function yesterday and the execution time was more than 6:50 minutes(I aborted the function after that time). I read in the Internet that this is possible. I also came to know that software or

Re: [R] on execution time of a function...

2018-06-13 Thread akshay kulkarni
p a lot of your memory (which could involve some OS-specific tools or just > shutting down some other programs.) > > On June 12, 2018 7:36:40 PM HST, akshay kulkarni > wrote: >>I ran a function in R three days ago and the execution time was about >>4 minutes. I ran the same funct

Re: [R] parallel processing in r...

2018-07-01 Thread akshay kulkarni
and effort... Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Saturday, June 30, 2018 11:46 PM To: r-help@r-project.org; akshay kulkarni; R help Mailing list Subject: Re: [R] parallel processing in r... Use "top" at the bash prompt. Read

[R] parallel processing in r...

2018-06-30 Thread akshay kulkarni
dear members, I am using mclapply to parallelize my code. I am using Red Hat Linux in AWS. When I use mclapply, I see no speed increase. I doubt that the Linux OS is allowing fewer than the maximum number of cores to mclapply ( by default, mclapply takes all the

[R] compiling functions....

2018-06-21 Thread akshay kulkarni
dear members, I a Day Trader based in INDIA. I use R for my research. I have a function ygusa(snlq,snlcqn) which takes 208 stocks and returns 4 best stocks for the next day(snlq is the list of 208 stocks and snlcqn is their names). However, the execution time is

[R] subsetting ls() as per class...

2018-07-27 Thread akshay kulkarni
dear memebers, I am using R in AWS linux instance for my research. I want to remove certain objects from the global environment to reduce my EBS cost..for example, I want to remove all objects of class "xts", "zoo". Is there any way to automate this, instead of

Re: [R] subsetting ls() as per class...

2018-07-28 Thread akshay kulkarni
, my solution would be something like rm(list = grep("\\.NS$", ls(), value = TRUE)) But test it since I have not tested it. Peter On Fri, Jul 27, 2018 at 10:58 PM akshay kulkarni wrote: > > dear memebers, >I am using R in AWS linux instance fo

[R] inconsistency in forecast package....

2018-08-02 Thread akshay kulkarni
dear members, I am using R to do my research for Day Trading in INDIA. I have a list of 206 stocks to work with. I have extracted a parameter of a stock based on the OHLC data of the stock. It includes values both less than and greater than 1 ( It basically is a

[R] installing R in Amazon linux AMI

2018-08-07 Thread akshay kulkarni
dear members, I am using R in AWS. I am currently using RHEL AMI in ec2 instance. I want to shift to Amazon LINUX AMI to lower costs. How do you install R in Amazon lINUX AMI? I have searched the web, and , to my disappointment have not found any articles on how to

[R] RHEl Vs UBUNTU for R

2018-09-02 Thread akshay kulkarni
dear members, I am using AWS LINUX ec2 instances for running my R code. I am in a conundrum whether to use RHEL or Ubuntu. Does R run faster on Red Hat as compared to Ubuntu? What other advantages does running R have on Red Hat over Ubuntu? Very many thanks for

Re: [R] inconsistency in display of character vector....

2018-07-10 Thread akshay kulkarni
as a regular data frame? Very many thanks for your time and effort Yours sincerely, AKSHAY M KULKARNI From: Eric Berger Sent: Monday, July 9, 2018 12:15 PM To: PIKAL Petr Cc: akshay kulkarni; R help Mailing list Subject: Re: [R] inconsistency in display of character

[R] Fw: inconsistency in pbmclapply...

2018-10-16 Thread akshay kulkarni
dear members, however, "ts must have more than one observation" error is only found for the first entry of LYG1 ( LYG1[[20]], LYG1[[200]], LYG1[[1000]]..etc are all well defined! From: R-help on behalf of aksha

[R] inconsistency in pbmclapply/mclapply....

2018-10-18 Thread akshay kulkarni
dear members, I am using pbmclapply in pbmcapply package, to do parallel processing in my R function. Below is the line that is malfunctioning: > LYG1b <- pbmclapply(lygh171, FUN = auto.arima, mc.cores = detectCores()) auto.arima is a function from the "forecast"

[R] large number of scrollable histograms....

2019-01-22 Thread akshay kulkarni
dear members, I am a day trader based in INDIA. I use R for my research. I have about 200 vectors whose histograms I need to inspect. I have to compare them simultaneously. I know methods whereby you can plot multiple histograms on one screen. However, you can

Re: [R] Fw: inconsistency in nls output....

2019-03-06 Thread akshay kulkarni
: Wednesday, March 6, 2019 10:40 PM To: akshay kulkarni; R help Mailing list Subject: Re: [R] Fw: inconsistency in nls output nls() is a Model T Ford trying to drive on the Interstate. The code is quite old and uses approximations that work well when the user provides a reasonable problem

[R] problem with nlsLM function

2019-03-19 Thread akshay kulkarni
dear members, I am getting the "singular gradient error" when I use nls for a function of two variables: > formulaDH5 HM1 ~ (a + (b * ((HM2 + 0.3)^(1/2 + (A * sin(w * HM3 + a) + C) HM1 is the response variable, and HM2 and HM3 are predictors. The problem is I get the

Re: [R] Fw: problem with nlsLM function

2019-03-19 Thread akshay kulkarni
Dear duncan, Sorry to bother you with such a silly mistake I didn,t notice it! Sent: Tuesday, March 19, 2019 6:01 PM To: akshay kulkarni; R help Mailing list Subject: Re: [R] Fw: problem with nlsLM function On 19/03/2019 8:26 a.m., akshay kulkarni wrote

Re: [R] problem with nls....

2019-03-21 Thread akshay kulkarni
KULKARNI From: Ivan Krylov Sent: Thursday, March 21, 2019 9:06 PM To: r-help@r-project.org Cc: akshay kulkarni Subject: Re: [R] problem with nls One of the assumptions made by least squares method is that the residuals are independent and normally distributed

[R] securing R code....

2020-10-26 Thread akshay kulkarni
dear members, I am a stock trader. I am using R for my research. I want to service my laptop, wherein resides all my R code, which, for obvious reasons, has to be secured. I am using Windows 7 Ultimate. I cannot encrypt the R data by Bitdefender, as it encrypts the

[R] showing the complexity of r code.....

2021-08-27 Thread akshay kulkarni
dear members, I am a stock trader and a data science freelancer. I am weighing the advantages of taking a R course in coursera to show my proficiency in R in some freelancing sites. But I have already done extensive research on Stock trading and data science, using

Re: [R] coercion to an object...

2021-08-29 Thread akshay kulkarni
to over 10. Any idea to find them without resorting to help from another R expert? yours sincerely AKSHAY M KULKARNI From: Enrico Schumann Sent: Sunday, August 29, 2021 4:57 PM To: akshay kulkarni Cc: R help Mailing list ; r-help-requ...@r-project.org

Re: [R] coercion to an object...

2021-08-29 Thread akshay kulkarni
dear Duncun, Thanks a lot... From: Duncan Murdoch Sent: Sunday, August 29, 2021 5:49 PM To: akshay kulkarni ; Enrico Schumann Cc: R help Mailing list ; r-help-requ...@r-project.org Subject: Re: [R] coercion to an object... On 29/08

[R] coercion to an object...

2021-08-29 Thread akshay kulkarni
Dear members, I think the following question is rudimentary, but I couldn't find an answer in the Internet. Suppose there is an object A, and ls() lists it as "A". How do you convert this character object to the object A. i.e I want a function f such that

Re: [R] help with LDA topic modelling..

2021-12-20 Thread akshay kulkarni
Thanks a lot From: Jim Lemon Sent: Monday, December 20, 2021 1:43 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] help with LDA topic modelling.. Hi Akshay, It depends upon how the circles are calculated. If each circle encloses all

[R] help with LDA topic modelling..

2021-12-19 Thread akshay kulkarni
dear members, I am using LDA for topic modelling of news articles (topicmodels package). I am visualizing the accuracy with the LDAvis package. The visualization shows clusters as circles, probably intersecting. My question is, if a find the optimal number of topics, k,

[R] problem with RSelenium....

2021-12-18 Thread akshay kulkarni
dear members, I am using RSelenium. I have downloaded the java binary standalone server. I am running it in my windows powershell with the following command: java -jar selenium-server-standalone-4.0.0-alpha-2.jar (note that the command doesn't get finished in the

[R] doubt with boosting algorithms in caret in r

2021-12-28 Thread akshay kulkarni
dear members, I am using caret and caretEnsemble packages for my research involving machine learning. This link https://topepo.github.io/caret/train-models-by-tag.html#boosting indicates the various boosting algorithms available in the caret package. However, I know

[R] problem with switching windows in RSelenium..

2021-12-22 Thread akshay kulkarni
dear Kim, Hope you are doing well. I am Akshay, from bengaluru, INDIA. I am stock trader and am using R for my research. More specifically, I am using RSelenium to scrape news articles. I am stuck in the problem related to RSelenium. I am not able to switch windows in Rselenium

[R] visualizing CTM topic models in R...

2021-12-22 Thread akshay kulkarni
dear members, I am using topicmodels package in R to segregate some news articles related to stocks. I know that I can visualize LDA models with LDAvis package. But I have not stumbled upon any package or a base function(in the internet) to visualize the CTM model. Any

[R] help with parellel processing and RSelenium

2021-12-12 Thread akshay kulkarni
dear members, I am a stock trader based in INDIA using R for my research. I have two questions: 1. I want to send the same function with different arguments to different cores. This link in SO

Re: [R] help with parellel processing and RSelenium

2021-12-14 Thread akshay kulkarni
kulkarni ; R help Mailing list Subject: Re: [R] help with parellel processing and RSelenium Hello, Inline. �s 16:43 de 12/12/21, akshay kulkarni escreveu: > dear members, > I am a stock trader based in INDIA using R for my > research. I have two questions: >

Re: [R] SDLC methodology for R and Data science......

2022-02-15 Thread akshay kulkarni
dear ERic, Thanks for your reply. As mentioned, I will post my issue in the R devel list. Thanking you, Yours sinecerly, AKSHAY M KULKARNI From: Eric Berger Sent: Tuesday, February 15, 2022 10:26 PM To: Bert Gunter Cc: akshay kulkarni ; R help

Re: [R] SDLC methodology for R and Data science......

2022-02-15 Thread akshay kulkarni
rson). Thanks again, Yours sinecerly, AKSHAY M KULKARNI From: Richard O'Keefe Sent: Monday, February 14, 2022 5:23 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] SDLC methodology for R and Data science.. There are at least two ways to use R.

Re: [R] handling breaks in a for loop

2022-02-06 Thread akshay kulkarni
perfect I make my code. I think save () function in the body might save me, but any other faster method? Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Ebert,Timothy Aaron Sent: Monday, February 7, 2022 12:33 AM To: akshay kulkarni ; R help Mailing list

Re: [R] unbalanced design in multifactor anova....

2022-01-22 Thread akshay kulkarni
(from aov and lm) be reliable, i.e makes the correct inference about my sample? THanking You, AkshaY Kulkarni From: peter dalgaard Sent: Tuesday, January 18, 2022 6:13 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] unbalanced design

Re: [R] lag.plot showing only lines....

2023-08-28 Thread akshay kulkarni
dear Eric, Working...! thanks a lot! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Eric Berger Sent: Monday, August 28, 2023 8:37 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] lag.plot showing only lines Hi Akshay

[R] lag.plot showing only lines....

2023-08-28 Thread akshay kulkarni
Dear members, I am using the following code: lag.plot(ygrpch(OHLCData[[i]]),lags=4) But instead of dots, it is showing lines, which I don't know how to interpret. How to make it plot dots? This is working properly: lag.plot(na_interpolation(OHLCData[[i]][,4]),lags=4)

[R] biasadj = TRUE in auto.arima...

2023-08-28 Thread akshay kulkarni
dear members, I am considering whether to set biasadj = TRUE in auto.arima in forecast package. If TRUE, the mean is very nearly equal to the original data. So there is no point in doing the transformation at all... If FALSE, the point forecast is the median which is

Re: [R] byte coding compiling.....

2022-07-07 Thread akshay kulkarni
-mingw32; 2021-11-01 18:38:05 UTC; windows It says: NeedsCompilation: yes How about it? Yours sincerely, AKSHAY M KULKARNI From: Uwe Ligges Sent: Thursday, July 7, 2022 4:08 PM To: akshay kulkarni ; Bert Gunter Cc: R help Mailing list Subject: Re: [R] byte

Re: [R] inconsistency in tryCatch...

2022-06-27 Thread akshay kulkarni
Dear Richard, Thanks for the informative reply Yours sincerely, AKSHAY M KULKARNI From: Richard O'Keefe Sent: Sunday, June 26, 2022 7:26 AM To: akshay kulkarni Cc: Jeff Newmiller ; r-help@r-project.org Subject: Re: [R] inconsistency

[R] is.na with lists....

2022-07-02 Thread akshay kulkarni
Dear memebers, I have list of stock data OHLCData for 500 stocks, 15 of whom are NA's. The following is the code: require(quantmod) getOHLCData <- function(NSESym) { OHLCData1 <- list() for(i in 1:500){ OHLCData1[[i]] <- tryCatch(getSymbols(NSESym[i],

[R] printing with bothe print and cat...

2022-07-09 Thread akshay kulkarni
Dear members, I have the following code: testprint <- function() { for(i in 1:5) {for(j in 1:5) {cat(j)} print(i)} } And the output is: > testprint() 12345[1] 1 12345[1] 2 12345[1] 3 12345[1] 4 12345[1] 5 Any idea on how to remove the [1] from the output, and

Re: [R] printing with bothe print and cat...

2022-07-09 Thread akshay kulkarni
Dear David, Thanks ... Yours sinecrely, AKSHAY M KULKARNI From: David Winsemius Sent: Saturday, July 9, 2022 10:30 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] printing with bothe print and cat... If spaces needed

Re: [R] printing with bothe print and cat...

2022-07-09 Thread akshay kulkarni
Dear Tim, Many thanks... Yours sincerely AKSHAYM KULKARNI From: Ebert,Timothy Aaron Sent: Saturday, July 9, 2022 11:03 PM To: akshay kulkarni ; David Winsemius Cc: R help Mailing list Subject: RE: [R] printing with bothe print and cat

Re: [R] printing with bothe print and cat...

2022-07-10 Thread akshay kulkarni
Dear Rui, Many thanks... Yours Akshay M Kulkarni From: Rui Barradas Sent: Sunday, July 10, 2022 12:39 AM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] printing with bothe print and cat... Hello, Like this? testprint <- function() { fo

Re: [R] byte coding compiling.....

2022-07-06 Thread akshay kulkarni
ter Sent: Wednesday, July 6, 2022 10:32 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] byte coding compiling. Unlikely See here: https://www.r-bloggers.com/2017/08/how-to-make-best-use-of-the-byte-compiler-in-r/ Byte code compilation should be automatic in both cases, a

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread akshay kulkarni
Dear Bert, THanks a lot! I don't know how I escaped such a simple reasoning... Your sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Thursday, June 23, 2022 12:51 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread akshay kulkarni
Newmiller Sent: Thursday, June 23, 2022 12:53 AM To: r-help@r-project.org ; akshay kulkarni ; R help Mailing list Subject: Re: [R] inconsistency in tryCatch... You defined a function. You did not call the function. tryCatch returned the object you defined. So the interactive console printed

[R] removing dates from xts object..

2022-07-25 Thread akshay kulkarni
Dear members, I have: > head(testOHLC) HINDUNILVR.NS.Open HINDUNILVR.NS.High HINDUNILVR.NS.Low HINDUNILVR.NS.Close 2007-01-02 217.80 219.00215.45 216.40 2007-01-03 217.00 217.65

Re: [R] removing dates from xts object..

2022-07-25 Thread akshay kulkarni
ich Sent: Tuesday, July 26, 2022 1:56 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] removing dates from xts object.. This is the most straightforward and general way I can think of quickly: library(xts) data(sample_matrix) x <- as.xts(sample_matrix, dateFormat = "Da

Re: [R] removing dates from xts object..

2022-07-25 Thread akshay kulkarni
Dear Joshua, Thanks a lot... Yours sincrely, AKSHAY M KULKARNI From: Joshua Ulrich Sent: Tuesday, July 26, 2022 2:20 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] removing dates from xts object.. On Mon, Jul 25, 2022 at 3

[R] running a scraping code in parallel...

2022-07-14 Thread akshay kulkarni
Dear members, please feel free to ignore this mail if you feel that it is not about Base R. I have the following web scraping code ( i have 500 stocks to iterate over): getFirmsDates <- function() { rD <- RsDriver(browser="chrome")

Re: [R] aborting the execution of a function...

2022-07-14 Thread akshay kulkarni
un a long time and is using too many resources at a time they are needed. -Original Message- From: R-help On Behalf Of Jeff Newmiller Sent: Wednesday, July 13, 2022 3:49 PM To: r-help@r-project.org; akshay kulkarni ; R help Mailing list Subject: Re: [R] aborting the execution

Re: [R] aborting the execution of a function...

2022-07-14 Thread akshay kulkarni
Dear Bill, Many thanks .. Yours sincrely, AKSHAY M KULKARNI From: Bill Dunlap Sent: Thursday, July 14, 2022 1:28 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] aborting the execution of a function... You could write

Re: [R] inconsistency in switch statements.....

2022-09-07 Thread akshay kulkarni
to know that 2 is not a valid identifier but`2` is! Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Thursday, September 8, 2022 12:39 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in switch statements. Well

Re: [R] inconsistency in switch statements.....

2022-09-07 Thread akshay kulkarni
Dear Andrew, Its working. Thanks a lot Yours sincerely, AKSHAY M KULKARNI From: Andrew Simmons Sent: Thursday, September 8, 2022 12:08 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in switch

Re: [R] inadequacy in as.integer....

2022-09-11 Thread akshay kulkarni
...THanks anyways... Yours sincerely, AKSHAY M KULKARNI From: Ebert,Timothy Aaron Sent: Monday, September 12, 2022 12:30 AM To: akshay kulkarni ; R help Mailing list Subject: RE: inadequacy in as.integer Can you tell us why you want to do

[R] difference between script and a function....

2022-12-24 Thread akshay kulkarni
Dear members, I will be running scripts automatically in RHEL with crontab. I want to know the differences between running a script and a function. in particular: 1. An execution environment will be created for the function. what about a script? Is the

Re: [R] difference between script and a function....

2022-12-24 Thread akshay kulkarni
Dear Ivan, Thanks a lot.! Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Ivan Krylov Sent: Saturday, December 24, 2022 9:27 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] difference between script and a function

Re: [R] difference between script and a function....

2022-12-24 Thread akshay kulkarni
...but from the Linux prompt? Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Ivan Krylov Sent: Saturday, December 24, 2022 8:52 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] difference between script and a function On Sat, 24 Dec 2022 14:54

Re: [R] difference between script and a function....

2022-12-24 Thread akshay kulkarni
From: Andrew Simmons Sent: Saturday, December 24, 2022 8:18 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] difference between script and a function 1. The execution environment for a script is the global environment. Each R script run from a shell

Re: [R] error in exists.....

2022-12-28 Thread akshay kulkarni
Dear Bert, Thanks for sharing your views... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Wednesday, December 28, 2022 12:28 AM To: akshay kulkarni Cc: Sarah Goslee ; R help Mailing list Subject: Re: [R] error

Re: [R] return value of {....}

2023-01-10 Thread akshay kulkarni
, you could have used "y" ... -Original Message----- From: R-help On Behalf Of akshay kulkarni Sent: Monday, January 9, 2023 12:06 PM To: Valentin Petzel Cc: R help Mailing list Subject: Re: [R] return value of {} Dear Valentin, But why should {.

Re: [R] return value of {....}

2023-01-10 Thread akshay kulkarni
Dear Avi, THanks a lot..much of the "rationale" is explained ! Thanking you, Yours sincerely AKSHAY M KULKARNI From: avi.e.gr...@gmail.com Sent: Tuesday, January 10, 2023 10:23 PM To: 'akshay kulkarni' Cc: 'R help Mailing list' S

[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 <-

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

[R] return value of {....}

2023-01-09 Thread akshay kulkarni
Dear members, I have the following code: > TB <- {x <- 3;y <- 5} > TB [1] 5 It is consistent with the documentation: For {, the result of the last expression evaluated. This has the visibility of the last evaluation. But both x AND y are created, but the "return

Re: [R] return value of {....}

2023-01-09 Thread akshay kulkarni
Dear Andrew, Nice point. THanking you, Yours sincerely, AKSHAY M KULKARNI From: Andrew Simmons Sent: Monday, January 9, 2023 10:52 PM To: akshay kulkarni Cc: Valentin Petzel ; R help Mailing list Subject: Re: [R] return value

Re: [R] return value of {....}

2023-01-09 Thread akshay kulkarni
dear Rui, Thanks a lot Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Rui Barradas Sent: Monday, January 9, 2023 9:48 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] return value of {} �s 14:47 de 09/01/2023

Re: [R] return value of {....}

2023-01-09 Thread akshay kulkarni
___ From: Valentin Petzel Sent: Monday, January 9, 2023 9:18 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] return value of {} Hello Akshai, I think you are confusing {...} with local({...}). This one will evaluate the expression in a separate environment, returning

Re: [R] return value of {....}

2023-01-09 Thread akshay kulkarni
dear Bert, Thanks a lot... Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Monday, January 9, 2023 9:59 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] return value of {} Unless you do something

[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

[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] free_port returning only one port...

2023-01-08 Thread akshay kulkarni
across invocations... Thanks anyways... Thanking you, Yours sincerely AKSHAY M KULKARNI From: Daniel Nordlund Sent: Monday, January 9, 2023 1:35 AM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] free_port returning only one port... On 1/8/2023 11:35 AM

Re: [R] return value of {....}

2023-01-11 Thread akshay kulkarni
O'Keefe Sent: Wednesday, January 11, 2023 8:31 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] return value of {} I am more than a little puzzled by your question. In the construct {expr1; expr2; expr3} all of the expressions expr1, expr2, and expr3 are evaluated, in that order

[R] error in exists.....

2022-12-27 Thread akshay kulkarni
Dear members, I have the following code: > E <- new.env() > E$L <- list() > i <- 1 > E$L[[i]]$T1A1 <- Sys.time() > exists("T1A1", where = E$L[[i]]) Error in list2env(list(1, T1A1 = 1672161002.38743), NULL, ) : attempt to use zero-length variable name I want the

Re: [R] error in exists.....

2022-12-27 Thread akshay kulkarni
Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Sarah Goslee Sent: Tuesday, December 27, 2022 11:20 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] error in exists. Hi, I can't create the desired object using the code you provided, but if

Re: [R] error in exists.....

2022-12-27 Thread akshay kulkarni
sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Tuesday, December 27, 2022 11:39 PM To: akshay kulkarni Cc: Sarah Goslee ; R help Mailing list Subject: Re: [R] error in exists. You are confused about the list hierarchy. Perhaps this will explain: >

Re: [R] setting timezone variable permanently...

2022-12-07 Thread akshay kulkarni
directory with this command. Each time you will open R, it will run this command. https://support.posit.co/hc/en-us/articles/360047157094-Managing-R-with-Rprofile-Renviron-Rprofile-site-Renviron-site-rsession-conf-and-repos-conf Marc Le 07/12/2022 � 17:47, akshay kulkarni a �crit : > Dear memb

[R] setting timezone variable permanently...

2022-12-07 Thread akshay kulkarni
Dear members, I am setting the Time zone environment variable by this code: > Sys.setenv(TZ = "Asia/Kolkata") But I have to run it every time I open a new R session. How do I set it permanently? Thanking you, Yours sincerely, AKSHAY M KULKARNI

Re: [R] setting timezone variable permanently...

2022-12-07 Thread akshay kulkarni
: Wednesday, December 7, 2022 10:44 PM To: r-help@r-project.org ; akshay kulkarni ; R help Mailing list Subject: Re: [R] setting timezone variable permanently... Technically this is a question regarding your operating system, since environment variables are propagated by the OS creation

Re: [R] setting timezone variable permanently...

2022-12-07 Thread akshay kulkarni
Dear Jeff, thanks a lot Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Wednesday, December 7, 2022 11:03 PM To: akshay kulkarni ; r-help@r-project.org Subject: Re: [R] setting timezone variable permanently

Re: [R] remembering the state of an action in R....

2022-12-11 Thread akshay kulkarni
!= "the price Q has been breached!") { do something } ANy other method? Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Rui Barradas Sent: Sunday, December 11, 2022 10:58 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] rememberin

Re: [R] remembering the state of an action in R....

2022-12-11 Thread akshay kulkarni
Dear Rui, Thanks a lot.. Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Rui Barradas Sent: Sunday, December 11, 2022 11:27 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] remembering the state of an action in R �s 17

[R] remembering the state of an action in R....

2022-12-11 Thread akshay kulkarni
Dear members, I am a stock trader and using R for my research. I am monitoring stock prices in real time. I have the following code: > if (sock price q, breaches a certain value Q) { expr1; expr2; expr3} THe point is, expr1,expr2,expr3 should execute only once, i.e

Re: [R] netstat in R in linux...

2022-12-06 Thread akshay kulkarni
Henrik Bengtsson Sent: Tuesday, December 6, 2022 11:53 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] netstat in R in linux... What's the error?!? /Henrik On Tue, Dec 6, 2022 at 10:19 AM akshay kulkarni wrote: > > dear members, > > I am using free_port() in netstat

Re: [R] netstat in R in linux...

2022-12-06 Thread akshay kulkarni
Dear Henrik, OK thanks a lot.. thanking you, Yours sincerely, AKSHAY M KULKARNI From: Henrik Bengtsson Sent: Wednesday, December 7, 2022 12:44 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] netstat in R in linux

[R] netstat in R in linux...

2022-12-06 Thread akshay kulkarni
dear members, I am using free_port() in netstat package in R. It is working in windows but not in linux. It is throwing an error in linux. ANy help please? THanking you, Yours sincerely AKSHAY M KULKARNI [[alternative HTML version deleted]]

Re: [R] netstat in R in linux...

2022-12-06 Thread akshay kulkarni
From: Henrik Bengtsson Sent: Wednesday, December 7, 2022 12:19 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] netstat in R in linux... Okay, that means that the Linux machine where you run this on does not have the 'netstat' software installed

Re: [R] return value of {....}

2023-01-15 Thread akshay kulkarni
Dear Bill, Thanks for your reply. thanking you, Yours sincerely, AKSHAY M KULKARNI From: Bill Dunlap Sent: Friday, January 13, 2023 10:48 PM To: Valentin Petzel Cc: akshay kulkarni ; R help Mailing list Subject: Re: [R] return value

Re: [R] return value of {....}

2023-01-15 Thread akshay kulkarni
Dear valentin, Thanks for a comprehensive background THanking you, Yours sincerely, AKSHAY M KULKARNI From: Valentin Petzel Sent: Friday, January 13, 2023 4:48 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] return

Re: [R] return value of {....}

2023-01-15 Thread akshay kulkarni
From: Leonard Mada Sent: Friday, January 13, 2023 1:44 AM To: Akshay Kulkarni Cc: R-help Mailing List Subject: Re: [R] return value of {} Dear Akshay, The best response was given by Andrew. "{...}" is not a closure. This is unusual for someone used to C-type

Re: [R] return value of {....}

2023-01-15 Thread akshay kulkarni
] return value of {} > 09.01.2023 18:05:58 akshay kulkarni : > > We are living in the 21st century world, and the R-core team might,I suppose, > have a definite reason ... > Maybe compatibility reasons with S and R-versions from the 20st century? But maybe, you would have expec

[R] function doesn't exists but still runs.....

2023-01-19 Thread akshay kulkarni
dear members, I am using the RSelenium package which uses the function selenium() from the wdman package. The selenium function contains the function java_check at line 12. If I try to run it, it throws an error: > javapath <- java_check() Error in java_check() :

Re: [R] [EXTERNAL] Re: function doesn't exists but still runs..... (akshay kulkarni)

2023-01-23 Thread akshay kulkarni
Dear Jorgen, thanks a lot Thanking you, Yours sincerely Akshay M Kulkarni From: Jorgen Harmse Sent: Monday, January 23, 2023 9:31 PM To: r-help@r-project.org ; akshay kulkarni Subject: Re: [R] [EXTERNAL] Re: function doesn't exists

Re: [R] [EXTERNAL] Re: function doesn't exists but still runs..... (akshay kulkarni)

2023-01-22 Thread akshay kulkarni
the error message...Any ideas on how to do this more efficiently? THanking you, Yours sincerely, AKSHAY M KULKARNI From: Jorgen Harmse Sent: Friday, January 20, 2023 11:35 PM To: akshay kulkarni ; r-help@r-project.org ; williamwdun...@gmail.com Subject: Re

Re: [R] function doesn't exists but still runs..... (akshay kulkarni)

2023-01-22 Thread akshay kulkarni
Sent: Friday, January 20, 2023 11:29 PM To: r-help@r-project.org ; akshay kulkarni ; Jorgen Harmse ; r-help@r-project.org ; williamwdun...@gmail.com Subject: Re: [R] function doesn't exists but still runs. (akshay kulkarni) This is not a "problem" ... it is a "feature"

Re: [R] function doesn't exists but still runs.....

2023-01-20 Thread akshay kulkarni
Dear Greg, THanks for a very well pointed answer. THanking you, yours sincerely AKSHAY M KULKARNI From: Greg Snow <538...@gmail.com> Sent: Friday, January 20, 2023 10:28 PM To: akshay kulkarni Cc: R help Mailing list Subject:

  1   2   >