Skip to content

scan() Bug?

4 messages · Greg Riddick, Yun-Fang Juan, Brian Ripley

#
Thanks,

Right, I can see why sep="\n" might grab the entire "\13\10"  but it seems
like sep="\10" should not strip the "\13" also.

I need to read in this file (PDF file) and create a list of lines defined by
the "\10" delimiter.
Any suggestions how I could use ReadBin to do that?

            
<r-help at stat.math.ethz.ch>
#
On Thu, 22 Jan 2004, Greg Riddick wrote:

            
Why do you claim so?  Text mode is *documented* to use any of CR, CRLF or
LF as the line delimiter.  Please don't keep telling us R `should not' do 
things that are fully intentional and documented.
R is not really set up to deal with bytes in binary files (and a PDF file 
*is* a binary file).  You can however just read in the whole file and 
split it using strsplit, for example.

  
    
#
Hi,
After fitting with lm, I want to get the 95 % confidence intervals of  the
expected predicted value.
I know in S-plus I can use pointwise() to get the confidence intervals .
But in R, I couldn't find such a function.
Is there any R package available for such functionalities.

Please advise.


thanks,


Yun-Fang
#
On Thu, 22 Jan 2004, Yun-Fang Juan wrote:

            
Of the predicted expected value, I assume?
No, but predict() in R does this for you.  See ?predict.lm .