[R] Installing RandomForest on SuSe Linux - warnings
Liaw, Andy
andy_liaw at merck.com
Mon Dec 7 14:34:30 CET 2009
Those are the same warnings I get when I test the package (before submitting to CRAN) and have been that way for a long time. They stemmed from conditional allocation of arrays in C. gcc -wall seems to always pick on that. As far as I know, they are harmless.
Andy
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of NCS
> Sent: Friday, December 04, 2009 5:45 PM
> To: r-help at r-project.org
> Subject: [R] Installing RandomForest on SuSe Linux - warnings
>
>
>
> I installed RF on Linux OpenSuSe 11.1 and while it did
> install and did run a model I had created on Windows
> correctly, it gave me a lot of "uninitialized" warnings. I
> don't know if these are significant and so am a little
> concerned even though my model ran. Any thoughts?
>
> Thanks
>
> R version 2.10.0 (2009-10-26)
> Copyright (C) 2009 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > install.packages("randomForest")
> --- Please select a CRAN mirror for use in this session ---
> CRAN mirror
>
> 1: Argentina (Buenos Aires) 2: Australia
> 3: Austria 4: Belarus
> 5: Belgium 6: Brazil (PR)
> 7: Brazil (RJ) 8: Brazil (SP 1)
> 9: Brazil (SP 2) 10: Canada (BC)
> 11: Canada (ON) 12: Canada (QC)
> 13: Chile 14: China (Beijing 1)
> 15: China (Beijing 2) 16: China (Hong Kong)
> 17: Colombia 18: Denmark
> 19: France (Toulouse) 20: France (Lyon)
> 21: France (Paris) 22: Germany (Berlin)
> 23: Germany (Goettingen) 24: Germany (Hannover)
> 25: Germany (Muenchen) 26: Germany (Wiesbaden)
> 27: Iran 28: Ireland
> 29: Italy (Milano) 30: Italy (Padua)
> 31: Italy (Palermo) 32: Japan (Aizu)
> 33: Japan (Hyogo) 34: Japan (Tokyo)
> 35: Japan (Tsukuba) 36: Korea
> 37: Netherlands 38: New Zealand
> 39: Norway 40: Poland (Oswiecim)
> 41: Poland (Wroclaw) 42: Portugal
> 43: Russia 44: Singapore 1
> 45: Singapore 2 46: Slovakia
> 47: South Africa 48: Spain (Madrid)
> 49: Sweden 50: Switzerland
> 51: Taiwan (Taichung) 52: Taiwan (Taipeh)
> 53: Thailand 54: UK (Bristol)
> 55: UK (London) 56: USA (AZ)
> 57: USA (CA 1) 58: USA (CA 2)
> 59: USA (IA) 60: USA (MA)
> 61: USA (MD) 62: USA (MI)
> 63: USA (MO) 64: USA (NC)
> 65: USA (OH) 66: USA (PA 1)
> 67: USA (PA 2) 68: USA (TN)
> 69: USA (TX 1) 70: USA (TX 3)
> 71: USA (WA)
>
> Selection: 57
> trying URL
> 'http://cran.cnr.Berkeley.edu/src/contrib/randomForest_4.5-33.tar.gz'
> Content type 'application/x-gzip' length 71745 bytes (70 Kb)
> opened URL
> ==================================================
> downloaded 70 Kb
>
> * installing *source* package ârandomForestâ ...
> ** libs
> gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
> -fpic -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -c classTree.c -o classTree.o
> classTree.c: In function âpredictClassTreeâ:
> classTree.c:414: warning: âcbestsplitâ may be used
> uninitialized in this function
> gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
> -fpic -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -c regTree.c -o regTree.o
> regTree.c: In function âpredictRegTreeâ:
> regTree.c:294: warning: âcbestsplitâ may be used
> uninitialized in this function
> gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
> -fpic -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -c regrf.c -o regrf.o
> regrf.c: In function âregRFâ:
> regrf.c:61: warning: ânodextsâ may be used uninitialized in
> this function
> regrf.c:55: warning: âytreeâ may be used uninitialized in
> this function
> gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
> -fpic -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -c rf.c -o rf.o
> rf.c: In function âclassRFâ:
> rf.c:97: warning: âoobpairâ may be used uninitialized in this function
> rf.c:98: warning: âstrata_sizeâ may be used uninitialized in
> this function
> rf.c:98: warning: âstrata_idxâ may be used uninitialized in
> this function
> rf.c:97: warning: ânindâ may be used uninitialized in this function
> rf.c:89: warning: ânstrataâ may be used uninitialized in this function
> rf.c:92: warning: âncltsâ may be used uninitialized in this function
> gfortran -fpic -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -c rfsub.f -o rfsub.o
> gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
> -fpic -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -c rfutils.c -o rfutils.o
> gcc -std=gnu99 -shared -L/usr/local/lib64 -o randomForest.so
> classTree.o regTree.o regrf.o rf.o rfsub.o rfutils.o
> -lgfortran -lm -L/usr/lib64/R/lib -lR
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> * DONE (randomForest)
>
> The downloaded packages are in
> â/tmp/Rtmp23U5PY/downloaded_packagesâ
> Updating HTML index of packages in '.Library'
> >
>
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Notice: This e-mail message, together with any attachme...{{dropped:10}}
More information about the R-help
mailing list