Re: [R] error in chol.default((value + t(value))/2) : , the leading minor of order 1 is not positive definite

2018-05-07 Thread David Winsemius
> On May 5, 2018, at 1:19 AM, Troels Ring wrote: > > Dear friends - I'm having troubles with nlme fitting a simplified model as > shown below eliciting the error > > Error in chol.default((value + t(value))/2) : > the leading minor of order 1 is not positive definite - > > I have seen the t

Re: [R] Discovering patterns in textual strings

2018-05-07 Thread Bert Gunter
You seem to be using semantics to make your choices, not merely rules-based patterns. But in any case, I cannot help. Perhaps someone else with more experience at this sort of thing or who is smarter can. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming alo

Re: [R] Discovering patterns in textual strings

2018-05-07 Thread Jeff Reichman
Bert Here are some examples of the type of text strings I’m dealing with: ??.??.??? ??.??.?? ?Torrent? Pro - Torrent App ?Torrent?-Torrent Downloader 1 Pic 8 Words - Syllables 1 Pic 8 Words - Syllables 27043_Spanish songs for children 28.android.com.alpha.horoscope 2

Re: [R] Installing required packages with an R package

2018-05-07 Thread Polychronis Kostoulas
Thanks Jeff and Bert, will look there. P. Στις Δευ, 7 Μαϊ 2018 - 22:28 ο χρήστης Bert Gunter έγραψε: > Thanks, Jeff. I stand corrected. > > -- Bert > > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along and > sticking things into it." > -- Opus (aka Ber

Re: [R] Installing required packages with an R package

2018-05-07 Thread David Winsemius
> On May 7, 2018, at 11:06 AM, Polychronis Kostoulas > wrote: > > Dear All, > I am preparing an R-package and I would like to ask how do I make it check > whether dependencies (i.e. other packages) are already installed in a > machine and if they are not installed to automatically install them

Re: [R] Installing required packages with an R package

2018-05-07 Thread Bert Gunter
Thanks, Jeff. I stand corrected. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, May 7, 2018 at 12:22 PM, Jeff Newmiller wrote: > R-package-dev

Re: [R] Installing required packages with an R package

2018-05-07 Thread Jeff Newmiller
R-package-devel is the better venue, as r-packages is only for announcements. On May 7, 2018 12:17:34 PM PDT, Bert Gunter wrote: >This is better posted on the R-packages mailing list, not here. > >Cheers, >Bert > >Bert Gunter > >"The trouble with having an open mind is that people keep coming alo

Re: [R] Installing required packages with an R package

2018-05-07 Thread Bert Gunter
This is better posted on the R-packages mailing list, not here. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, May 7, 2018 at 11:06 AM, Polyc

[R] Installing required packages with an R package

2018-05-07 Thread Polychronis Kostoulas
Dear All, I am preparing an R-package and I would like to ask how do I make it check whether dependencies (i.e. other packages) are already installed in a machine and if they are not installed to automatically install them during its installation. Thanks, Polychronis Polychronis Kostoulas

Re: [R] read.csv and Decimal places

2018-05-07 Thread Bill Poling
Terrific, thank you all for the advice, I will continue my work with tutorials and see the help details for your suggestions. WHP William H. Poling, Ph.D., MPH From: Bert Gunter [mailto:bgunter.4...@gmail.com] Sent: Monday, May 07, 2018 12:25 PM To: Richard M. Heiberger Cc: Bill Poling ; r-hel

Re: [R] read.csv and Decimal places

2018-05-07 Thread Bert Gunter
... and see also ?print.data.frame , the "digits" argument. See also ?str It might be worth your while spending time with an R tutorial or two that covers such topics, i.e. distinguishing between an object and various (S3) methods that "represent" it, such as print(), summary(), plot() etc. -- B

Re: [R] Comparing figures?

2018-05-07 Thread Martin Maechler
> Suzen, Mehmet > on Mon, 7 May 2018 15:48:57 + writes: > I suggest perceptual diff. You could write a wrapper > around it. http://pdiff.sourceforge.net In (base) R's own test ('make check-devel'), we basically use pdf(*, compress=FALSE) actually also setting 'encod

Re: [R] read.csv and Decimal places

2018-05-07 Thread Richard M. Heiberger
The stored numbers are correct. They are rounded on printing. print(RevFCast, digits=17) See ?options And scroll down to digits. On Mon, May 7, 2018 at 11:50 Bill Poling wrote: > Hi, Novice UsR here. > > I have a csv file that contains 13 columns of numeric data that have > decimal places (for

Re: [R] Comparing figures?

2018-05-07 Thread Suzen, Mehmet
I suggest perceptual diff. You could write a wrapper around it. http://pdiff.sourceforge.net On Mon, 7 May 2018 16:49 Ramiro Barrantes, wrote: > Hello, > > I am working on tests to compare figures. I have been using ImageMagick, > which creates a figure signature, and I can compare a "test" fi

[R] read.csv and Decimal places

2018-05-07 Thread Bill Poling
Hi, Novice UsR here. I have a csv file that contains 13 columns of numeric data that have decimal places (for the most part). After reading in the file RevFCast = read.csv("RevAnalysisNov2016_April2018.csv", header=TRUE, dec = ".", stringsAsFactors=FALSE) and viewing the data View(RevFCast) S

[R] Comparing figures?

2018-05-07 Thread Ramiro Barrantes
Hello, I am working on tests to compare figures. I have been using ImageMagick, which creates a figure signature, and I can compare a "test" figure signature against a saved "reference" figure signature. It seems to work pretty well. However, it is slow as it requires reading from the file s