Re: [R] R and LINGO?

2017-11-10 Thread Jan Olsen Røyland
, assume zero discount rate.) Med Vennelig Hilsen Jan Olsen R�yland [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] How to load fonts in text3d?

2017-03-28 Thread olsen
Following these pointers given by Duncan Murdoch is the key to success, at least on my system. Many thanks! olsen On 28/03/17 13:49, Duncan Murdoch wrote: > On 28/03/2017 6:39 AM, olsen wrote: >> I think I found the fly in the ointment, running the same text3d() lines >> with 'u

Re: [R] How to load fonts in text3d?

2017-03-28 Thread olsen
I think I found the fly in the ointment, running the same text3d() lines with 'useFreeType=TRUE' returns: "FreeType not supported in this build" On 28/03/17 11:05, olsen wrote: > thanks, the fonts seem to be on: >> rglFonts() > $serif > [1] "/usr/lib/R/site-library

Re: [R] How to load fonts in text3d?

2017-03-28 Thread olsen
uot; [2] "/usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf" [3] "/usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf" [4] "/usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf" On 27/03/17 20:21, Duncan Murdoch wrote: > On 27/03/2017 1:09 PM, olsen wrote: >> I'm tryi

[R] How to load fonts in text3d?

2017-03-27 Thread olsen
I'm trying to run the example given in ?text3d as follows: library(rgl) open3d() famnum <- rep(1:4, 8) family <- c("serif", "sans", "mono", "symbol")[famnum] font <- rep(rep(1:4, each = 4), 2) cex <- rep(1:2, each = 16) text3d(font, cex, famnum, text = paste(family, font), adj = 0.5, color

Re: [R] project test data into principal components of training dataset

2016-04-20 Thread olsen
For the records, a slightly hacky answer, by modifying the ggbiplot function, is provided now here: http://stackoverflow.com/questions/36603268/how-to-plot-training-and-test-validation-data-in-r-using-ggbiplot On 18/04/16 17:20, olsen wrote: > Hi there, > > I've a training dataset a

[R] project test data into principal components of training dataset

2016-04-18 Thread olsen
. Any indication how this mission can be accomplished very welcome! Thanks and greets Olsen I started a threat on stackoverflow on that issue but know relevant indications so far. http://stackoverflow.com/questions/36603268/how-to-plot-training-and-test-validation-data-in-r-using-ggbiplot ##MWE