[R] optim with upper and lower bounds

2020-08-10 Thread Roy Mendelssohn - NOAA Federal via R-help
I am running a lot of optimization problems, at the moment using 'optim' ('optim' is actually called by another program). All of the problems have variables with simple upper and lower bounds, which I can easily transform into a form that is unconstrained and solve using 'BFGS'. But I was wo

Re: [R] C stack usage 7970372 is too close to the limit

2020-08-10 Thread Jeff Newmiller
Please take this discussion elsewhere... it is off-topic here. Ivan offered options earlier in this regard. On August 10, 2020 11:14:22 AM PDT, Raj kapoor wrote: >Hi John, > >Only the particular users getting error john. Please help me > > > > >On Mon, 10 Aug 2020, 11:43 pm Raj kapoor, >wrote:

Re: [R] How Can I Build a Standalone Binary

2020-08-10 Thread Jeff Newmiller
I specifically said that there are approaches that apply container technology to user software... I generally cannot tell whether software I am running on Ubuntu is a snap container or a native binary. Windows Store offers a similar experience. Your goal of targeting multiple platforms is compli

Re: [R] C stack usage 7970372 is too close to the limit

2020-08-10 Thread Raj kapoor
Hi John, Only the particular users getting error john. Please help me On Mon, 10 Aug 2020, 11:43 pm Raj kapoor, wrote: > Hi John, > > I have 10 user in the instance, 9 user is working and access the R studio > app, but while access the 10th user it's getting stack usage limit issues, > then

Re: [R] C stack usage 7970372 is too close to the limit

2020-08-10 Thread Raj kapoor
Hi John, I have 10 user in the instance, 9 user is working and access the R studio app, but while access the 10th user it's getting stack usage limit issues, then we create the new users its working fine. On Mon, 10 Aug 2020, 10:21 pm John Harrold, wrote: > Hello Raj, > > I've gotten this type

Re: [R] C stack usage 7970372 is too close to the limit

2020-08-10 Thread John Harrold
Hello Raj, I've gotten this type of error in the past when I've done things like use while loops that didn't end. Basically, I think this means you're running out of memory. If you want more users, possibly increase the amount of ram in your machine. John On Mon, Aug 10, 2020 at 6:43 AM Raj kapo

[R] Question about PERL lookahead construct in regex's

2020-08-10 Thread Bert Gunter
Folks: Consider: > y <- "xx wt" > grep(" +(?=t)",y, perl = TRUE) integer(0) ## Unexpected. Lookahead construct does not find "t" after space ## But > grep(" +(?=.+t)",y, perl = TRUE) [1] 1 ## Expected. Given pattern for **exact** match, lookahead finds it My concern is: ?regexp says this: "Patte

Re: [R] C stack usage 7970372 is too close to the limit

2020-08-10 Thread Ivan Krylov
On Fri, 7 Aug 2020 22:25:32 +0530 Raj kapoor wrote: > I have one production instance in aws, in CentoOs linux environment, > i have 5 user to access the instance for using RStudio, In case > R-studio working 4 users running good, while we access 5th users its > getting error, Sorry, R-Studio sup

Re: [R] Add a logo on a plot

2020-08-10 Thread Ivan Krylov
On Fri, 7 Aug 2020 15:56:43 +0200 Pedro páramo wrote: > There is a way to add a photo like a free text but images on a plot, > (hist, chart trough ggplot) to add a logo or any PNG . See ?rasterImage and the example in ?png::readPNG [*]. -- Best regards, Ivan [*] png is a CRAN package, https:/

[R] C stack usage 7970372 is too close to the limit

2020-08-10 Thread Raj kapoor
Hi Team, I have one production instance in aws, in CentoOs linux environment, i have 5 user to access the instance for using RStudio, In case R-studio working 4 users running good, while we access 5th users its getting error, First issue : C stack usage 7970372 is too close to the limit Second I

[R] Add a logo on a plot

2020-08-10 Thread Pedro páramo
Hi, There is a way to add a photo like a free text but images on a plot, (hist, chart trough ggplot) to add a logo or any PNG . [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://st

Re: [R] find end of monotonic part of vector

2020-08-10 Thread PIKAL Petr
Thank you Rui The problem is that this was just a part of my data and I have many of such consecutive chunks. So far I have a solution in mind which I will try. Set all values above 900 to NA. Set all values below 600 (or 650) to NA Find parts which have at least 4 continuous values (values not