[R] Why .Diag and .asSparse are not accessible in R sessions?
'.Diag' and '.asSparse' are defined in contrast.R. I'm wondering why I don't see them in my R session. Is it because that they start with '.'? __ R-help@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.
Re: [R] Why .Diag and .asSparse are not accessible in R sessions?
Hi, They're not exported from the stats namespace, stats:::.Diag stats:::.asSparse ?::: HTH, baptiste 2009/11/29 Peng Yu pengyu...@gmail.com: '.Diag' and '.asSparse' are defined in contrast.R. I'm wondering why I don't see them in my R session. Is it because that they start with '.'? __ R-help@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. __ R-help@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.
Re: [R] Why .Diag and .asSparse are not accessible in R sessions?
How to control what functions/classes are exported to a given namespace? On Sun, Nov 29, 2009 at 3:34 PM, baptiste auguie baptiste.aug...@googlemail.com wrote: Hi, They're not exported from the stats namespace, stats:::.Diag stats:::.asSparse ?::: HTH, baptiste 2009/11/29 Peng Yu pengyu...@gmail.com: '.Diag' and '.asSparse' are defined in contrast.R. I'm wondering why I don't see them in my R session. Is it because that they start with '.'? __ R-help@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.
Re: [R] Why .Diag and .asSparse are not accessible in R sessions?
Peng Yu wrote: How to control what functions/classes are exported to a given namespace? Namespace exports are set by package authors in the NAMESPACE file of an R package. You could alter the NAMESPACE and rebuild the package yourself, but an easier way would be to just use the ::: operator to access the functions you require. -Charlie -- View this message in context: http://n4.nabble.com/Why-Diag-and-asSparse-are-not-accessible-in-R-sessions-tp930880p930936.html Sent from the R help mailing list archive at Nabble.com. __ R-help@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.