[R] ts_regular....in tsbox

2024-07-27 Thread akshay kulkarni
dear members, I have a data frame which contains, among others, a date object of monthly frequency which is not regular, i.e some months are omitted, and the main variable to be forecast, among others. Its name is vesselB. I did the following code: vesselBR <- ts_re

[R] help on date objects...

2024-07-27 Thread akshay kulkarni
Dear members, WHy is the following code returning NA instead of the date? > as.Date("2022-01-02", origin = "1900-01-01", format = "%y%d%m") [1] NA Thanking you, Yours sincerely, AKSHAY M KULKARNI [[alternative HTML version deleted]] _

[R] correction.....

2024-07-27 Thread akshay kulkarni
dear members, I want to mention that I am using the neural network model in caret. I forgot to mention it in the previous mail to you people THanking you, Yours sincerely, AKSHAY M KULKARNI [[alternative HTML version deleted]] _

[R] plotting nnet function....

2024-07-27 Thread akshay kulkarni
Dear members, I am using caret for modelling my data. It is a regression problem. My question is : how to plot the final model on the actual data points? The output of the model will be a nonlinear form of the activation function; I want to plot it on the data points

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

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) I

Re: [R] time series transformation....

2023-08-14 Thread akshay kulkarni
Dear ERic, THanks a lot! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Eric Berger Sent: Monday, August 14, 2023 11:04 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] time series transformation Hi Akshay, If

Re: [R] time series transformation....

2023-08-14 Thread akshay kulkarni
st(fit1)) > plot(forecast(fit2)) HTH, Eric p.s. RJH is the author/maintainer of the forecast package On Sun, Aug 13, 2023 at 1:01 AM akshay kulkarni wrote: > > dear members, > I have a heteroscedastic time series which I want to > transform to make it homos

[R] time series transformation....

2023-08-12 Thread akshay kulkarni
dear members, I have a heteroscedastic time series which I want to transform to make it homoscedastic by a box cox transformation. I am using Otexts by RJ hyndman and George Athanopolous as my textbook. They discuss transformation and also say the fpp3 and the fable pack

Re: [R] inconsistency in mclapply.....

2023-06-20 Thread akshay kulkarni
superficial. Will reverting back to you if stuck againwith mclapply.. A million thanks again... THanking you, Yours sincerely, AKSHAY M KULKKARNI From: Ivan Krylov Sent: Sunday, June 18, 2023 12:42 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R

Re: [R] warnng to an error....

2023-06-19 Thread akshay kulkarni
Dear Martin, THanks for your exhortation! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Martin Maechler Sent: Monday, June 19, 2023 1:15 PM To: akshay kulkarni Cc: Bert Gunter ; R help Mailing list Subject: Re: [R] warnng to

Re: [R] inconsistency in mclapply.....

2023-06-17 Thread akshay kulkarni
1.4 pkgconfig_2.0.3 From: Ivan Krylov Sent: Saturday, June 10, 2023 7:50 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in mclapply. On Sat, 10 Jun 2023 13:46:12 +0000 akshay kulkarni wrote: >What if I swi

Re: [R] warnng to an error....

2023-06-17 Thread akshay kulkarni
Dear Bert, Duncan's theory is workingprobably the same as yours... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Saturday, June 17, 2023 11:28 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] w

Re: [R] warnng to an error....

2023-06-17 Thread akshay kulkarni
Dear Duncan, THankls a lot... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Duncan Murdoch Sent: Saturday, June 17, 2023 11:36 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] warnng to an error On 17/06/2023 1

Re: [R] warnng to an error....

2023-06-17 Thread akshay kulkarni
Dear members, AN update: I have changed the if clause to: if(class(x)[1] == "xts") || class(x)[2] == "zoo") {code} but am bootless. PLease help... THanking you, Yours sincerely, AKSHAY M KULKARNI From: R-help

[R] warnng to an error....

2023-06-17 Thread akshay kulkarni
Dear members, I have the following code: > FUN(OHLCDataEP[[63]]) Error in (class(x) == "xts") || (class(x) == "zoo") : 'length = 2' in coercion to 'logical(1)' > traceback() 2: ygix(x, "c") at #9 1: FUN(OHLCDataEP[[63]]) > class(OHLCDataEP[[63]]) [1] "xts" "zoo" The f

Re: [R] inconsistency in mclapply.....

2023-06-10 Thread akshay kulkarni
Dear Ivan, A million thanks for your precious time Thanking you Yours sincerely, AkshayMKulkarni From: Ivan Krylov Sent: Saturday, June 10, 2023 7:50 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in

Re: [R] inconsistency in mclapply.....

2023-06-10 Thread akshay kulkarni
:42 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in mclapply. On Sat, 10 Jun 2023 11:49:10 + akshay kulkarni wrote: > (gdb) backtrace > #0 0x7f94b6454053 in gomp_team_barrier_wait_end () from > /lib64/libgomp.so.1 > #1 0x7f9

Re: [R] inconsistency in mclapply.....

2023-06-10 Thread akshay kulkarni
, June 10, 2023 2:46 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in mclapply. On Sat, 10 Jun 2023 08:42:37 + akshay kulkarni wrote: > This is the output of top when I run function LOWp() with mclapply > also in it. it hangs: > %Cpu0 : 0.0 us

Re: [R] inconsistency in mclapply.....

2023-06-10 Thread akshay kulkarni
From: Ivan Krylov Sent: Saturday, June 10, 2023 12:54 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in mclapply. On Fri, 9 Jun 2023 21:19:11 + akshay kulkarni wrote: > debug at #26: LYG <- mclapply(LYGH, FUN = arfima, mc.cores = 2, > mc.

Re: [R] inconsistency in mclapply.....

2023-06-09 Thread akshay kulkarni
adlines are deadlines, right? THanking you, Yours sincerely, AKSHAY M KULKARNI From: Ivan Krylov Sent: Saturday, June 10, 2023 1:43 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] inconsistency in mclapply. On Fri, 9 Jun 2023 18:01:44

Re: [R] inconsistency in mclapply.....

2023-06-09 Thread akshay kulkarni
hood? THanking you,Yours sincerely,AKSHAY M KULKARNI From: R-help on behalf of akshay kulkarni Sent: Friday, June 9, 2023 11:31 PM To: R help Mailing list Subject: [R] inconsistency in mclapply. Dear members, I am using pbmcapply to

[R] inconsistency in mclapply.....

2023-06-09 Thread akshay kulkarni
Dear members, I am using pbmcapply to parellise my code. But the following code doesn't work: > LYG <- pbmclapply(LYGH,FUN = arfima,mc.cores = 2,mc.preschedule = FALSE) |

Re: [R] error in arfima...

2023-06-05 Thread akshay kulkarni
( not the r-help mail)? Will it help? Can you then pinpoint the cause? Or should I raise a bug report? If yes, how( I never raised one)? THanking you, Yours sincerely, AKSHAY M KULKARNI From: Martin Maechler Sent: Monday, June 5, 2023 3:19 PM To: akshay kulkarni

Re: [R] error in arfima...

2023-06-04 Thread akshay kulkarni
"ar" [6] "ma" "covariance.dpq" "fnormMin""sigma" "stderror.dpq" [11] "correlation.dpq" "h" "d.tol" "M" "hessian.dpq&q

[R] error in arfima...

2023-05-31 Thread akshay kulkarni
dear members, I am using arfima() from forecast package to model a time series. The following is the code: > LYGH[[202]] [1] 45.40 3.25 6.50 2.15 > arfima(LYGH[[202]]) Error in .fdcov(x, fdf$d, h, nar = nar, nma = nma, hess = hess, fdf.work = fdf$w) : NA/NaN/Inf

Re: [R] mclapply enters into an infinite loop....

2023-05-20 Thread akshay kulkarni
tion and I hope that mclapply runs properly now( if it doesn't you are my only saviour!) Many thanks for your geekish explanation. THanking you, Yours sincerely, AKSHAY M KULKARNI From: Ivan Krylov Sent: Saturday, May 20, 2023 6:00 PM To: akshay kulkarn

Re: [R] mclapply enters into an infinite loop....

2023-05-20 Thread akshay kulkarni
ay, May 18, 2023 1:08 PM To: akshay kulkarni Cc: r-help@r-project.org Subject: Re: [R] mclapply enters into an infinite loop On Wed, 17 May 2023 13:55:59 +0000 akshay kulkarni wrote: > So that means mclapply should run properly, i.e output a try class > object and exit. But it didn'

Re: [R] mclapply enters into an infinite loop....

2023-05-17 Thread akshay kulkarni
loop It does not look to me like you are providing the necessary arguments to arfima. Try making this work with lapply first... then try mclapply. On May 16, 2023 3:10:45 PM PDT, akshay kulkarni wrote: >Dear members, > I am using arfima in an mclapply constru

[R] mclapply enters into an infinite loop....

2023-05-16 Thread akshay kulkarni
Dear members, I am using arfima in an mclapply construction (from the parallel package): Browse[2]> LYG <- mclapply(LYGH, FUN = arfima, mc.cores = detectCores()) ^C Browse[2]> LYG <- mclapply(LYGH[1:10], FUN = arfima, mc.cores = detectCores()) ^C Browse[2]> LYG <- mclappl

[R] problem in arfima in forecast...

2023-04-25 Thread akshay kulkarni
Dear members, I am using the forecast package for arfima modelling. THe following is the code: > arfima(ygrpch(OHLCDataEP[[1]])) Call: arfima(y = ygrpch(OHLCDataEP[[1]])) *** Warning during (fdcov) fit: unable to compute correlation matrix; maybe change 'h' Coef

Re: [R] running a function repeatedly on error....

2023-04-19 Thread akshay kulkarni
Dear Iris, THanks a lot... Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Iris Simmons Sent: Wednesday, April 19, 2023 11:22 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] running a function repeatedly on error I

Re: [R] AIc and BIC in caret...

2023-04-19 Thread akshay kulkarni
Dear Tim, THanks a lot THanking you, Yours sincerely, AKSHAY M KULKARNI From: Ebert,Timothy Aaron Sent: Wednesday, April 19, 2023 10:59 PM To: Jeff Newmiller ; r-help@r-project.org ; akshay kulkarni ; R help Mailing list Subject: RE: [R

[R] running a function repeatedly on error....

2023-04-19 Thread akshay kulkarni
Dear members, I have a function FUN1 that downloads some data from the internet. It so happens that the function doesn't work the first time, but on the second or third attempt it works. I want to run the function repeatedly for four times if it throws an error: X <- t

Re: [R] AIc and BIC in caret...

2023-04-19 Thread akshay kulkarni
Dear Jeff, Thanks for the rpely. I will definitely have a look at the wiki link. THanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Wednesday, April 19, 2023 8:10 PM To: r-help@r-project.org ; akshay kulkarni ; R help

[R] AIc and BIC in caret...

2023-04-19 Thread akshay kulkarni
Dear members, I am doing some modelling with caret package in R. I do suppose that the package doesn't consider AIC and BIC for model selection, right? They penalise the number of prameters, but I am ready to spend a little more time and a little more money to run the mo

Re: [R] converting a character matrix into numeric....

2023-04-12 Thread akshay kulkarni
Dear Jeff, Regrets for not trying that before...never knew that % was the culprit...! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Thursday, April 13, 2023 1:08 AM To: r-help@r-project.org ; akshay kulkarni ; Rui

Re: [R] converting a character matrix into numeric....

2023-04-12 Thread akshay kulkarni
44.06" [3,] "45.82" "47.27" "47.5" "45.63" [4,] "45.62" "46.06" "46.16" "44.73" [5,] "45.05" "46.28"

[R] converting a character matrix into numeric....

2023-04-12 Thread akshay kulkarni
Dear members, I have an xts object: > head(INFYTX) INFY Historical Data INFY Historical Data.1 INFY Historical Data.2 2003-04-16 "47.26" "44.28""47.56" 2003-04-17 "46.30" "44.92""46.53" 2003-04-21 "45.

Re: [R] converting to date object...

2023-04-12 Thread akshay kulkarni
Hi Eric, THanks a lot.. Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Eric Berger Sent: Wednesday, April 12, 2023 8:20 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] converting to date object... lubridate::dmy("1

Re: [R] converting to date object...

2023-04-12 Thread akshay kulkarni
Hi Mark, Thanks a lot... Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Marc Schwartz Sent: Wednesday, April 12, 2023 8:33 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] converting to date object... Hi, You do not need

Re: [R] converting to date object...

2023-04-12 Thread akshay kulkarni
Dear Dirk, Thaks a lot... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Dirk Eddelbuettel Sent: Wednesday, April 12, 2023 8:38 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] converting to date object... That is

[R] converting to date object...

2023-04-12 Thread akshay kulkarni
dear members, I want to convert "12 APR 2023" into a Date object. I tried as_Date() from lubridate, but it is not working: > as_date("12 APR 2023") [1] NA Warning message: All formats failed to parse. No formats found. > as_date("12-APR-2023") [1] NA Warning message: A

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

2023-04-12 Thread akshay kulkarni
KARNI From: Duncan Murdoch Sent: Wednesday, April 12, 2023 5:46 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] aborting the execution of a script... This is what I get: > source("~/temp/test.R", echo = TRUE) > print(1) [1] 1 > st

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

2023-04-12 Thread akshay kulkarni
Dear Duncan, What if I use source() with echo? I am using that in RStudio. THanking you, Yours sincerely AKSHAY M KULKARNI From: Duncan Murdoch Sent: Wednesday, April 12, 2023 5:35 PM To: akshay kulkarni ; R help Mailing list Subject

[R] aborting the execution of a script...

2023-04-12 Thread akshay kulkarni
Dear members, I have a script which I source it interactively. I have the following questions: 1. If there is an error in an expression, an error message is printed, but the execution continues till the end of the script. I am sourcing with echo. Is there any way

Re: [R] can't install nser...

2023-04-09 Thread akshay kulkarni
Dear Andrew, Thanks its working... Thanking you, Yours sincerely AKSHAY M KULKARNI From: Andrew Simmons Sent: Monday, April 10, 2023 3:36 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] can't install nser... It

[R] can't install nser...

2023-04-09 Thread akshay kulkarni
Dear members, I can't install "nser" package. It is not in cran but install_version and install_github both are not working: > install_version("nser",version = "1.4.0") Downloading package from url: https://cran.rstudio.com//src/contrib/Archive/nser/nser_1.4.0.tar.gz

Re: [R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
M KULKARNI From: Jeff Newmiller Sent: Monday, April 10, 2023 12:53 AM To: akshay kulkarni ; r-help@r-project.org Subject: Re: [R] extracting pdf tables... I don't know... I have never used tabulizer (which is no longer on CRAN anyway). In general you would provide an argum

Re: [R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
s the column name. How do you make that the first row of IDT[[4]]? Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Monday, April 10, 2023 12:27 AM To: akshay kulkarni ; r-help@r-project.org Subject: Re: [R] extracting pdf tables...

Re: [R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
to decide what to do about >that. Choose the subset of dataframes where the column names are the same? >Rename columns? Omit some columns? Add missing columns filled with NA? > >On April 9, 2023 10:22:32 AM PDT, akshay kulkarni >wrote: >>Dear members, >>

[R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
Dear members, I am extracting a pdf table by the following code: > library(tabulizer) > IDT <- > extract_tables("https://www.canmoney.in/pdf/INTRADAYLEVERAGE-20220531-latest.pdf",output > = "data.frame") It returns 4 different data frames which I want to combine the

Re: [R] on lexical scoping....

2023-04-05 Thread akshay kulkarni
Dear richard, Bulls eye! thanks for your pointed reply...! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Richard O'Keefe Sent: Wednesday, April 5, 2023 10:30 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [

Re: [R] on lexical scoping....

2023-04-05 Thread akshay kulkarni
dear Bert, I could predict most of them, but,of course, you have not wasted my time! Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Wednesday, April 5, 2023 4:36 AM To: akshay kulkarni Cc: R help Mailing list Subject

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
Dear Duncan, THanks a lot..!! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Duncan Murdoch Sent: Tuesday, April 4, 2023 8:49 PM To: akshay kulkarni ; Deepayan Sarkar Cc: R help Mailing list Subject: Re: [R] on lexical scoping

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
To: akshay kulkarni ; Deepayan Sarkar Cc: R help Mailing list Subject: Re: [R] on lexical scoping You can't change the basic way R searches, but you can ask for a different kind of search. For example, to see if "x" exists, you can use exists("x") and it will d

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
Dear Ducan, Very informative! THanks a lot! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Duncan Murdoch Sent: Tuesday, April 4, 2023 8:14 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] on lexical scoping On

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
Dear Jeff, THanks a lot for the pithy reply... Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Tuesday, April 4, 2023 7:43 PM To: r-help@r-project.org ; akshay kulkarni ; R help Mailing list Subject: Re: [R] on

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
Dear Bert, THanks a lot. I will take a look at those... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Tuesday, April 4, 2023 7:48 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] on lexical scoping

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
some resources where I can find further information on lexical scoping for the code "typed" in the console (but not in a function)? THanking you, Yours sincerely, AKSHAY M KULKARNI From: Duncan Murdoch Sent: Tuesday, April 4, 2023 7:48 PM To: akshay ku

Re: [R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
HAY M KULKARNI From: Deepayan Sarkar Sent: Tuesday, April 4, 2023 7:51 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] on lexical scoping On Tue, Apr 4, 2023 at 7:26 PM akshay kulkarni mailto:akshay...@hotmail.com>> wrote: D

[R] on lexical scoping....

2023-04-04 Thread akshay kulkarni
Dear Members, I have the following code typed at the console prompt: y <- x*10 X has not been defined and the above code throws an object not found error. That is, the global environment does not contain x. Why doesn't it look further in the environment stack,

Re: [R] lexical scoping for scripts......

2023-03-19 Thread akshay kulkarni
Dear Jeff, Thanks a lot... Thanking you, Yours sincerely, Akshay m kulkarni From: Jeff Newmiller Sent: Monday, March 20, 2023 1:47 AM To: akshay kulkarni ; r-help@r-project.org ; Duncan Murdoch Subject: Re: [R] lexical scoping for scripts.. Again, the

Re: [R] lexical scoping for scripts......

2023-03-19 Thread akshay kulkarni
AY M KULKARNI From: Jeff Newmiller Sent: Monday, March 20, 2023 1:01 AM To: r-help@r-project.org ; akshay kulkarni ; Duncan Murdoch ; R help Mailing list Subject: Re: [R] lexical scoping for scripts.. What do _you_ mean when you use the term "interactive"? Because R

Re: [R] lexical scoping for scripts......

2023-03-19 Thread akshay kulkarni
dear Duncun, got the pointthanks a lot..! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Duncan Murdoch Sent: Monday, March 20, 2023 1:12 AM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] lexical scoping for

Re: [R] lexical scoping for scripts......

2023-03-19 Thread akshay kulkarni
2023 12:20 AM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] lexical scoping for scripts.. On 19/03/2023 2:33 p.m., akshay kulkarni wrote: > Dear Duncun, > thanks for the reply > > So when I run a script in the system command line by R CM

Re: [R] lexical scoping for scripts......

2023-03-19 Thread akshay kulkarni
script permanently is to save them to the disk, right? THanking you, yours sincerely, AKSHAY M KULKARNI From: Duncan Murdoch Sent: Saturday, March 18, 2023 11:49 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] lexical scoping for scripts.. On 18

[R] lexical scoping for scripts......

2023-03-18 Thread akshay kulkarni
Dear members, The documentation for source() says: Input is read and parsed from that file until the end of the file is reached, then the parsed expressions are evaluated sequentially in the chosen environment. What does this mean? I presume that any objects that ar

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 e

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

2023-01-22 Thread akshay kulkarni
iller 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 "fea

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-20 Thread akshay kulkarni
KARNI From: Jorgen Harmse Sent: Friday, January 20, 2023 9:34 PM To: r-help@r-project.org ; akshay...@hotmail.com ; williamwdun...@gmail.com Subject: Re: function doesn't exists but still runs..... (akshay kulkarni) It may help to expand a bit on Bill Dunlap's answer. I think th

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

2023-01-20 Thread akshay kulkarni
From: Bill Dunlap Sent: Friday, January 20, 2023 5:32 AM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] function doesn't exists but still runs. Look into R's scoping rules. E.g., https://bookdown.org/rdpeng/rprogdatascience/scoping-rules-of-r.html. * When a functio

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:

[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() : co

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

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

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

2023-01-15 Thread akshay kulkarni
M 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

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

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 M

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

2023-01-10 Thread akshay kulkarni
10.5 Yes, 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

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 of

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, retu

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
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] 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 val

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

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

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

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] 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 <- extract_ta

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] error in exists.....

2022-12-27 Thread akshay kulkarni
Yours 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] 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, b

[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] 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
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 will be

  1   2   >