From spvm.1017 at gmail.com Sat Jan 13 00:46:26 2018 From: spvm.1017 at gmail.com (spvm1017) Date: Fri, 12 Jan 2018 16:46:26 -0700 (MST) Subject: [datatable-help] Issues Installing psych package Message-ID: <1515800786926-0.post@n4.nabble.com> Hello, I recently upgraded R (R 3.4.3 GUI 1.70 El Capitan build) and RStudio (1.1.383) on my Macbook Pro (10.13.2), but can no longer use my normal packages - primarily the psych package. I've already tried to remove all my packages and reinstall them, but I'm still having problems. Here is the issue I encounter when I try to install psych. Any suggestions? Thanks! > install.packages('psych') Installing package into ?/Users/D10/Library/R/3.4/library? (as ?lib? is unspecified) There is a binary version available but the source version is later: binary source needs_compilation psych 1.7.3.21 1.7.8 FALSE installing the source package ?psych? trying URL 'https://cran.rstudio.com/src/contrib/psych_1.7.8.tar.gz' Content type 'application/x-gzip' length 3311758 bytes (3.2 MB) ================================================== downloaded 3.2 MB [1] "Loading custom settings from ~/.RProfile" Loading required package: carData Attaching package: ?carData? The following objects are masked from ?package:car?: Guyer, UN, Vocab lattice theme set by effectsTheme() See ?effectsTheme for details. Loading required package: lattice Loading required package: survival Loading required package: Formula Loading required package: stats Loading required package: ggplot2 Attaching package: ?Hmisc? The following objects are masked from ?package:base?: format.pval, units Loading required package: grDevices Loading required package: graphics Loading required package: utils Error in library(psych) : there is no package called ?psych? Execution halted Warning in install.packages : installation of package ?psych? had non-zero exit status The downloaded source packages are in ?/private/var/folders/d9/wmt4pnmj4lb67vn989zvzxj80000gn/T/RtmpGs7TAo/downloaded_packages? -- Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html From ellinor.gyldberg at gmail.com Tue Jan 30 15:17:01 2018 From: ellinor.gyldberg at gmail.com (ellie) Date: Tue, 30 Jan 2018 07:17:01 -0700 (MST) Subject: [datatable-help] Have monthly data, need log of the difference. How? Message-ID: <1517321821175-0.post@n4.nabble.com> So I have monthly data in an excel file, but what I need to make my calculations in the natural log of the difference. Is there a built in function in R that will let me transform my data this way, or do I need to do it in excel before importing the data to R? Thanks! -- Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html From jholtman at gmail.com Tue Jan 30 17:27:32 2018 From: jholtman at gmail.com (jim holtman) Date: Tue, 30 Jan 2018 11:27:32 -0500 Subject: [datatable-help] Have monthly data, need log of the difference. How? In-Reply-To: <1517321821175-0.post@n4.nabble.com> References: <1517321821175-0.post@n4.nabble.com> Message-ID: You can probably do it in R. Can you show an example of what you data looks like and then the type of transformation that you would like to do. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Tue, Jan 30, 2018 at 9:17 AM, ellie wrote: > So I have monthly data in an excel file, but what I need to make my > calculations in the natural log of the difference. Is there a built in > function in R that will let me transform my data this way, or do I need to > do it in excel before importing the data to R? > > Thanks! > > > > -- > Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html > _______________________________________________ > datatable-help mailing list > datatable-help at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/ > listinfo/datatable-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ellinor.gyldberg at gmail.com Wed Jan 31 15:31:52 2018 From: ellinor.gyldberg at gmail.com (ellie) Date: Wed, 31 Jan 2018 07:31:52 -0700 (MST) Subject: [datatable-help] Have monthly data, need log of the difference. How? In-Reply-To: References: <1517321821175-0.post@n4.nabble.com> Message-ID: <1517409112232-0.post@n4.nabble.com> Thank you for replying! I'll try to attach an image of some of my data, so you will see the structure. I want to run some regressions with the natural log of the difference, so I guess the first step would be to extract the change between each date? I'm almost completely new to R, and would appreciate any tips on how to proceed. -- Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html