Hey all,
I'm trying to run the R essentials included QuantReg to use medians for two variables with positively skewed populations. Error returned, however, I have installed the R essentials twice. What gives?
This error is returned: SPSSINC QUANTREG DEPENDENT=GMV_365 ENTER=Transactions_365 QUANTILES = .5 /OPTIONS METHOD = PFN STDERR = RANK MISSING=LISTWISE EXECUTE=FALSE
/SAVE. Warning message: In readLines(file) : incomplete final line found on 'C:/Users/pspangler1/AppData/Local/IBM/SPSS/Statistics/21/extensions/SPSSINC_QUANTREG.R' |
Some versions of R complain if the last
line of the R source file doesn't have a terminating newline. I don't
get this message with Statistics 19 through 22, but it may be produced
in some third-digit variation in the R version. AFAIK this is harmless,
but if you want to get rid of the message, open the file SPSSINC_QUANTREG.R
in a plain text editor such as Notepad, go to the end of the last line
and press Enter and save the file.
I have added a newline to our source, so the next time we update the posted version, this problem will go away. Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: Peter Spangler <[hidden email]> To: [hidden email], Date: 09/27/2013 07:47 PM Subject: [SPSSX-L] Error in QUANTREG Sent by: "SPSSX(r) Discussion" <[hidden email]> Hey all, I'm trying to run the R essentials included QuantReg to use medians for two variables with positively skewed populations. Error returned, however, I have installed the R essentials twice. What gives? This error is returned: SPSSINC QUANTREG DEPENDENT=GMV_365 ENTER=Transactions_365 QUANTILES = .5 /OPTIONS METHOD = PFN STDERR = RANK MISSING=LISTWISE EXECUTE=FALSE /SAVE. Warning message: In readLines(file) : incomplete final line found on 'C:/Users/pspangler1/AppData/Local/IBM/SPSS/Statistics/21/extensions/SPSSINC_QUANTREG.R' |
Thank you, Jon. The error seems to prevent the loading of the file. I did reinstall the Essentials for v21. In readLines(file) : incomplete final line found on 'C:/Users/pspangler1/AppData/Local/IBM/SPSS/Statistics/21/extensions/SPSSINC_QUANTREG.R'
Error: The R quantreg package is required but could not be loaded. On Sat, Sep 28, 2013 at 5:38 AM, Jon K Peck <[hidden email]> wrote: Some versions of R complain if the last line of the R source file doesn't have a terminating newline. I don't get this message with Statistics 19 through 22, but it may be produced in some third-digit variation in the R version. AFAIK this is harmless, but if you want to get rid of the message, open the file SPSSINC_QUANTREG.R in a plain text editor such as Notepad, go to the end of the last line and press Enter and save the file. |
Free forum by Nabble | Edit this page |