[R] (no subject)

2019-08-05 Thread Mangalani Makananisa
Dear all, I have been reading some documentations including Latent variable Modeling using R and I am confronted with some challenges. Could you please direction/guidance me with the following problem? If I am given continuous time series ‘quarterly data’ with three indicators (Y1, Y2 and Y3)

[R] Solution: Re: Can't install R6 in new installation of R 3.5.2

2019-08-05 Thread Barnet Wagman
The problem was not specific to R6 (and probably not to R 3.5.2). In my .RProfile,  I invoke source() on several of my *.R files that load R6.  Apparently the failed attempt to load a package prevents it from being installed. Commenting out the offending lines in .RProfile solved the problem.

[R] Time Series Latent Variable modeling in lavaan

2019-08-05 Thread Mangalani Makananisa
Dear all, I have been reading some documentations including Latent variable Modeling using R and I am confronted with some challenges. Could you please direction/guidance me with the following problem? If I am given continuous time series ‘quarterly data’ with three indicators (Y1, Y2 and Y3)

[R] Can't install R6 in new installation of R 3.5.2

2019-08-05 Thread Barnet Wagman
I've just installed R 3.5.2 (on Debian 10, Buster) and am unable to install R6. install.packages("R6"); yields Installing package into ‘/home/xxx/R/x86_64-pc-linux-gnu-library/3.5’ (as ‘lib’ is unspecified) trying URL 'https://cloud.r-project.org/src/contrib/R6_2.4.0.tar.gz' Content type

[R] Can't install R6 in new installation of R 3.5.2

2019-08-05 Thread Barnet Wagman
I've just installed R 3.5.2 (on Debian 10, Buster) and am unable to install R6. install.packages("R6"); yields Installing package into ‘/home/xxx/R/x86_64-pc-linux-gnu-library/3.5’ (as ‘lib’ is unspecified) trying URL 'https://cloud.r-project.org/src/contrib/R6_2.4.0.tar.gz'

[R] Plotting hclust() results

2019-08-05 Thread reichmanj
R Help Forum I have output from hierarchal clustering and want to plot the results using the ggplot2 function. Where I have a scatter plot with 5 lines representing the 5 clusters. I assuming I need to transform the data into three columns (like) cluster, variable, and value. Not an issue but was

[R] accuracy function from forecast package

2019-08-05 Thread Paul Bernal
Dear friends, Hope you are all doing great. Does R´s accuracy function from the forecast package performs cross-validation? Or can I say that the accuracy function does cross-validation? Best regards, Paul [[alternative HTML version deleted]]

Re: [R] Connect to Oracle database via ODBC

2019-08-05 Thread e-mail ma015k3113 via R-help
Dear Eric, thanks-much appreciated. Kind regards Ahson > On 05 August 2019 at 13:19 Eric Berger wrote: > > Hi Ahson, > Many people use R via RStudio, an IDE that has both free and non-free > versions. > RStudio has invested a lot of effort into making it easier to establish >

Re: [R] Connect to Oracle database via ODBC

2019-08-05 Thread e-mail ma015k3113 via R-help
Dear Marc, Thanks-much appreciated Kind regards Ahson > On 05 August 2019 at 12:54 Marc Schwartz wrote: > > > > > On Aug 5, 2019, at 7:03 AM, e-mail ma015k3113 via R-help > > wrote: > > > > Dear All, can anyone point me towards information for connecting to a > > Oracle instance via DSN.

Re: [R] Accessing C source files

2019-08-05 Thread Jeff Newmiller
You cannot see C source code unless you download the source code tar.gz file and extract files from it. I gave you the URL. However, you are going to have to do some self-study to make sense of it... this is not the right place to learn/teach about how to download files or how C software works.

Re: [R] Accessing C source files

2019-08-05 Thread peter dalgaard
Also, Uwe's "Accessing the sources": https://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf, p.43. It's a bit old, but I don't think massively out of date, except possibly with respect to name mangling like thee C_ prefix. -pd > On 5 Aug 2019, at 15:31 , Jeff Newmiller wrote: > > Seems like

Re: [R] Accessing C source files

2019-08-05 Thread Duncan Murdoch
On 05/08/2019 9:43 a.m., ravi via R-help wrote: Hi Jeff,Thanks for your quick answer. But I don't understand. I have installed R from the installer (I think that it is called the binary). Do you mean that I will have to do it via the source? Will I see the source code only then? Are there

Re: [R] Accessing C source files

2019-08-05 Thread ravi via R-help
Hi Jeff,Thanks for your quick answer. But I don't understand. I have installed R from the installer (I think that it is called the binary). Do you mean that I will have to do it via the source? Will I see the source code only then? Are there any other methods? In any case, it would be helpful

Re: [R] Accessing C source files

2019-08-05 Thread ravi via R-help
Hi Jeff,Thanks for your quick answer. But I don't understand. I have installed R from the installer (I think that it is called the binary). Do you mean that I will have to do it via the source? Will I see the source code only then? Are there any other methods? In any case, it would be helpful

Re: [R] Accessing C source files

2019-08-05 Thread Jeff Newmiller
Seems like you are looking in the wrong place. Did you download the source code? [1] [1] https://cran.r-project.org/ On August 5, 2019 6:18:14 AM PDT, ravi via R-help wrote: >Hi all,On looking at the source code for the integrate function, I find >that it has the following call: >wk <-

[R] Accessing C source files

2019-08-05 Thread ravi via R-help
Hi all,On looking at the source code for the integrate function, I find that it has the following call: wk <- .External(C_call_dqagi, ff, rho = environment(),             as.double(bound), inf, as.double(abs.tol), as.double(rel.tol),             limit = limit)How do I access the source code for

Re: [R] Connect to Oracle database via ODBC

2019-08-05 Thread Eric Berger
Hi Ahson, Many people use R via RStudio, an IDE that has both free and non-free versions. RStudio has invested a lot of effort into making it easier to establish connections to databases. If this sounds of interest to you, take a look at https://db.rstudio.com/ HTH, Eric On Mon, Aug 5, 2019 at

Re: [R] Connect to Oracle database via ODBC

2019-08-05 Thread Marc Schwartz via R-help
> On Aug 5, 2019, at 7:03 AM, e-mail ma015k3113 via R-help > wrote: > > Dear All, can anyone point me towards information for connecting to a Oracle > instance via DSN. I have already established a ODBC connection. > > Sorry if this is very elementary-I am just getting started with R after

[R] Connect to Oracle database via ODBC

2019-08-05 Thread e-mail ma015k3113 via R-help
Dear All, can anyone point me towards information for connecting to a Oracle instance via DSN. I have already established a ODBC connection. Sorry if this is very elementary-I am just getting started with R after using SAS for almost 2 decades. Kind regards Ahson