Re: [R] JGR not installed. Attempting to install from CRAN...

2018-02-19 Thread Loris Bennett
Hi Jenny, Jenny Coetzee writes: > Hello > > I am new to R, and am running a programme called RDS Analyst which > uses R. When trying to open RDS i am getting the following message: > JGR not installed. Attempting to install from CRAN… > > I am not sure if the issue is a Java one or an R one… > >

[R] JGR not installed. Attempting to install from CRAN...

2018-02-19 Thread Jenny Coetzee
Hello I am new to R, and am running a programme called RDS Analyst which uses R. When trying to open RDS i am getting the following message: JGR not installed. Attempting to install from CRAN… I am not sure if the issue is a Java one or an R one… I am working off a Mac using High Sierra Any h

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Michael Hannon
Exporting to LaTeX is a good idea. Thanks, guys. On Mon, Feb 19, 2018 at 4:22 AM, stephen sefick wrote: > Yes, 'C-c C-e l l' I think, but follow the pop-up, and everything should be > ok. > > On Feb 19, 2018 07:05, "Rainer Krug" wrote: > >> >> >> > On 19 Feb 2018, at 12:25, Duncan Murdoch >

Re: [R] Putting 733 discrete categories on Y-axis in qqplot2 as they are

2018-02-19 Thread greg holly
Hi Petr; Thanks for this. I have used the following code to overcome with the problem a$Meta <- factor(a$Meta, levels=a[order(a$Superpath,decreasing=T),]$Meta) Regards, Greg On Mon, Feb 19, 2018 at 4:04 PM, PIKAL Petr wrote: > Hi > > > > When you load external file to R, character variables

Re: [R] Putting 733 discrete categories on Y-axis in qqplot2 as they are

2018-02-19 Thread PIKAL Petr
Hi When you load external file to R, character variables are converted to factors by default and alphabetically sorted. I have limited connection to internet, so I cannot find the answer, you could try it yourself. Maybe you could try not to convert vector with names to factor, which, for plott

Re: [R] Problem installing libxml2 under Homebrew

2018-02-19 Thread Jeroen Ooms
You probably have a malconfigured homebrew installation of R. On MacOS it is recommended to use the CRAN version of R https://cran.r-project.org/bin/macosx/. The homebrew version depends on gcc compilers and does not support cran binary packages. If you really want to use the homebrew R try ruling

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread stephen sefick
Yes, 'C-c C-e l l' I think, but follow the pop-up, and everything should be ok. On Feb 19, 2018 07:05, "Rainer Krug" wrote: > > > > On 19 Feb 2018, at 12:25, Duncan Murdoch > wrote: > > > > On 19/02/2018 5:47 AM, Michael Hannon wrote: > >> Thanks, Duncan. The f

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Rainer Krug
> On 19 Feb 2018, at 12:25, Duncan Murdoch > wrote: > > On 19/02/2018 5:47 AM, Michael Hannon wrote: >> Thanks, Duncan. The files in question are Emacs Org-mode files, and I >> think these are more or less isomorphic to Rmd files, but I haven't >> used Org-mode

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Duncan Murdoch
On 19/02/2018 5:47 AM, Michael Hannon wrote: Thanks, Duncan. The files in question are Emacs Org-mode files, and I think these are more or less isomorphic to Rmd files, but I haven't used Org-mode in a long time, so I think the mapping (Org-mode ==> Rmd) would be painful. If they aren't LaTeX

[R] questions regarding the svmpath package (functions svmpath and predict)

2018-02-19 Thread Francois BERENGER
Hello, I have two questions. The svmpath package provides a svmpath function: --- fit <- svmpath(xtrain, ytrain, kernel.function = radial.kernel, param.kernel = 0.8) --- 1) How to get the optimal lambda value out of this result? The svmpath package also provides a predict function: --- ytest <-

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Michael Hannon
Thanks, Duncan. The files in question are Emacs Org-mode files, and I think these are more or less isomorphic to Rmd files, but I haven't used Org-mode in a long time, so I think the mapping (Org-mode ==> Rmd) would be painful. -- Mike On Mon, Feb 19, 2018 at 1:20 AM, Duncan Murdoch wrote: > O

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Michael Hannon
Heh. Thanks, Ista, for your diplomatically-phrased suggestion :-) In fact, I *did* read the "vignettes" section of the Extensions manual, but evidently not closely enough. Upon further review, I see that one can use ".../vignettes/.install_extras" to list additional files that should be copied t

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Duncan Murdoch
On 18/02/2018 9:06 PM, Michael Hannon wrote: Greetings. The group that I work with has just started using the approach outlined in Karl Broman's handy primer: http://kbroman.org/pkg_primer/pages/vignettes.html to create vignettes for a couple of R packages. This works fine as long as we