Note that package.descripton() is deprecated in R-1.9.0. You have to use
packageDescription() instead.
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
>>> Sundar Dorai-Raj <sundar.dorai-raj at PDF.COM> 03/30/04
10:51AM >>>
You can access this from within R using
package.description("MASS")[["License"]]
package.description attempts to parse the DESCRIPTION file.
-sundar
Jason.L.Higbee at stls.frb.org wrote:> Thanks Thomas and Marc that is what I was looking for.
>
> -Jason
>
>
>
>
> The DESCRIPTION file for a package lists the license; this is also
given> in the CRAN entry for each package.
>
> -thomas
>
>
>
>
>
> Marc Schwartz <MSchwartz at MedAnalytics.com>
> 03/30/2004 09:02 AM
> Please respond to MSchwartz
>
>
> To: Jason.L.Higbee at stls.frb.org
> cc: R-Help <r-help at stat.math.ethz.ch>
> Subject: Re: [R] Where: package licenses
>
> On Tue, 2004-03-30 at 08:51, Jason.L.Higbee at stls.frb.org wrote:
>
>>R:
>>
>>This stems from my curiosity about the previous thread about a
>>request
>>for glm.nb code. The issue of package licenses was brought up and I
>>was
>>hoping for some clarification on that. Using the function license()
>>or
>>licence() gives info on the license for R, but something like
>>license(MASS) does not give info on the license for the MASS package
>>(perhaps it might be good to expand the license function in the way
>>described). A quick look on CRAN didn't yield any info on package
>>licenses either.
>
>
>
> For the CRAN add on packages (which includes the 'recommended'
> packages), each has the license information under the description.
For> example, MASS which is part of the VR bundle, is here:
>
> http://cran.r-project.org/src/contrib/PACKAGES.html#VR
>
> The information is as follows:
>
> ...
> License: GPL (version 2 or later)
> ...
>
> Some of the packages are released under other licenses or have
> restrictions on commercial use or distribution. Read each one
carefully.>
> HTH,
>
> Marc Schwartz
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html