Dear All,

:)
The suggestion from Dr. Hansen is working properly. Thank you!
Prof. Dalgaard, thank you for pointing out about 'exactly what he said'. 
Many thanks ... to all of you!

With kind regards,
Ema



________________________________
 From: peter dalgaard <[email protected]>

Cc: Prof Brian Ripley <[email protected]>; David Winsemius 
<[email protected]>; "[email protected]" <[email protected]>; 
"[email protected]" <[email protected]> 
Sent: Tuesday, August 6, 2013 6:17 PM
Subject: Re: [R-SIG-Mac] hidden files and directories



On Aug 6, 2013, at 16:59 , Rohmatul Fajriyah wrote:

> 
> Dear All,
> 
> Apologise for late reply. I tried to clean some files from my laptop and it 
> took time.
> 
> Prof. Ripley: I already checked it and untar but it still produces the 
> .DS_Store 
> Dr. Hansen: I did it as follows: R CMD build pkgName, then R CMD install 
> pkgName_X.1.tar.gz and R CMD check pkgName.
> After the last step, the results was
>  
> NOTE: There was 1 note.
> See
>   ‘/Users/rfajriyah/Desktop/pkgName.Rcheck/00check.log’
> for details.
> 
> It because of this :
> * checking for hidden files and directories ... NOTE
> Found the following hidden files and directories:
>   .DS_Store
>   man/.DS_Store
> These were most likely included in error. See section ‘Package
> structure’ in the ‘Writing R Extensions’ manual.
> 
> The man/Rapp.history is gone now, after I deleted it manually.
> 
> I suppose, I need to know how to clean the .DS_Store from my laptop. 
> 
> Prof. Dalgaard Prof. Winsemius: if I type defaults write com.apple.Finder 
> AppleShowAllFiles TRUE in terminal session, yes, I can see the .DS_Store by 
> using ls or Finder.app.
> 
> But still don't know how to clear/remove it.

You can do it with rm in a terminal, but as I understand it, .DS_store files 
are created _by_ Finder, so it is a bit of a fight against windmills. It'll be 
there again next time you view the directory. 

The key is to do what Kasper said. Exactly what he said, not what you think he 
meant to say! I.e., 

R CMD build pkgName
R CMD check pkgName_X_Y_Z.tar.gz

I.e., do not install, build and run check on the .tar.gz file. R CMD build 
should take care of skipping the .DS_store files.


> 
> Many thanks for all your respond and suggestion.
> 
> With kind regards,
> Ema
> 
> From: peter dalgaard <[email protected]>
> To: Prof Brian Ripley <[email protected]> 
> Cc: David Winsemius <[email protected]>; "[email protected]" <
> Sent: Tuesday, August 6, 2013 2:55 PM
> Subject: Re: [R-SIG-Mac] hidden files and directories
> 
> 
> On Aug 6, 2013, at 08:06 , Prof Brian Ripley wrote:
> 
> >> 
> >> Those files would both be invisible when using the Finder.app unless you 
> >> used ls in a terminal session, but I guess you figured that out
> > 
> > invisible *by default*: it is a Finder setting.
> > 
> 
> They're trying their damndest to hide it, though. It's only settable by 
> "defaults write ..." in a Terminal. (And if you know how to do that, you 
> might as well be using "ls".) 
> 
> -- 
> Peter Dalgaard, Professor
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Email: [email protected]  Priv: [email protected]
> 
> 
> 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: [email protected]  Priv: [email protected]
        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to