Re: [Rd] R-extension in unix system -- help to locate header files

2008-04-18 Thread Prof Brian Ripley
I suggested you ask your 'unix' advisor for help. This is *way* off topic for an R forum. On Fri, 18 Apr 2008, Kyeongmi Cheon wrote: > > > Thank you for your reply. I'm really new to this unix system and let me ask > one more > time to make sure if I understand it right. > > So I do it this way

Re: [Rd] R-extension in unix system -- help to locate header files

2008-04-18 Thread Simon Urbanek
On Apr 18, 2008, at 11:49 AM, Kyeongmi Cheon wrote: > Thank you for your reply. I'm really new to this unix system and let > me ask > one more > time to make sure if I understand it right. > > So I do it this way? > 1. Change my codes to like below: > #include > #include > #include > #includ

Re: [Rd] R-extension in unix system -- help to locate header files

2008-04-18 Thread Kyeongmi Cheon
Thank you for your reply. I'm really new to this unix system and let me ask one more time to make sure if I understand it right. So I do it this way? 1. Change my codes to like below: #include #include #include #include #include #include 2. and at the command line, set path =

Re: [Rd] R-extension in unix system -- help to locate header files

2008-04-17 Thread Prof Brian Ripley
You should never give full paths in #include statements. The search paths for include ('header') files are set by the compiler and supplemented by -I flags on the command line. If your C compiler is unable to find something is badly wrong, and you need to ask your 'unix' advisor for help. (B