Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Dear members, I came across this queer thing during my analysis: > as.integer("09098") 9098 Any idea on how to retain the "0"? Yours sincerely, AKSHAY M KULKARNI [[alternative HTML version deleted]]
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]]
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]]
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...
Dear members, The following is my code: > Stst <- 2 > switch(Stst, 1 = print("NO"), 2 = print("YES")) Error: unexpected '=' in "switch(Stst, 1 =" Why isn't it printing "YES" on to the console? many thanks in advance. Thanking you, Yours...
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...
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...
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...
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...
Dear members, I am trying to install RSelenium package in R in RHEL, but the gist of the error I am getting is: configuration failed for openssl There are also failed dependencies. Can you please help me? If this mailing...
dear members, I am using pbmclapply function to check the progress of my functions that is to be run in parallel (with function mclapply). To my amazement, I found out that pbmclapply is more than 3X faster than mclapply!!! Any...
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...
dear members, I am trying to install R in ubuntu AWS instance.... While getting help from google, I came across something called GPG key. How to get the GPG key for an AWS ubuntu instance? More over, what is a...
Dear members, I have the following code: > tryCatch(function() print("fred"), error = function(e) sum(1:3), finally = sum(1:3)) function() print("fred") The expected output from the tryCatch call should be to print "fred" to the console, and...
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...
Dear members, I have the following code and output: > TP <- 1:4 > lapply(TP,function(x){print(x);x^2}) [1] 1 [1] 2 [1] 3 [1] 4 [[1]] [1] 1 [[2]] [1] 4 [[3]] [1] 9 [[4]] [1] 16...
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...
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...
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, <environment>) : attempt to use...
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...
Can't find what you're looking for? Try searching with Google .